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