1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := components_autofill_content_browser_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_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 26GYP_GENERATED_OUTPUTS := 27 28# Make sure our deps and generated files are built first. 29LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 30 31LOCAL_CPP_EXTENSION := .cc 32LOCAL_GENERATED_SOURCES := 33 34GYP_COPIED_SOURCE_ORIGIN_DIRS := 35 36LOCAL_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. 52MY_CFLAGS_Debug := \ 53 --param=ssp-buffer-size=4 \ 54 -Werror \ 55 -fno-strict-aliasing \ 56 -Wall \ 57 -Wno-unused-parameter \ 58 -Wno-missing-field-initializers \ 59 -fvisibility=hidden \ 60 -pipe \ 61 -fPIC \ 62 -Wno-unused-local-typedefs \ 63 -msse2 \ 64 -mfpmath=sse \ 65 -mmmx \ 66 -m32 \ 67 -ffunction-sections \ 68 -funwind-tables \ 69 -g \ 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 -fno-stack-protector \ 79 -Os \ 80 -g \ 81 -gdwarf-4 \ 82 -fdata-sections \ 83 -ffunction-sections \ 84 -fomit-frame-pointer \ 85 -funwind-tables 86 87MY_DEFS_Debug := \ 88 '-DV8_DEPRECATION_WARNINGS' \ 89 '-D_FILE_OFFSET_BITS=64' \ 90 '-DNO_TCMALLOC' \ 91 '-DDISABLE_NACL' \ 92 '-DCHROMIUM_BUILD' \ 93 '-DUSE_LIBJPEG_TURBO=1' \ 94 '-DENABLE_WEBRTC=1' \ 95 '-DUSE_PROPRIETARY_CODECS' \ 96 '-DENABLE_BROWSER_CDMS' \ 97 '-DENABLE_CONFIGURATION_POLICY' \ 98 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 99 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 100 '-DENABLE_EGLIMAGE=1' \ 101 '-DCLD_VERSION=1' \ 102 '-DENABLE_PRINTING=1' \ 103 '-DENABLE_MANAGED_USERS=1' \ 104 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 105 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 106 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 107 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 108 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 109 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 110 '-DVIDEO_HOLE=1' \ 111 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 112 '-DMOJO_USE_SYSTEM_IMPL' \ 113 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 114 '-DSK_ENABLE_INST_COUNT=0' \ 115 '-DSK_SUPPORT_GPU=1' \ 116 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 117 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 118 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 119 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 120 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 121 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 122 '-DSK_BUILD_FOR_ANDROID' \ 123 '-DSK_USE_POSIX_THREADS' \ 124 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 125 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 126 '-DU_USING_ICU_NAMESPACE=0' \ 127 '-DU_ENABLE_DYLOAD=0' \ 128 '-DFEATURE_ENABLE_SSL' \ 129 '-DFEATURE_ENABLE_VOICEMAIL' \ 130 '-DEXPAT_RELATIVE_PATH' \ 131 '-DGTEST_RELATIVE_PATH' \ 132 '-DNO_MAIN_THREAD_WRAPPING' \ 133 '-DNO_SOUND_SYSTEM' \ 134 '-DANDROID' \ 135 '-DPOSIX' \ 136 '-DWEBRTC_POSIX' \ 137 '-DXML_STATIC' \ 138 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 139 '-DPROTOBUF_USE_DLLS' \ 140 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 141 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 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 156LOCAL_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. 199LOCAL_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. 213MY_CFLAGS_Release := \ 214 --param=ssp-buffer-size=4 \ 215 -Werror \ 216 -fno-strict-aliasing \ 217 -Wall \ 218 -Wno-unused-parameter \ 219 -Wno-missing-field-initializers \ 220 -fvisibility=hidden \ 221 -pipe \ 222 -fPIC \ 223 -Wno-unused-local-typedefs \ 224 -msse2 \ 225 -mfpmath=sse \ 226 -mmmx \ 227 -m32 \ 228 -ffunction-sections \ 229 -funwind-tables \ 230 -g \ 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 -fno-stack-protector \ 240 -Os \ 241 -fno-ident \ 242 -fdata-sections \ 243 -ffunction-sections \ 244 -fomit-frame-pointer \ 245 -funwind-tables 246 247MY_DEFS_Release := \ 248 '-DV8_DEPRECATION_WARNINGS' \ 249 '-D_FILE_OFFSET_BITS=64' \ 250 '-DNO_TCMALLOC' \ 251 '-DDISABLE_NACL' \ 252 '-DCHROMIUM_BUILD' \ 253 '-DUSE_LIBJPEG_TURBO=1' \ 254 '-DENABLE_WEBRTC=1' \ 255 '-DUSE_PROPRIETARY_CODECS' \ 256 '-DENABLE_BROWSER_CDMS' \ 257 '-DENABLE_CONFIGURATION_POLICY' \ 258 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 259 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 260 '-DENABLE_EGLIMAGE=1' \ 261 '-DCLD_VERSION=1' \ 262 '-DENABLE_PRINTING=1' \ 263 '-DENABLE_MANAGED_USERS=1' \ 264 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 265 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 266 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 267 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 268 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 269 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 270 '-DVIDEO_HOLE=1' \ 271 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 272 '-DMOJO_USE_SYSTEM_IMPL' \ 273 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 274 '-DSK_ENABLE_INST_COUNT=0' \ 275 '-DSK_SUPPORT_GPU=1' \ 276 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 277 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 278 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 279 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 280 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 281 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 282 '-DSK_BUILD_FOR_ANDROID' \ 283 '-DSK_USE_POSIX_THREADS' \ 284 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 285 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 286 '-DU_USING_ICU_NAMESPACE=0' \ 287 '-DU_ENABLE_DYLOAD=0' \ 288 '-DFEATURE_ENABLE_SSL' \ 289 '-DFEATURE_ENABLE_VOICEMAIL' \ 290 '-DEXPAT_RELATIVE_PATH' \ 291 '-DGTEST_RELATIVE_PATH' \ 292 '-DNO_MAIN_THREAD_WRAPPING' \ 293 '-DNO_SOUND_SYSTEM' \ 294 '-DANDROID' \ 295 '-DPOSIX' \ 296 '-DWEBRTC_POSIX' \ 297 '-DXML_STATIC' \ 298 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 299 '-DPROTOBUF_USE_DLLS' \ 300 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 301 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 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 317LOCAL_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. 360LOCAL_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 373LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 374LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 375LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 376LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 377### Rules for final target. 378 379LOCAL_SHARED_LIBRARIES := \ 380 libstlport \ 381 libdl 382 383# Add target alias to "gyp_all_modules" target. 384.PHONY: gyp_all_modules 385gyp_all_modules: components_autofill_content_browser_gyp 386 387# Alias gyp target name. 388.PHONY: autofill_content_browser 389autofill_content_browser: components_autofill_content_browser_gyp 390 391include $(BUILD_STATIC_LIBRARY) 392