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 -fstack-protector \ 54 --param=ssp-buffer-size=4 \ 55 \ 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 -ffunction-sections \ 65 -funwind-tables \ 66 -g \ 67 -fstack-protector \ 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 -gdwarf-4 \ 79 -fdata-sections \ 80 -ffunction-sections \ 81 -fomit-frame-pointer \ 82 -funwind-tables 83 84MY_DEFS_Debug := \ 85 '-DV8_DEPRECATION_WARNINGS' \ 86 '-D_FILE_OFFSET_BITS=64' \ 87 '-DNO_TCMALLOC' \ 88 '-DDISABLE_NACL' \ 89 '-DCHROMIUM_BUILD' \ 90 '-DUSE_LIBJPEG_TURBO=1' \ 91 '-DENABLE_WEBRTC=1' \ 92 '-DUSE_PROPRIETARY_CODECS' \ 93 '-DENABLE_BROWSER_CDMS' \ 94 '-DENABLE_CONFIGURATION_POLICY' \ 95 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 96 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 97 '-DENABLE_EGLIMAGE=1' \ 98 '-DCLD_VERSION=1' \ 99 '-DENABLE_PRINTING=1' \ 100 '-DENABLE_MANAGED_USERS=1' \ 101 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 102 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 103 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 104 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 105 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 106 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 107 '-DVIDEO_HOLE=1' \ 108 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 109 '-DMOJO_USE_SYSTEM_IMPL' \ 110 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 111 '-DSK_ENABLE_INST_COUNT=0' \ 112 '-DSK_SUPPORT_GPU=1' \ 113 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 114 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 115 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 116 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 117 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 118 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 119 '-DSK_BUILD_FOR_ANDROID' \ 120 '-DSK_USE_POSIX_THREADS' \ 121 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 122 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 123 '-DU_USING_ICU_NAMESPACE=0' \ 124 '-DU_ENABLE_DYLOAD=0' \ 125 '-DFEATURE_ENABLE_SSL' \ 126 '-DFEATURE_ENABLE_VOICEMAIL' \ 127 '-DEXPAT_RELATIVE_PATH' \ 128 '-DGTEST_RELATIVE_PATH' \ 129 '-DNO_MAIN_THREAD_WRAPPING' \ 130 '-DNO_SOUND_SYSTEM' \ 131 '-DANDROID' \ 132 '-DPOSIX' \ 133 '-DWEBRTC_POSIX' \ 134 '-DXML_STATIC' \ 135 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 136 '-DPROTOBUF_USE_DLLS' \ 137 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 138 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 139 '-DPOSIX_AVOID_MMAP' \ 140 '-DUSE_OPENSSL=1' \ 141 '-DUSE_OPENSSL_CERTS=1' \ 142 '-D__STDC_CONSTANT_MACROS' \ 143 '-D__STDC_FORMAT_MACROS' \ 144 '-D__GNU_SOURCE=1' \ 145 '-DUSE_STLPORT=1' \ 146 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 147 '-DCHROME_BUILD_ID=""' \ 148 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 149 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 150 '-D_DEBUG' 151 152 153# Include paths placed before CFLAGS/CPPFLAGS 154LOCAL_C_INCLUDES_Debug := \ 155 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 156 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/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 $(gyp_shared_intermediate_dir)/angle \ 164 $(LOCAL_PATH)/third_party/WebKit \ 165 $(LOCAL_PATH)/third_party/skia/src/core \ 166 $(LOCAL_PATH)/third_party/skia/include/core \ 167 $(LOCAL_PATH)/third_party/skia/include/effects \ 168 $(LOCAL_PATH)/third_party/skia/include/pdf \ 169 $(LOCAL_PATH)/third_party/skia/include/gpu \ 170 $(LOCAL_PATH)/third_party/skia/include/lazy \ 171 $(LOCAL_PATH)/third_party/skia/include/pathops \ 172 $(LOCAL_PATH)/third_party/skia/include/pipe \ 173 $(LOCAL_PATH)/third_party/skia/include/ports \ 174 $(LOCAL_PATH)/third_party/skia/include/utils \ 175 $(LOCAL_PATH)/skia/ext \ 176 $(PWD)/external/icu/icu4c/source/common \ 177 $(PWD)/external/icu/icu4c/source/i18n \ 178 $(LOCAL_PATH)/third_party/webrtc/overrides \ 179 $(LOCAL_PATH)/third_party/libjingle/overrides \ 180 $(LOCAL_PATH)/third_party/libjingle/source \ 181 $(LOCAL_PATH)/testing/gtest/include \ 182 $(LOCAL_PATH)/third_party \ 183 $(LOCAL_PATH)/third_party/expat/files/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. 197LOCAL_CPPFLAGS_Debug := \ 198 -fno-exceptions \ 199 -fno-rtti \ 200 -fno-threadsafe-statics \ 201 -fvisibility-inlines-hidden \ 202 -Wsign-compare \ 203 -Wno-uninitialized \ 204 -std=gnu++11 \ 205 -Wno-narrowing \ 206 -Wno-literal-suffix \ 207 -Wno-non-virtual-dtor \ 208 -Wno-sign-promo 209 210 211# Flags passed to both C and C++ files. 212MY_CFLAGS_Release := \ 213 -fstack-protector \ 214 --param=ssp-buffer-size=4 \ 215 \ 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 -ffunction-sections \ 225 -funwind-tables \ 226 -g \ 227 -fstack-protector \ 228 -fno-short-enums \ 229 -finline-limit=64 \ 230 -Wa,--noexecstack \ 231 -U_FORTIFY_SOURCE \ 232 -Wno-extra \ 233 -Wno-ignored-qualifiers \ 234 -Wno-type-limits \ 235 -Wno-unused-but-set-variable \ 236 -Os \ 237 -fno-ident \ 238 -fdata-sections \ 239 -ffunction-sections \ 240 -fomit-frame-pointer \ 241 -funwind-tables 242 243MY_DEFS_Release := \ 244 '-DV8_DEPRECATION_WARNINGS' \ 245 '-D_FILE_OFFSET_BITS=64' \ 246 '-DNO_TCMALLOC' \ 247 '-DDISABLE_NACL' \ 248 '-DCHROMIUM_BUILD' \ 249 '-DUSE_LIBJPEG_TURBO=1' \ 250 '-DENABLE_WEBRTC=1' \ 251 '-DUSE_PROPRIETARY_CODECS' \ 252 '-DENABLE_BROWSER_CDMS' \ 253 '-DENABLE_CONFIGURATION_POLICY' \ 254 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 255 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 256 '-DENABLE_EGLIMAGE=1' \ 257 '-DCLD_VERSION=1' \ 258 '-DENABLE_PRINTING=1' \ 259 '-DENABLE_MANAGED_USERS=1' \ 260 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 261 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 262 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 263 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 264 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 265 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 266 '-DVIDEO_HOLE=1' \ 267 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 268 '-DMOJO_USE_SYSTEM_IMPL' \ 269 '-DAPPCACHE_USE_SIMPLE_CACHE' \ 270 '-DSK_ENABLE_INST_COUNT=0' \ 271 '-DSK_SUPPORT_GPU=1' \ 272 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 273 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 274 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 275 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 276 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 277 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 278 '-DSK_BUILD_FOR_ANDROID' \ 279 '-DSK_USE_POSIX_THREADS' \ 280 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 281 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 282 '-DU_USING_ICU_NAMESPACE=0' \ 283 '-DU_ENABLE_DYLOAD=0' \ 284 '-DFEATURE_ENABLE_SSL' \ 285 '-DFEATURE_ENABLE_VOICEMAIL' \ 286 '-DEXPAT_RELATIVE_PATH' \ 287 '-DGTEST_RELATIVE_PATH' \ 288 '-DNO_MAIN_THREAD_WRAPPING' \ 289 '-DNO_SOUND_SYSTEM' \ 290 '-DANDROID' \ 291 '-DPOSIX' \ 292 '-DWEBRTC_POSIX' \ 293 '-DXML_STATIC' \ 294 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 295 '-DPROTOBUF_USE_DLLS' \ 296 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 297 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 298 '-DPOSIX_AVOID_MMAP' \ 299 '-DUSE_OPENSSL=1' \ 300 '-DUSE_OPENSSL_CERTS=1' \ 301 '-D__STDC_CONSTANT_MACROS' \ 302 '-D__STDC_FORMAT_MACROS' \ 303 '-D__GNU_SOURCE=1' \ 304 '-DUSE_STLPORT=1' \ 305 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 306 '-DCHROME_BUILD_ID=""' \ 307 '-DNDEBUG' \ 308 '-DNVALGRIND' \ 309 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 310 '-D_FORTIFY_SOURCE=2' 311 312 313# Include paths placed before CFLAGS/CPPFLAGS 314LOCAL_C_INCLUDES_Release := \ 315 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 316 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 317 $(gyp_shared_intermediate_dir) \ 318 $(LOCAL_PATH) \ 319 $(LOCAL_PATH)/third_party/khronos \ 320 $(LOCAL_PATH)/gpu \ 321 $(LOCAL_PATH)/skia/config \ 322 $(LOCAL_PATH)/third_party/WebKit/Source \ 323 $(gyp_shared_intermediate_dir)/angle \ 324 $(LOCAL_PATH)/third_party/WebKit \ 325 $(LOCAL_PATH)/third_party/skia/src/core \ 326 $(LOCAL_PATH)/third_party/skia/include/core \ 327 $(LOCAL_PATH)/third_party/skia/include/effects \ 328 $(LOCAL_PATH)/third_party/skia/include/pdf \ 329 $(LOCAL_PATH)/third_party/skia/include/gpu \ 330 $(LOCAL_PATH)/third_party/skia/include/lazy \ 331 $(LOCAL_PATH)/third_party/skia/include/pathops \ 332 $(LOCAL_PATH)/third_party/skia/include/pipe \ 333 $(LOCAL_PATH)/third_party/skia/include/ports \ 334 $(LOCAL_PATH)/third_party/skia/include/utils \ 335 $(LOCAL_PATH)/skia/ext \ 336 $(PWD)/external/icu/icu4c/source/common \ 337 $(PWD)/external/icu/icu4c/source/i18n \ 338 $(LOCAL_PATH)/third_party/webrtc/overrides \ 339 $(LOCAL_PATH)/third_party/libjingle/overrides \ 340 $(LOCAL_PATH)/third_party/libjingle/source \ 341 $(LOCAL_PATH)/testing/gtest/include \ 342 $(LOCAL_PATH)/third_party \ 343 $(LOCAL_PATH)/third_party/expat/files/lib \ 344 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 345 $(LOCAL_PATH)/third_party/libphonenumber/src \ 346 $(gyp_shared_intermediate_dir)/protoc_out \ 347 $(LOCAL_PATH)/third_party/protobuf \ 348 $(LOCAL_PATH)/third_party/protobuf/src \ 349 $(gyp_shared_intermediate_dir)/components \ 350 $(gyp_shared_intermediate_dir)/components/strings \ 351 $(PWD)/frameworks/wilhelm/include \ 352 $(PWD)/bionic \ 353 $(PWD)/external/stlport/stlport 354 355 356# Flags passed to only C++ (and not C) files. 357LOCAL_CPPFLAGS_Release := \ 358 -fno-exceptions \ 359 -fno-rtti \ 360 -fno-threadsafe-statics \ 361 -fvisibility-inlines-hidden \ 362 -Wsign-compare \ 363 -Wno-uninitialized \ 364 -std=gnu++11 \ 365 -Wno-narrowing \ 366 -Wno-literal-suffix \ 367 -Wno-non-virtual-dtor \ 368 -Wno-sign-promo 369 370 371LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 372LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 373LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 374LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 375### Rules for final target. 376 377LOCAL_SHARED_LIBRARIES := \ 378 libstlport \ 379 libdl 380 381# Add target alias to "gyp_all_modules" target. 382.PHONY: gyp_all_modules 383gyp_all_modules: components_autofill_content_browser_gyp 384 385# Alias gyp target name. 386.PHONY: autofill_content_browser 387autofill_content_browser: components_autofill_content_browser_gyp 388 389include $(BUILD_STATIC_LIBRARY) 390