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_autofill_content_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,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.stamp \ 17 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a \ 18 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \ 19 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp \ 20 $(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libphonenumber_libphonenumber_without_metadata_gyp,,,$(GYP_VAR_PREFIX))/third_party_libphonenumber_libphonenumber_without_metadata_gyp.a \ 21 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \ 22 $(call intermediates-dir-for,STATIC_LIBRARIES,components_autofill_content_risk_proto_gyp,,,$(GYP_VAR_PREFIX))/components_autofill_content_risk_proto_gyp.a \ 23 $(call intermediates-dir-for,GYP,components_autofill_regexes_gyp,,,$(GYP_VAR_PREFIX))/autofill_regexes.stamp \ 24 $(call intermediates-dir-for,GYP,components_components_resources_gyp,,,$(GYP_VAR_PREFIX))/components_resources.stamp \ 25 $(call intermediates-dir-for,GYP,components_components_strings_gyp,,,$(GYP_VAR_PREFIX))/components_strings.stamp 26 27 GYP_GENERATED_OUTPUTS := 28 29 # Make sure our deps and generated files are built first. 30 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 31 32 LOCAL_CPP_EXTENSION := .cc 33 LOCAL_GENERATED_SOURCES := 34 35 GYP_COPIED_SOURCE_ORIGIN_DIRS := 36 37 LOCAL_SRC_FILES := \ 38 components/autofill/content/browser/content_autofill_driver.cc \ 39 components/autofill/content/browser/request_autocomplete_manager.cc \ 40 components/autofill/content/browser/wallet/form_field_error.cc \ 41 components/autofill/content/browser/wallet/full_wallet.cc \ 42 components/autofill/content/browser/wallet/gaia_account.cc \ 43 components/autofill/content/browser/wallet/instrument.cc \ 44 components/autofill/content/browser/wallet/required_action.cc \ 45 components/autofill/content/browser/wallet/wallet_address.cc \ 46 components/autofill/content/browser/wallet/wallet_client.cc \ 47 components/autofill/content/browser/wallet/wallet_items.cc \ 48 components/autofill/content/browser/wallet/wallet_service_url.cc \ 49 components/autofill/content/browser/wallet/wallet_signin_helper.cc 50 51 52 # Flags passed to both C and C++ files. 53 MY_CFLAGS_Debug := \ 54 --param=ssp-buffer-size=4 \ 55 -Werror \ 56 -fno-exceptions \ 57 -fno-strict-aliasing \ 58 -Wall \ 59 -Wno-unused-parameter \ 60 -Wno-missing-field-initializers \ 61 -fvisibility=hidden \ 62 -pipe \ 63 -fPIC \ 64 -Wno-unused-local-typedefs \ 65 -ffunction-sections \ 66 -funwind-tables \ 67 -g \ 68 -fno-short-enums \ 69 -finline-limit=64 \ 70 -Wa,--noexecstack \ 71 -U_FORTIFY_SOURCE \ 72 -Wno-extra \ 73 -Wno-ignored-qualifiers \ 74 -Wno-type-limits \ 75 -Wno-unused-but-set-variable \ 76 -Os \ 77 -g \ 78 -fdata-sections \ 79 -ffunction-sections \ 80 -funwind-tables 81 82 MY_DEFS_Debug := \ 83 '-DV8_DEPRECATION_WARNINGS' \ 84 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 85 '-D_FILE_OFFSET_BITS=64' \ 86 '-DNO_TCMALLOC' \ 87 '-DDISABLE_NACL' \ 88 '-DCHROMIUM_BUILD' \ 89 '-DUSE_LIBJPEG_TURBO=1' \ 90 '-DENABLE_WEBRTC=1' \ 91 '-DUSE_PROPRIETARY_CODECS' \ 92 '-DENABLE_BROWSER_CDMS' \ 93 '-DENABLE_CONFIGURATION_POLICY' \ 94 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 95 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 96 '-DENABLE_EGLIMAGE=1' \ 97 '-DCLD_VERSION=1' \ 98 '-DENABLE_PRINTING=1' \ 99 '-DENABLE_MANAGED_USERS=1' \ 100 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 101 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 102 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 103 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 104 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 105 '-DVIDEO_HOLE=1' \ 106 '-DMOJO_USE_SYSTEM_IMPL' \ 107 '-DSK_ENABLE_INST_COUNT=0' \ 108 '-DSK_SUPPORT_GPU=1' \ 109 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 110 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 111 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 112 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 113 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 114 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 115 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 116 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 117 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 118 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 119 '-DSK_IGNORE_ETC1_SUPPORT' \ 120 '-DSK_IGNORE_GPU_DITHER' \ 121 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 122 '-DSK_BUILD_FOR_ANDROID' \ 123 '-DSK_USE_POSIX_THREADS' \ 124 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 125 '-DU_USING_ICU_NAMESPACE=0' \ 126 '-DFEATURE_ENABLE_SSL' \ 127 '-DFEATURE_ENABLE_VOICEMAIL' \ 128 '-DEXPAT_RELATIVE_PATH' \ 129 '-DGTEST_RELATIVE_PATH' \ 130 '-DNO_MAIN_THREAD_WRAPPING' \ 131 '-DNO_SOUND_SYSTEM' \ 132 '-DANDROID' \ 133 '-DPOSIX' \ 134 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 135 '-DPROTOBUF_USE_DLLS' \ 136 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 137 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 138 '-DPOSIX_AVOID_MMAP' \ 139 '-DUSE_OPENSSL=1' \ 140 '-DUSE_OPENSSL_CERTS=1' \ 141 '-D__STDC_CONSTANT_MACROS' \ 142 '-D__STDC_FORMAT_MACROS' \ 143 '-D__GNU_SOURCE=1' \ 144 '-DUSE_STLPORT=1' \ 145 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 146 '-DCHROME_BUILD_ID=""' \ 147 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 148 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 149 '-D_DEBUG' 150 151 152 # Include paths placed before CFLAGS/CPPFLAGS 153 LOCAL_C_INCLUDES_Debug := \ 154 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 155 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 156 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 157 $(gyp_shared_intermediate_dir) \ 158 $(LOCAL_PATH) \ 159 $(LOCAL_PATH)/third_party/khronos \ 160 $(LOCAL_PATH)/gpu \ 161 $(LOCAL_PATH)/skia/config \ 162 $(LOCAL_PATH)/third_party/WebKit/Source \ 163 $(LOCAL_PATH)/third_party/WebKit \ 164 $(LOCAL_PATH)/third_party/skia/src/core \ 165 $(LOCAL_PATH)/third_party/skia/include/core \ 166 $(LOCAL_PATH)/third_party/skia/include/effects \ 167 $(LOCAL_PATH)/third_party/skia/include/pdf \ 168 $(LOCAL_PATH)/third_party/skia/include/gpu \ 169 $(LOCAL_PATH)/third_party/skia/include/lazy \ 170 $(LOCAL_PATH)/third_party/skia/include/pathops \ 171 $(LOCAL_PATH)/third_party/skia/include/pipe \ 172 $(LOCAL_PATH)/third_party/skia/include/ports \ 173 $(LOCAL_PATH)/third_party/skia/include/utils \ 174 $(LOCAL_PATH)/skia/ext \ 175 $(PWD)/external/icu/icu4c/source/common \ 176 $(PWD)/external/icu/icu4c/source/i18n \ 177 $(LOCAL_PATH)/third_party/libjingle/overrides \ 178 $(LOCAL_PATH)/third_party/libjingle/source \ 179 $(LOCAL_PATH)/third_party/webrtc/overrides \ 180 $(LOCAL_PATH)/testing/gtest/include \ 181 $(LOCAL_PATH)/third_party \ 182 $(LOCAL_PATH)/third_party/webrtc \ 183 $(PWD)/external/expat/lib \ 184 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 185 $(LOCAL_PATH)/third_party/libphonenumber/src \ 186 $(gyp_shared_intermediate_dir)/protoc_out \ 187 $(LOCAL_PATH)/third_party/protobuf \ 188 $(LOCAL_PATH)/third_party/protobuf/src \ 189 $(gyp_shared_intermediate_dir)/components \ 190 $(gyp_shared_intermediate_dir)/components/strings \ 191 $(PWD)/frameworks/wilhelm/include \ 192 $(PWD)/bionic \ 193 $(PWD)/external/stlport/stlport 194 195 196 # Flags passed to only C++ (and not C) files. 197 LOCAL_CPPFLAGS_Debug := \ 198 -fno-rtti \ 199 -fno-threadsafe-statics \ 200 -fvisibility-inlines-hidden \ 201 -Wsign-compare \ 202 -Wno-non-virtual-dtor \ 203 -Wno-sign-promo 204 205 206 LOCAL_FDO_SUPPORT_Debug := false 207 208 # Flags passed to both C and C++ files. 209 MY_CFLAGS_Release := \ 210 --param=ssp-buffer-size=4 \ 211 -Werror \ 212 -fno-exceptions \ 213 -fno-strict-aliasing \ 214 -Wall \ 215 -Wno-unused-parameter \ 216 -Wno-missing-field-initializers \ 217 -fvisibility=hidden \ 218 -pipe \ 219 -fPIC \ 220 -Wno-unused-local-typedefs \ 221 -ffunction-sections \ 222 -funwind-tables \ 223 -g \ 224 -fno-short-enums \ 225 -finline-limit=64 \ 226 -Wa,--noexecstack \ 227 -U_FORTIFY_SOURCE \ 228 -Wno-extra \ 229 -Wno-ignored-qualifiers \ 230 -Wno-type-limits \ 231 -Wno-unused-but-set-variable \ 232 -Os \ 233 -fno-ident \ 234 -fdata-sections \ 235 -ffunction-sections \ 236 -funwind-tables 237 238 MY_DEFS_Release := \ 239 '-DV8_DEPRECATION_WARNINGS' \ 240 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 241 '-D_FILE_OFFSET_BITS=64' \ 242 '-DNO_TCMALLOC' \ 243 '-DDISABLE_NACL' \ 244 '-DCHROMIUM_BUILD' \ 245 '-DUSE_LIBJPEG_TURBO=1' \ 246 '-DENABLE_WEBRTC=1' \ 247 '-DUSE_PROPRIETARY_CODECS' \ 248 '-DENABLE_BROWSER_CDMS' \ 249 '-DENABLE_CONFIGURATION_POLICY' \ 250 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 251 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 252 '-DENABLE_EGLIMAGE=1' \ 253 '-DCLD_VERSION=1' \ 254 '-DENABLE_PRINTING=1' \ 255 '-DENABLE_MANAGED_USERS=1' \ 256 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 257 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 258 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 259 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 260 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 261 '-DVIDEO_HOLE=1' \ 262 '-DMOJO_USE_SYSTEM_IMPL' \ 263 '-DSK_ENABLE_INST_COUNT=0' \ 264 '-DSK_SUPPORT_GPU=1' \ 265 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 266 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 267 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 268 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 269 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 270 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 271 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 272 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 273 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 274 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 275 '-DSK_IGNORE_ETC1_SUPPORT' \ 276 '-DSK_IGNORE_GPU_DITHER' \ 277 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 278 '-DSK_BUILD_FOR_ANDROID' \ 279 '-DSK_USE_POSIX_THREADS' \ 280 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 281 '-DU_USING_ICU_NAMESPACE=0' \ 282 '-DFEATURE_ENABLE_SSL' \ 283 '-DFEATURE_ENABLE_VOICEMAIL' \ 284 '-DEXPAT_RELATIVE_PATH' \ 285 '-DGTEST_RELATIVE_PATH' \ 286 '-DNO_MAIN_THREAD_WRAPPING' \ 287 '-DNO_SOUND_SYSTEM' \ 288 '-DANDROID' \ 289 '-DPOSIX' \ 290 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 291 '-DPROTOBUF_USE_DLLS' \ 292 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 293 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 294 '-DPOSIX_AVOID_MMAP' \ 295 '-DUSE_OPENSSL=1' \ 296 '-DUSE_OPENSSL_CERTS=1' \ 297 '-D__STDC_CONSTANT_MACROS' \ 298 '-D__STDC_FORMAT_MACROS' \ 299 '-D__GNU_SOURCE=1' \ 300 '-DUSE_STLPORT=1' \ 301 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 302 '-DCHROME_BUILD_ID=""' \ 303 '-DNDEBUG' \ 304 '-DNVALGRIND' \ 305 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 306 '-D_FORTIFY_SOURCE=2' 307 308 309 # Include paths placed before CFLAGS/CPPFLAGS 310 LOCAL_C_INCLUDES_Release := \ 311 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 312 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 313 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 314 $(gyp_shared_intermediate_dir) \ 315 $(LOCAL_PATH) \ 316 $(LOCAL_PATH)/third_party/khronos \ 317 $(LOCAL_PATH)/gpu \ 318 $(LOCAL_PATH)/skia/config \ 319 $(LOCAL_PATH)/third_party/WebKit/Source \ 320 $(LOCAL_PATH)/third_party/WebKit \ 321 $(LOCAL_PATH)/third_party/skia/src/core \ 322 $(LOCAL_PATH)/third_party/skia/include/core \ 323 $(LOCAL_PATH)/third_party/skia/include/effects \ 324 $(LOCAL_PATH)/third_party/skia/include/pdf \ 325 $(LOCAL_PATH)/third_party/skia/include/gpu \ 326 $(LOCAL_PATH)/third_party/skia/include/lazy \ 327 $(LOCAL_PATH)/third_party/skia/include/pathops \ 328 $(LOCAL_PATH)/third_party/skia/include/pipe \ 329 $(LOCAL_PATH)/third_party/skia/include/ports \ 330 $(LOCAL_PATH)/third_party/skia/include/utils \ 331 $(LOCAL_PATH)/skia/ext \ 332 $(PWD)/external/icu/icu4c/source/common \ 333 $(PWD)/external/icu/icu4c/source/i18n \ 334 $(LOCAL_PATH)/third_party/libjingle/overrides \ 335 $(LOCAL_PATH)/third_party/libjingle/source \ 336 $(LOCAL_PATH)/third_party/webrtc/overrides \ 337 $(LOCAL_PATH)/testing/gtest/include \ 338 $(LOCAL_PATH)/third_party \ 339 $(LOCAL_PATH)/third_party/webrtc \ 340 $(PWD)/external/expat/lib \ 341 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 342 $(LOCAL_PATH)/third_party/libphonenumber/src \ 343 $(gyp_shared_intermediate_dir)/protoc_out \ 344 $(LOCAL_PATH)/third_party/protobuf \ 345 $(LOCAL_PATH)/third_party/protobuf/src \ 346 $(gyp_shared_intermediate_dir)/components \ 347 $(gyp_shared_intermediate_dir)/components/strings \ 348 $(PWD)/frameworks/wilhelm/include \ 349 $(PWD)/bionic \ 350 $(PWD)/external/stlport/stlport 351 352 353 # Flags passed to only C++ (and not C) files. 354 LOCAL_CPPFLAGS_Release := \ 355 -fno-rtti \ 356 -fno-threadsafe-statics \ 357 -fvisibility-inlines-hidden \ 358 -Wsign-compare \ 359 -Wno-non-virtual-dtor \ 360 -Wno-sign-promo 361 362 363 LOCAL_FDO_SUPPORT_Release := false 364 365 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 366 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 367 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 368 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 369 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 370 ### Rules for final target. 371 372 LOCAL_LDFLAGS_Debug := \ 373 -Wl,-z,now \ 374 -Wl,-z,relro \ 375 -Wl,--fatal-warnings \ 376 -Wl,-z,noexecstack \ 377 -fPIC \ 378 -nostdlib \ 379 -Wl,--no-undefined \ 380 -Wl,--exclude-libs=ALL \ 381 -Wl,--warn-shared-textrel \ 382 -Wl,-O1 \ 383 -Wl,--as-needed 384 385 386 LOCAL_LDFLAGS_Release := \ 387 -Wl,-z,now \ 388 -Wl,-z,relro \ 389 -Wl,--fatal-warnings \ 390 -Wl,-z,noexecstack \ 391 -fPIC \ 392 -nostdlib \ 393 -Wl,--no-undefined \ 394 -Wl,--exclude-libs=ALL \ 395 -Wl,-O1 \ 396 -Wl,--as-needed \ 397 -Wl,--gc-sections \ 398 -Wl,--warn-shared-textrel 399 400 401 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 402 403 LOCAL_STATIC_LIBRARIES := \ 404 ui_accessibility_ax_gen_gyp \ 405 skia_skia_library_gyp \ 406 third_party_libphonenumber_libphonenumber_without_metadata_gyp \ 407 ui_base_ui_base_gyp \ 408 components_autofill_content_risk_proto_gyp 409 410 # Enable grouping to fix circular references 411 LOCAL_GROUP_STATIC_LIBRARIES := true 412 413 LOCAL_SHARED_LIBRARIES := \ 414 libstlport \ 415 libdl 416 417 # Add target alias to "gyp_all_modules" target. 418 .PHONY: gyp_all_modules 419 gyp_all_modules: components_autofill_content_browser_gyp 420 421 # Alias gyp target name. 422 .PHONY: autofill_content_browser 423 autofill_content_browser: components_autofill_content_browser_gyp 424 425 include $(BUILD_STATIC_LIBRARY) 426