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