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 --param=ssp-buffer-size=4 \ 81 -Werror \ 82 -fno-exceptions \ 83 -fno-strict-aliasing \ 84 -Wall \ 85 -Wno-unused-parameter \ 86 -Wno-missing-field-initializers \ 87 -fvisibility=hidden \ 88 -pipe \ 89 -fPIC \ 90 -Wno-unused-local-typedefs \ 91 -ffunction-sections \ 92 -funwind-tables \ 93 -g \ 94 -fno-short-enums \ 95 -finline-limit=64 \ 96 -Wa,--noexecstack \ 97 -U_FORTIFY_SOURCE \ 98 -Wno-extra \ 99 -Wno-ignored-qualifiers \ 100 -Wno-type-limits \ 101 -Wno-unused-but-set-variable \ 102 -Os \ 103 -g \ 104 -fdata-sections \ 105 -ffunction-sections \ 106 -funwind-tables 107 108 MY_DEFS_Debug := \ 109 '-DV8_DEPRECATION_WARNINGS' \ 110 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 111 '-D_FILE_OFFSET_BITS=64' \ 112 '-DNO_TCMALLOC' \ 113 '-DDISABLE_NACL' \ 114 '-DCHROMIUM_BUILD' \ 115 '-DUSE_LIBJPEG_TURBO=1' \ 116 '-DENABLE_WEBRTC=1' \ 117 '-DUSE_PROPRIETARY_CODECS' \ 118 '-DENABLE_BROWSER_CDMS' \ 119 '-DENABLE_CONFIGURATION_POLICY' \ 120 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 121 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 122 '-DENABLE_EGLIMAGE=1' \ 123 '-DCLD_VERSION=1' \ 124 '-DENABLE_PRINTING=1' \ 125 '-DENABLE_MANAGED_USERS=1' \ 126 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 127 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 128 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 129 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 130 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 131 '-DVIDEO_HOLE=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_GETTOPDEVICE' \ 141 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 142 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 143 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 144 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 145 '-DSK_IGNORE_ETC1_SUPPORT' \ 146 '-DSK_IGNORE_GPU_DITHER' \ 147 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 148 '-DSK_BUILD_FOR_ANDROID' \ 149 '-DSK_USE_POSIX_THREADS' \ 150 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 151 '-DU_USING_ICU_NAMESPACE=0' \ 152 '-DFEATURE_ENABLE_SSL' \ 153 '-DFEATURE_ENABLE_VOICEMAIL' \ 154 '-DEXPAT_RELATIVE_PATH' \ 155 '-DGTEST_RELATIVE_PATH' \ 156 '-DNO_MAIN_THREAD_WRAPPING' \ 157 '-DNO_SOUND_SYSTEM' \ 158 '-DANDROID' \ 159 '-DPOSIX' \ 160 '-DCUSTOM_BASICTYPES="base/basictypes.h"' \ 161 '-DCUSTOM_SCOPED_PTR="base/memory/scoped_ptr.h"' \ 162 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 163 '-DPROTOBUF_USE_DLLS' \ 164 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 165 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 166 '-DPOSIX_AVOID_MMAP' \ 167 '-DUSE_OPENSSL=1' \ 168 '-DUSE_OPENSSL_CERTS=1' \ 169 '-D__STDC_CONSTANT_MACROS' \ 170 '-D__STDC_FORMAT_MACROS' \ 171 '-D__GNU_SOURCE=1' \ 172 '-DUSE_STLPORT=1' \ 173 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 174 '-DCHROME_BUILD_ID=""' \ 175 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 176 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 177 '-D_DEBUG' 178 179 180 # Include paths placed before CFLAGS/CPPFLAGS 181 LOCAL_C_INCLUDES_Debug := \ 182 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 183 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 184 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 185 $(gyp_shared_intermediate_dir) \ 186 $(LOCAL_PATH) \ 187 $(LOCAL_PATH)/skia/config \ 188 $(LOCAL_PATH)/third_party/khronos \ 189 $(LOCAL_PATH)/gpu \ 190 $(LOCAL_PATH)/third_party/WebKit/Source \ 191 $(LOCAL_PATH)/third_party/skia/src/core \ 192 $(LOCAL_PATH)/third_party/skia/include/core \ 193 $(LOCAL_PATH)/third_party/skia/include/effects \ 194 $(LOCAL_PATH)/third_party/skia/include/pdf \ 195 $(LOCAL_PATH)/third_party/skia/include/gpu \ 196 $(LOCAL_PATH)/third_party/skia/include/lazy \ 197 $(LOCAL_PATH)/third_party/skia/include/pathops \ 198 $(LOCAL_PATH)/third_party/skia/include/pipe \ 199 $(LOCAL_PATH)/third_party/skia/include/ports \ 200 $(LOCAL_PATH)/third_party/skia/include/utils \ 201 $(LOCAL_PATH)/skia/ext \ 202 $(LOCAL_PATH)/third_party/fips181 \ 203 $(PWD)/external/icu/icu4c/source/common \ 204 $(PWD)/external/icu/icu4c/source/i18n \ 205 $(LOCAL_PATH)/third_party/libjingle/overrides \ 206 $(LOCAL_PATH)/third_party/libjingle/source \ 207 $(LOCAL_PATH)/third_party/webrtc/overrides \ 208 $(LOCAL_PATH)/testing/gtest/include \ 209 $(LOCAL_PATH)/third_party \ 210 $(LOCAL_PATH)/third_party/webrtc \ 211 $(PWD)/external/expat/lib \ 212 $(LOCAL_PATH)/third_party/libaddressinput/chromium/cpp/include \ 213 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 214 $(LOCAL_PATH)/third_party/libphonenumber/src \ 215 $(gyp_shared_intermediate_dir)/protoc_out \ 216 $(LOCAL_PATH)/third_party/protobuf \ 217 $(LOCAL_PATH)/third_party/protobuf/src \ 218 $(gyp_shared_intermediate_dir)/components \ 219 $(gyp_shared_intermediate_dir)/components/strings \ 220 $(PWD)/frameworks/wilhelm/include \ 221 $(PWD)/bionic \ 222 $(PWD)/external/stlport/stlport 223 224 225 # Flags passed to only C++ (and not C) files. 226 LOCAL_CPPFLAGS_Debug := \ 227 -fno-rtti \ 228 -fno-threadsafe-statics \ 229 -fvisibility-inlines-hidden \ 230 -Wsign-compare \ 231 -Wno-non-virtual-dtor \ 232 -Wno-sign-promo 233 234 235 LOCAL_FDO_SUPPORT_Debug := false 236 237 # Flags passed to both C and C++ files. 238 MY_CFLAGS_Release := \ 239 --param=ssp-buffer-size=4 \ 240 -Werror \ 241 -fno-exceptions \ 242 -fno-strict-aliasing \ 243 -Wall \ 244 -Wno-unused-parameter \ 245 -Wno-missing-field-initializers \ 246 -fvisibility=hidden \ 247 -pipe \ 248 -fPIC \ 249 -Wno-unused-local-typedefs \ 250 -ffunction-sections \ 251 -funwind-tables \ 252 -g \ 253 -fno-short-enums \ 254 -finline-limit=64 \ 255 -Wa,--noexecstack \ 256 -U_FORTIFY_SOURCE \ 257 -Wno-extra \ 258 -Wno-ignored-qualifiers \ 259 -Wno-type-limits \ 260 -Wno-unused-but-set-variable \ 261 -Os \ 262 -fno-ident \ 263 -fdata-sections \ 264 -ffunction-sections \ 265 -funwind-tables 266 267 MY_DEFS_Release := \ 268 '-DV8_DEPRECATION_WARNINGS' \ 269 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 270 '-D_FILE_OFFSET_BITS=64' \ 271 '-DNO_TCMALLOC' \ 272 '-DDISABLE_NACL' \ 273 '-DCHROMIUM_BUILD' \ 274 '-DUSE_LIBJPEG_TURBO=1' \ 275 '-DENABLE_WEBRTC=1' \ 276 '-DUSE_PROPRIETARY_CODECS' \ 277 '-DENABLE_BROWSER_CDMS' \ 278 '-DENABLE_CONFIGURATION_POLICY' \ 279 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 280 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 281 '-DENABLE_EGLIMAGE=1' \ 282 '-DCLD_VERSION=1' \ 283 '-DENABLE_PRINTING=1' \ 284 '-DENABLE_MANAGED_USERS=1' \ 285 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 286 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 287 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 288 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 289 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 290 '-DVIDEO_HOLE=1' \ 291 '-DMOJO_USE_SYSTEM_IMPL' \ 292 '-DSK_ENABLE_INST_COUNT=0' \ 293 '-DSK_SUPPORT_GPU=1' \ 294 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 295 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 296 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 297 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 298 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 299 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 300 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 301 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 302 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 303 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 304 '-DSK_IGNORE_ETC1_SUPPORT' \ 305 '-DSK_IGNORE_GPU_DITHER' \ 306 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 307 '-DSK_BUILD_FOR_ANDROID' \ 308 '-DSK_USE_POSIX_THREADS' \ 309 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 310 '-DU_USING_ICU_NAMESPACE=0' \ 311 '-DFEATURE_ENABLE_SSL' \ 312 '-DFEATURE_ENABLE_VOICEMAIL' \ 313 '-DEXPAT_RELATIVE_PATH' \ 314 '-DGTEST_RELATIVE_PATH' \ 315 '-DNO_MAIN_THREAD_WRAPPING' \ 316 '-DNO_SOUND_SYSTEM' \ 317 '-DANDROID' \ 318 '-DPOSIX' \ 319 '-DCUSTOM_BASICTYPES="base/basictypes.h"' \ 320 '-DCUSTOM_SCOPED_PTR="base/memory/scoped_ptr.h"' \ 321 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 322 '-DPROTOBUF_USE_DLLS' \ 323 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 324 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 325 '-DPOSIX_AVOID_MMAP' \ 326 '-DUSE_OPENSSL=1' \ 327 '-DUSE_OPENSSL_CERTS=1' \ 328 '-D__STDC_CONSTANT_MACROS' \ 329 '-D__STDC_FORMAT_MACROS' \ 330 '-D__GNU_SOURCE=1' \ 331 '-DUSE_STLPORT=1' \ 332 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 333 '-DCHROME_BUILD_ID=""' \ 334 '-DNDEBUG' \ 335 '-DNVALGRIND' \ 336 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 337 '-D_FORTIFY_SOURCE=2' 338 339 340 # Include paths placed before CFLAGS/CPPFLAGS 341 LOCAL_C_INCLUDES_Release := \ 342 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 343 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 344 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 345 $(gyp_shared_intermediate_dir) \ 346 $(LOCAL_PATH) \ 347 $(LOCAL_PATH)/skia/config \ 348 $(LOCAL_PATH)/third_party/khronos \ 349 $(LOCAL_PATH)/gpu \ 350 $(LOCAL_PATH)/third_party/WebKit/Source \ 351 $(LOCAL_PATH)/third_party/skia/src/core \ 352 $(LOCAL_PATH)/third_party/skia/include/core \ 353 $(LOCAL_PATH)/third_party/skia/include/effects \ 354 $(LOCAL_PATH)/third_party/skia/include/pdf \ 355 $(LOCAL_PATH)/third_party/skia/include/gpu \ 356 $(LOCAL_PATH)/third_party/skia/include/lazy \ 357 $(LOCAL_PATH)/third_party/skia/include/pathops \ 358 $(LOCAL_PATH)/third_party/skia/include/pipe \ 359 $(LOCAL_PATH)/third_party/skia/include/ports \ 360 $(LOCAL_PATH)/third_party/skia/include/utils \ 361 $(LOCAL_PATH)/skia/ext \ 362 $(LOCAL_PATH)/third_party/fips181 \ 363 $(PWD)/external/icu/icu4c/source/common \ 364 $(PWD)/external/icu/icu4c/source/i18n \ 365 $(LOCAL_PATH)/third_party/libjingle/overrides \ 366 $(LOCAL_PATH)/third_party/libjingle/source \ 367 $(LOCAL_PATH)/third_party/webrtc/overrides \ 368 $(LOCAL_PATH)/testing/gtest/include \ 369 $(LOCAL_PATH)/third_party \ 370 $(LOCAL_PATH)/third_party/webrtc \ 371 $(PWD)/external/expat/lib \ 372 $(LOCAL_PATH)/third_party/libaddressinput/chromium/cpp/include \ 373 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 374 $(LOCAL_PATH)/third_party/libphonenumber/src \ 375 $(gyp_shared_intermediate_dir)/protoc_out \ 376 $(LOCAL_PATH)/third_party/protobuf \ 377 $(LOCAL_PATH)/third_party/protobuf/src \ 378 $(gyp_shared_intermediate_dir)/components \ 379 $(gyp_shared_intermediate_dir)/components/strings \ 380 $(PWD)/frameworks/wilhelm/include \ 381 $(PWD)/bionic \ 382 $(PWD)/external/stlport/stlport 383 384 385 # Flags passed to only C++ (and not C) files. 386 LOCAL_CPPFLAGS_Release := \ 387 -fno-rtti \ 388 -fno-threadsafe-statics \ 389 -fvisibility-inlines-hidden \ 390 -Wsign-compare \ 391 -Wno-non-virtual-dtor \ 392 -Wno-sign-promo 393 394 395 LOCAL_FDO_SUPPORT_Release := false 396 397 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 398 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 399 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 400 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 401 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 402 ### Rules for final target. 403 404 LOCAL_LDFLAGS_Debug := \ 405 -Wl,-z,now \ 406 -Wl,-z,relro \ 407 -Wl,--fatal-warnings \ 408 -Wl,-z,noexecstack \ 409 -fPIC \ 410 -nostdlib \ 411 -Wl,--no-undefined \ 412 -Wl,--exclude-libs=ALL \ 413 -Wl,--warn-shared-textrel \ 414 -Wl,-O1 \ 415 -Wl,--as-needed 416 417 418 LOCAL_LDFLAGS_Release := \ 419 -Wl,-z,now \ 420 -Wl,-z,relro \ 421 -Wl,--fatal-warnings \ 422 -Wl,-z,noexecstack \ 423 -fPIC \ 424 -nostdlib \ 425 -Wl,--no-undefined \ 426 -Wl,--exclude-libs=ALL \ 427 -Wl,-O1 \ 428 -Wl,--as-needed \ 429 -Wl,--gc-sections \ 430 -Wl,--warn-shared-textrel 431 432 433 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 434 435 LOCAL_STATIC_LIBRARIES := \ 436 skia_skia_library_gyp \ 437 third_party_libphonenumber_libphonenumber_without_metadata_gyp \ 438 ui_base_ui_base_gyp 439 440 # Enable grouping to fix circular references 441 LOCAL_GROUP_STATIC_LIBRARIES := true 442 443 LOCAL_SHARED_LIBRARIES := \ 444 libstlport \ 445 libdl 446 447 # Add target alias to "gyp_all_modules" target. 448 .PHONY: gyp_all_modules 449 gyp_all_modules: components_autofill_core_browser_gyp 450 451 # Alias gyp target name. 452 .PHONY: autofill_core_browser 453 autofill_core_browser: components_autofill_core_browser_gyp 454 455 include $(BUILD_STATIC_LIBRARY) 456