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