1 # This file is generated by gyp; do not edit. 2 3 include $(CLEAR_VARS) 4 5 LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6 LOCAL_MODULE := components_visitedlink_browser_gyp 7 LOCAL_MODULE_SUFFIX := .a 8 LOCAL_MODULE_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 17 18 GYP_GENERATED_OUTPUTS := 19 20 # Make sure our deps and generated files are built first. 21 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23 LOCAL_CPP_EXTENSION := .cc 24 LOCAL_GENERATED_SOURCES := 25 26 GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28 LOCAL_SRC_FILES := \ 29 components/visitedlink/browser/visitedlink_event_listener.cc \ 30 components/visitedlink/browser/visitedlink_master.cc 31 32 33 # Flags passed to both C and C++ files. 34 MY_CFLAGS_Debug := \ 35 -fstack-protector \ 36 --param=ssp-buffer-size=4 \ 37 \ 38 -fno-exceptions \ 39 -fno-strict-aliasing \ 40 -Wall \ 41 -Wno-unused-parameter \ 42 -Wno-missing-field-initializers \ 43 -fvisibility=hidden \ 44 -pipe \ 45 -fPIC \ 46 -Wno-unused-local-typedefs \ 47 -EL \ 48 -mhard-float \ 49 -ffunction-sections \ 50 -funwind-tables \ 51 -g \ 52 -fstack-protector \ 53 -fno-short-enums \ 54 -finline-limit=64 \ 55 -Wa,--noexecstack \ 56 -U_FORTIFY_SOURCE \ 57 -Wno-extra \ 58 -Wno-ignored-qualifiers \ 59 -Wno-type-limits \ 60 -Wno-unused-but-set-variable \ 61 -Os \ 62 -g \ 63 -fdata-sections \ 64 -ffunction-sections \ 65 -fomit-frame-pointer \ 66 -funwind-tables 67 68 MY_DEFS_Debug := \ 69 '-DV8_DEPRECATION_WARNINGS' \ 70 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 71 '-D_FILE_OFFSET_BITS=64' \ 72 '-DNO_TCMALLOC' \ 73 '-DDISABLE_NACL' \ 74 '-DCHROMIUM_BUILD' \ 75 '-DUSE_LIBJPEG_TURBO=1' \ 76 '-DENABLE_WEBRTC=1' \ 77 '-DUSE_PROPRIETARY_CODECS' \ 78 '-DENABLE_BROWSER_CDMS' \ 79 '-DENABLE_CONFIGURATION_POLICY' \ 80 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 81 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 82 '-DENABLE_EGLIMAGE=1' \ 83 '-DCLD_VERSION=1' \ 84 '-DENABLE_PRINTING=1' \ 85 '-DENABLE_MANAGED_USERS=1' \ 86 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 87 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 88 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 89 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 90 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 91 '-DVIDEO_HOLE=1' \ 92 '-DMOJO_USE_SYSTEM_IMPL' \ 93 '-DSK_ENABLE_INST_COUNT=0' \ 94 '-DSK_SUPPORT_GPU=1' \ 95 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 96 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 97 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 98 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 99 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 100 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 101 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 102 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 103 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 104 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 105 '-DSK_IGNORE_ETC1_SUPPORT' \ 106 '-DSK_IGNORE_GPU_DITHER' \ 107 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 108 '-DSK_BUILD_FOR_ANDROID' \ 109 '-DSK_USE_POSIX_THREADS' \ 110 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 111 '-DUSE_OPENSSL=1' \ 112 '-DUSE_OPENSSL_CERTS=1' \ 113 '-D__STDC_CONSTANT_MACROS' \ 114 '-D__STDC_FORMAT_MACROS' \ 115 '-DANDROID' \ 116 '-D__GNU_SOURCE=1' \ 117 '-DUSE_STLPORT=1' \ 118 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 119 '-DCHROME_BUILD_ID=""' \ 120 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 121 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 122 '-D_DEBUG' 123 124 125 # Include paths placed before CFLAGS/CPPFLAGS 126 LOCAL_C_INCLUDES_Debug := \ 127 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 128 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 129 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 130 $(gyp_shared_intermediate_dir) \ 131 $(LOCAL_PATH)/skia/config \ 132 $(LOCAL_PATH)/third_party/khronos \ 133 $(LOCAL_PATH)/gpu \ 134 $(LOCAL_PATH) \ 135 $(LOCAL_PATH)/third_party/WebKit/Source \ 136 $(LOCAL_PATH)/third_party/WebKit \ 137 $(LOCAL_PATH)/third_party/skia/src/core \ 138 $(LOCAL_PATH)/third_party/skia/include/core \ 139 $(LOCAL_PATH)/third_party/skia/include/effects \ 140 $(LOCAL_PATH)/third_party/skia/include/pdf \ 141 $(LOCAL_PATH)/third_party/skia/include/gpu \ 142 $(LOCAL_PATH)/third_party/skia/include/lazy \ 143 $(LOCAL_PATH)/third_party/skia/include/pathops \ 144 $(LOCAL_PATH)/third_party/skia/include/pipe \ 145 $(LOCAL_PATH)/third_party/skia/include/ports \ 146 $(LOCAL_PATH)/third_party/skia/include/utils \ 147 $(LOCAL_PATH)/skia/ext \ 148 $(PWD)/frameworks/wilhelm/include \ 149 $(PWD)/bionic \ 150 $(PWD)/external/stlport/stlport 151 152 153 # Flags passed to only C++ (and not C) files. 154 LOCAL_CPPFLAGS_Debug := \ 155 -fno-rtti \ 156 -fno-threadsafe-statics \ 157 -fvisibility-inlines-hidden \ 158 -Wsign-compare \ 159 -Wno-uninitialized \ 160 -Wno-non-virtual-dtor \ 161 -Wno-sign-promo 162 163 164 LOCAL_FDO_SUPPORT_Debug := false 165 166 # Flags passed to both C and C++ files. 167 MY_CFLAGS_Release := \ 168 -fstack-protector \ 169 --param=ssp-buffer-size=4 \ 170 \ 171 -fno-exceptions \ 172 -fno-strict-aliasing \ 173 -Wall \ 174 -Wno-unused-parameter \ 175 -Wno-missing-field-initializers \ 176 -fvisibility=hidden \ 177 -pipe \ 178 -fPIC \ 179 -Wno-unused-local-typedefs \ 180 -EL \ 181 -mhard-float \ 182 -ffunction-sections \ 183 -funwind-tables \ 184 -g \ 185 -fstack-protector \ 186 -fno-short-enums \ 187 -finline-limit=64 \ 188 -Wa,--noexecstack \ 189 -U_FORTIFY_SOURCE \ 190 -Wno-extra \ 191 -Wno-ignored-qualifiers \ 192 -Wno-type-limits \ 193 -Wno-unused-but-set-variable \ 194 -Os \ 195 -fno-ident \ 196 -fdata-sections \ 197 -ffunction-sections \ 198 -fomit-frame-pointer \ 199 -funwind-tables 200 201 MY_DEFS_Release := \ 202 '-DV8_DEPRECATION_WARNINGS' \ 203 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 204 '-D_FILE_OFFSET_BITS=64' \ 205 '-DNO_TCMALLOC' \ 206 '-DDISABLE_NACL' \ 207 '-DCHROMIUM_BUILD' \ 208 '-DUSE_LIBJPEG_TURBO=1' \ 209 '-DENABLE_WEBRTC=1' \ 210 '-DUSE_PROPRIETARY_CODECS' \ 211 '-DENABLE_BROWSER_CDMS' \ 212 '-DENABLE_CONFIGURATION_POLICY' \ 213 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 214 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 215 '-DENABLE_EGLIMAGE=1' \ 216 '-DCLD_VERSION=1' \ 217 '-DENABLE_PRINTING=1' \ 218 '-DENABLE_MANAGED_USERS=1' \ 219 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 220 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 221 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 222 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 223 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 224 '-DVIDEO_HOLE=1' \ 225 '-DMOJO_USE_SYSTEM_IMPL' \ 226 '-DSK_ENABLE_INST_COUNT=0' \ 227 '-DSK_SUPPORT_GPU=1' \ 228 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 229 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 230 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 231 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 232 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 233 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 234 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 235 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 236 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 237 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 238 '-DSK_IGNORE_ETC1_SUPPORT' \ 239 '-DSK_IGNORE_GPU_DITHER' \ 240 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 241 '-DSK_BUILD_FOR_ANDROID' \ 242 '-DSK_USE_POSIX_THREADS' \ 243 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 244 '-DUSE_OPENSSL=1' \ 245 '-DUSE_OPENSSL_CERTS=1' \ 246 '-D__STDC_CONSTANT_MACROS' \ 247 '-D__STDC_FORMAT_MACROS' \ 248 '-DANDROID' \ 249 '-D__GNU_SOURCE=1' \ 250 '-DUSE_STLPORT=1' \ 251 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 252 '-DCHROME_BUILD_ID=""' \ 253 '-DNDEBUG' \ 254 '-DNVALGRIND' \ 255 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 256 '-D_FORTIFY_SOURCE=2' 257 258 259 # Include paths placed before CFLAGS/CPPFLAGS 260 LOCAL_C_INCLUDES_Release := \ 261 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 262 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 263 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 264 $(gyp_shared_intermediate_dir) \ 265 $(LOCAL_PATH)/skia/config \ 266 $(LOCAL_PATH)/third_party/khronos \ 267 $(LOCAL_PATH)/gpu \ 268 $(LOCAL_PATH) \ 269 $(LOCAL_PATH)/third_party/WebKit/Source \ 270 $(LOCAL_PATH)/third_party/WebKit \ 271 $(LOCAL_PATH)/third_party/skia/src/core \ 272 $(LOCAL_PATH)/third_party/skia/include/core \ 273 $(LOCAL_PATH)/third_party/skia/include/effects \ 274 $(LOCAL_PATH)/third_party/skia/include/pdf \ 275 $(LOCAL_PATH)/third_party/skia/include/gpu \ 276 $(LOCAL_PATH)/third_party/skia/include/lazy \ 277 $(LOCAL_PATH)/third_party/skia/include/pathops \ 278 $(LOCAL_PATH)/third_party/skia/include/pipe \ 279 $(LOCAL_PATH)/third_party/skia/include/ports \ 280 $(LOCAL_PATH)/third_party/skia/include/utils \ 281 $(LOCAL_PATH)/skia/ext \ 282 $(PWD)/frameworks/wilhelm/include \ 283 $(PWD)/bionic \ 284 $(PWD)/external/stlport/stlport 285 286 287 # Flags passed to only C++ (and not C) files. 288 LOCAL_CPPFLAGS_Release := \ 289 -fno-rtti \ 290 -fno-threadsafe-statics \ 291 -fvisibility-inlines-hidden \ 292 -Wsign-compare \ 293 -Wno-uninitialized \ 294 -Wno-non-virtual-dtor \ 295 -Wno-sign-promo 296 297 298 LOCAL_FDO_SUPPORT_Release := false 299 300 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 301 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 302 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 303 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 304 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 305 ### Rules for final target. 306 307 LOCAL_LDFLAGS_Debug := \ 308 -Wl,-z,now \ 309 -Wl,-z,relro \ 310 -Wl,--fatal-warnings \ 311 -Wl,-z,noexecstack \ 312 -fPIC \ 313 -EL \ 314 -Wl,--no-keep-memory \ 315 -nostdlib \ 316 -Wl,--no-undefined \ 317 -Wl,--exclude-libs=ALL \ 318 -Wl,--warn-shared-textrel \ 319 -Wl,-O1 \ 320 -Wl,--as-needed 321 322 323 LOCAL_LDFLAGS_Release := \ 324 -Wl,-z,now \ 325 -Wl,-z,relro \ 326 -Wl,--fatal-warnings \ 327 -Wl,-z,noexecstack \ 328 -fPIC \ 329 -EL \ 330 -Wl,--no-keep-memory \ 331 -nostdlib \ 332 -Wl,--no-undefined \ 333 -Wl,--exclude-libs=ALL \ 334 -Wl,-O1 \ 335 -Wl,--as-needed \ 336 -Wl,--gc-sections \ 337 -Wl,--warn-shared-textrel 338 339 340 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 341 342 LOCAL_STATIC_LIBRARIES := \ 343 ui_accessibility_ax_gen_gyp \ 344 skia_skia_library_gyp 345 346 # Enable grouping to fix circular references 347 LOCAL_GROUP_STATIC_LIBRARIES := true 348 349 LOCAL_SHARED_LIBRARIES := \ 350 libstlport \ 351 libdl 352 353 # Add target alias to "gyp_all_modules" target. 354 .PHONY: gyp_all_modules 355 gyp_all_modules: components_visitedlink_browser_gyp 356 357 # Alias gyp target name. 358 .PHONY: visitedlink_browser 359 visitedlink_browser: components_visitedlink_browser_gyp 360 361 include $(BUILD_STATIC_LIBRARY) 362