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