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