autofill_core_browser.target.linux-x86.mk revision a3f6a49ab37290eeeb8db0f41ec0f1cb74a68be7
1263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregor# This file is generated by gyp; do not edit. 2263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregor 3263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregorinclude $(CLEAR_VARS) 4263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregor 5263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas GregorLOCAL_MODULE_CLASS := STATIC_LIBRARIES 6263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas GregorLOCAL_MODULE := components_autofill_core_browser_gyp 7263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas GregorLOCAL_MODULE_SUFFIX := .a 8263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas GregorLOCAL_MODULE_TAGS := optional 9263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregorgyp_intermediate_dir := $(call local-intermediates-dir) 10263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregorgyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregor 12263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregor# Make sure our deps are built first. 133064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed KremenekGYP_TARGET_DEPENDENCIES := \ 143064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,GYP,components_autofill_regexes_gyp)/autofill_regexes.stamp \ 153064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 163064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp)/skia_skia_library_gyp.a \ 173064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \ 183064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp \ 193064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libphonenumber_libphonenumber_without_metadata_gyp)/third_party_libphonenumber_libphonenumber_without_metadata_gyp.a \ 203064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ 213064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,GYP,webkit_webkit_resources_gyp)/webkit_resources.stamp \ 223064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek $(call intermediates-dir-for,GYP,components_component_strings_gyp)/component_strings.stamp 233064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek 243064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed KremenekGYP_GENERATED_OUTPUTS := 253064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek 263064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek# Make sure our deps and generated files are built first. 273064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed KremenekLOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 28948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor 29948022908d0c16acc3411fdec15aeb1790ffaa86Douglas GregorLOCAL_CPP_EXTENSION := .cc 30948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor$(gyp_intermediate_dir)/autofill_regex_constants.cc: $(gyp_shared_intermediate_dir)/autofill_regex_constants.cc 31948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor mkdir -p $(@D); cp $< $@ 32948022908d0c16acc3411fdec15aeb1790ffaa86Douglas GregorLOCAL_GENERATED_SOURCES := \ 33948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor $(gyp_intermediate_dir)/autofill_regex_constants.cc 34948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor 35948022908d0c16acc3411fdec15aeb1790ffaa86Douglas GregorGYP_COPIED_SOURCE_ORIGIN_DIRS := \ 366f7198f6380581645f416dd48a0079f83d89e884Douglas Gregor $(gyp_shared_intermediate_dir) 376f7198f6380581645f416dd48a0079f83d89e884Douglas Gregor 386f7198f6380581645f416dd48a0079f83d89e884Douglas GregorLOCAL_SRC_FILES := \ 39948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor components/autofill/core/browser/address.cc \ 40948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor components/autofill/core/browser/address_field.cc \ 418ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autocomplete_history_manager.cc \ 428ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_country.cc \ 438ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_data_model.cc \ 448ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_download.cc \ 458ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_download_url.cc \ 468ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_external_delegate.cc \ 478ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_field.cc \ 488ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_manager.cc \ 498ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_metrics.cc \ 508ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor components/autofill/core/browser/autofill_profile.cc \ 51263b47b6272bfd3ea1c0e61b7ac404e7b2e0f759Douglas Gregor components/autofill/core/browser/autofill_regexes.cc \ 529a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/autofill_scanner.cc \ 539a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/autofill_type.cc \ 549a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/autofill_xml_parser.cc \ 559a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/contact_info.cc \ 569a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/credit_card.cc \ 579a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/credit_card_field.cc \ 589a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/email_field.cc \ 599a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/form_field.cc \ 609a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/form_group.cc \ 618f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/form_structure.cc \ 628f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/name_field.cc \ 638f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/password_autofill_manager.cc \ 648f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/password_generator.cc \ 658f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/personal_data_manager.cc \ 668f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/phone_field.cc \ 678f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/phone_number.cc \ 688f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/phone_number_i18n.cc \ 698f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/state_names.cc \ 708f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/validation.cc \ 719a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/webdata/autofill_change.cc \ 729a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek components/autofill/core/browser/webdata/autofill_entry.cc \ 738f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/webdata/autofill_table.cc \ 748f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/webdata/autofill_webdata_backend_impl.cc \ 758f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar components/autofill/core/browser/webdata/autofill_webdata_service.cc 768f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar 778f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar 788f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar# Flags passed to both C and C++ files. 799a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed KremenekMY_CFLAGS_Debug := \ 809a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek --param=ssp-buffer-size=4 \ 818f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -Werror \ 828f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -fno-exceptions \ 838f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -fno-strict-aliasing \ 848f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -Wall \ 858f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -Wno-unused-parameter \ 868f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -Wno-missing-field-initializers \ 879a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek -fvisibility=hidden \ 889a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek -pipe \ 898f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -fPIC \ 908f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -m32 \ 918f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -mmmx \ 928f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -march=pentium4 \ 939a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek -msse2 \ 949a700d277c38d9afaa7cb3fe93a714bfe9b62eecTed Kremenek -mfpmath=sse \ 958f0bf81c0f3ab31881cc7db7914e6978bb2a19afDaniel Dunbar -fuse-ld=gold \ 960f91f6a2eacf29fb69b1b0c3131eb0385aad5777Ted Kremenek -ffunction-sections \ 973064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -funwind-tables \ 983064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -g \ 993064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -fno-short-enums \ 1003064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -finline-limit=64 \ 1013064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -Wa,--noexecstack \ 1023064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -U_FORTIFY_SOURCE \ 1033064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -Wno-extra \ 1043064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -Wno-ignored-qualifiers \ 1053064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -Wno-type-limits \ 1063064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -fno-stack-protector \ 1073064ef9e604d19a0cfd0d8e3ed3055bfd83f88fdTed Kremenek -Os \ 108948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor -g \ 109948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor -fomit-frame-pointer \ 110948022908d0c16acc3411fdec15aeb1790ffaa86Douglas Gregor -fdata-sections \ 1116f7198f6380581645f416dd48a0079f83d89e884Douglas Gregor -ffunction-sections 1126f7198f6380581645f416dd48a0079f83d89e884Douglas Gregor 1136f7198f6380581645f416dd48a0079f83d89e884Douglas GregorMY_DEFS_Debug := \ 1146f7198f6380581645f416dd48a0079f83d89e884Douglas Gregor '-DANGLE_DX11' \ 1156f7198f6380581645f416dd48a0079f83d89e884Douglas Gregor '-DV8_DEPRECATION_WARNINGS' \ 1168ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor '-D_FILE_OFFSET_BITS=64' \ 1178ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor '-DNO_TCMALLOC' \ 1188ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor '-DDISABLE_NACL' \ 1198ab670ee2b8147da63d1f282d928e754e4e97408Douglas Gregor '-DCHROMIUM_BUILD' \ 120 '-DUSE_LIBJPEG_TURBO=1' \ 121 '-DUSE_PROPRIETARY_CODECS' \ 122 '-DENABLE_CONFIGURATION_POLICY' \ 123 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 124 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 125 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 126 '-DUSE_OPENSSL=1' \ 127 '-DENABLE_EGLIMAGE=1' \ 128 '-DCLD_VERSION=1' \ 129 '-DENABLE_PRINTING=1' \ 130 '-DENABLE_MANAGED_USERS=1' \ 131 '-DSK_ENABLE_INST_COUNT=0' \ 132 '-DSK_SUPPORT_GPU=1' \ 133 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 134 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 135 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 136 '-DSK_SUPPORT_LEGACY_COLORTYPE=1' \ 137 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 138 '-DSK_BUILD_FOR_ANDROID' \ 139 '-DSK_USE_POSIX_THREADS' \ 140 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 141 '-DU_USING_ICU_NAMESPACE=0' \ 142 '-DFEATURE_ENABLE_SSL' \ 143 '-DFEATURE_ENABLE_VOICEMAIL' \ 144 '-DEXPAT_RELATIVE_PATH' \ 145 '-DGTEST_RELATIVE_PATH' \ 146 '-DJSONCPP_RELATIVE_PATH' \ 147 '-DNO_MAIN_THREAD_WRAPPING' \ 148 '-DNO_SOUND_SYSTEM' \ 149 '-DANDROID' \ 150 '-DPOSIX' \ 151 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 152 '-DPROTOBUF_USE_DLLS' \ 153 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 154 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 155 '-D__STDC_CONSTANT_MACROS' \ 156 '-D__STDC_FORMAT_MACROS' \ 157 '-D__GNU_SOURCE=1' \ 158 '-DUSE_STLPORT=1' \ 159 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 160 '-DCHROME_BUILD_ID=""' \ 161 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 162 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 163 '-D_DEBUG' 164 165 166# Include paths placed before CFLAGS/CPPFLAGS 167LOCAL_C_INCLUDES_Debug := \ 168 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 169 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 170 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 171 $(LOCAL_PATH) \ 172 $(LOCAL_PATH)/skia/config \ 173 $(LOCAL_PATH)/third_party/khronos \ 174 $(LOCAL_PATH)/gpu \ 175 $(LOCAL_PATH)/third_party/WebKit/Source \ 176 $(LOCAL_PATH)/third_party/skia/src/core \ 177 $(LOCAL_PATH)/third_party/skia/include/core \ 178 $(LOCAL_PATH)/third_party/skia/include/effects \ 179 $(LOCAL_PATH)/third_party/skia/include/pdf \ 180 $(LOCAL_PATH)/third_party/skia/include/gpu \ 181 $(LOCAL_PATH)/third_party/skia/include/lazy \ 182 $(LOCAL_PATH)/third_party/skia/include/pathops \ 183 $(LOCAL_PATH)/third_party/skia/include/pipe \ 184 $(LOCAL_PATH)/third_party/skia/include/ports \ 185 $(LOCAL_PATH)/third_party/skia/include/utils \ 186 $(LOCAL_PATH)/skia/ext \ 187 $(PWD)/external/icu4c/common \ 188 $(PWD)/external/icu4c/i18n \ 189 $(LOCAL_PATH)/third_party/libjingle/overrides \ 190 $(LOCAL_PATH)/third_party/libjingle/source \ 191 $(LOCAL_PATH)/testing/gtest/include \ 192 $(LOCAL_PATH)/third_party \ 193 $(LOCAL_PATH)/third_party/webrtc \ 194 $(PWD)/external/expat/lib \ 195 $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ 196 $(LOCAL_PATH)/third_party/jsoncpp/source/include \ 197 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 198 $(LOCAL_PATH)/third_party/libphonenumber/src \ 199 $(gyp_shared_intermediate_dir)/protoc_out \ 200 $(LOCAL_PATH)/third_party/protobuf \ 201 $(LOCAL_PATH)/third_party/protobuf/src \ 202 $(gyp_shared_intermediate_dir)/webkit \ 203 $(gyp_shared_intermediate_dir)/components/strings \ 204 $(PWD)/frameworks/wilhelm/include \ 205 $(PWD)/bionic \ 206 $(PWD)/external/stlport/stlport 207 208 209# Flags passed to only C++ (and not C) files. 210LOCAL_CPPFLAGS_Debug := \ 211 -fno-rtti \ 212 -fno-threadsafe-statics \ 213 -fvisibility-inlines-hidden \ 214 -Wsign-compare \ 215 -Wno-error=c++0x-compat \ 216 -Wno-non-virtual-dtor \ 217 -Wno-sign-promo 218 219 220# Flags passed to both C and C++ files. 221MY_CFLAGS_Release := \ 222 --param=ssp-buffer-size=4 \ 223 -Werror \ 224 -fno-exceptions \ 225 -fno-strict-aliasing \ 226 -Wall \ 227 -Wno-unused-parameter \ 228 -Wno-missing-field-initializers \ 229 -fvisibility=hidden \ 230 -pipe \ 231 -fPIC \ 232 -m32 \ 233 -mmmx \ 234 -march=pentium4 \ 235 -msse2 \ 236 -mfpmath=sse \ 237 -fuse-ld=gold \ 238 -ffunction-sections \ 239 -funwind-tables \ 240 -g \ 241 -fno-short-enums \ 242 -finline-limit=64 \ 243 -Wa,--noexecstack \ 244 -U_FORTIFY_SOURCE \ 245 -Wno-extra \ 246 -Wno-ignored-qualifiers \ 247 -Wno-type-limits \ 248 -fno-stack-protector \ 249 -Os \ 250 -fno-ident \ 251 -fdata-sections \ 252 -ffunction-sections \ 253 -fomit-frame-pointer \ 254 -fno-unwind-tables \ 255 -fno-asynchronous-unwind-tables 256 257MY_DEFS_Release := \ 258 '-DANGLE_DX11' \ 259 '-DV8_DEPRECATION_WARNINGS' \ 260 '-D_FILE_OFFSET_BITS=64' \ 261 '-DNO_TCMALLOC' \ 262 '-DDISABLE_NACL' \ 263 '-DCHROMIUM_BUILD' \ 264 '-DUSE_LIBJPEG_TURBO=1' \ 265 '-DUSE_PROPRIETARY_CODECS' \ 266 '-DENABLE_CONFIGURATION_POLICY' \ 267 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 268 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 269 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 270 '-DUSE_OPENSSL=1' \ 271 '-DENABLE_EGLIMAGE=1' \ 272 '-DCLD_VERSION=1' \ 273 '-DENABLE_PRINTING=1' \ 274 '-DENABLE_MANAGED_USERS=1' \ 275 '-DSK_ENABLE_INST_COUNT=0' \ 276 '-DSK_SUPPORT_GPU=1' \ 277 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 278 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 279 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 280 '-DSK_SUPPORT_LEGACY_COLORTYPE=1' \ 281 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 282 '-DSK_BUILD_FOR_ANDROID' \ 283 '-DSK_USE_POSIX_THREADS' \ 284 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 285 '-DU_USING_ICU_NAMESPACE=0' \ 286 '-DFEATURE_ENABLE_SSL' \ 287 '-DFEATURE_ENABLE_VOICEMAIL' \ 288 '-DEXPAT_RELATIVE_PATH' \ 289 '-DGTEST_RELATIVE_PATH' \ 290 '-DJSONCPP_RELATIVE_PATH' \ 291 '-DNO_MAIN_THREAD_WRAPPING' \ 292 '-DNO_SOUND_SYSTEM' \ 293 '-DANDROID' \ 294 '-DPOSIX' \ 295 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 296 '-DPROTOBUF_USE_DLLS' \ 297 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 298 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 299 '-D__STDC_CONSTANT_MACROS' \ 300 '-D__STDC_FORMAT_MACROS' \ 301 '-D__GNU_SOURCE=1' \ 302 '-DUSE_STLPORT=1' \ 303 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 304 '-DCHROME_BUILD_ID=""' \ 305 '-DNDEBUG' \ 306 '-DNVALGRIND' \ 307 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 308 '-D_FORTIFY_SOURCE=2' 309 310 311# Include paths placed before CFLAGS/CPPFLAGS 312LOCAL_C_INCLUDES_Release := \ 313 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 314 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 315 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 316 $(LOCAL_PATH) \ 317 $(LOCAL_PATH)/skia/config \ 318 $(LOCAL_PATH)/third_party/khronos \ 319 $(LOCAL_PATH)/gpu \ 320 $(LOCAL_PATH)/third_party/WebKit/Source \ 321 $(LOCAL_PATH)/third_party/skia/src/core \ 322 $(LOCAL_PATH)/third_party/skia/include/core \ 323 $(LOCAL_PATH)/third_party/skia/include/effects \ 324 $(LOCAL_PATH)/third_party/skia/include/pdf \ 325 $(LOCAL_PATH)/third_party/skia/include/gpu \ 326 $(LOCAL_PATH)/third_party/skia/include/lazy \ 327 $(LOCAL_PATH)/third_party/skia/include/pathops \ 328 $(LOCAL_PATH)/third_party/skia/include/pipe \ 329 $(LOCAL_PATH)/third_party/skia/include/ports \ 330 $(LOCAL_PATH)/third_party/skia/include/utils \ 331 $(LOCAL_PATH)/skia/ext \ 332 $(PWD)/external/icu4c/common \ 333 $(PWD)/external/icu4c/i18n \ 334 $(LOCAL_PATH)/third_party/libjingle/overrides \ 335 $(LOCAL_PATH)/third_party/libjingle/source \ 336 $(LOCAL_PATH)/testing/gtest/include \ 337 $(LOCAL_PATH)/third_party \ 338 $(LOCAL_PATH)/third_party/webrtc \ 339 $(PWD)/external/expat/lib \ 340 $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ 341 $(LOCAL_PATH)/third_party/jsoncpp/source/include \ 342 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 343 $(LOCAL_PATH)/third_party/libphonenumber/src \ 344 $(gyp_shared_intermediate_dir)/protoc_out \ 345 $(LOCAL_PATH)/third_party/protobuf \ 346 $(LOCAL_PATH)/third_party/protobuf/src \ 347 $(gyp_shared_intermediate_dir)/webkit \ 348 $(gyp_shared_intermediate_dir)/components/strings \ 349 $(PWD)/frameworks/wilhelm/include \ 350 $(PWD)/bionic \ 351 $(PWD)/external/stlport/stlport 352 353 354# Flags passed to only C++ (and not C) files. 355LOCAL_CPPFLAGS_Release := \ 356 -fno-rtti \ 357 -fno-threadsafe-statics \ 358 -fvisibility-inlines-hidden \ 359 -Wsign-compare \ 360 -Wno-error=c++0x-compat \ 361 -Wno-non-virtual-dtor \ 362 -Wno-sign-promo 363 364 365LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 366LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 367LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 368### Rules for final target. 369 370LOCAL_LDFLAGS_Debug := \ 371 -Wl,-z,now \ 372 -Wl,-z,relro \ 373 -Wl,-z,noexecstack \ 374 -fPIC \ 375 -m32 \ 376 -fuse-ld=gold \ 377 -nostdlib \ 378 -Wl,--no-undefined \ 379 -Wl,--exclude-libs=ALL \ 380 -Wl,--fatal-warnings \ 381 -Wl,--gc-sections \ 382 -Wl,--warn-shared-textrel \ 383 -Wl,-O1 \ 384 -Wl,--as-needed 385 386 387LOCAL_LDFLAGS_Release := \ 388 -Wl,-z,now \ 389 -Wl,-z,relro \ 390 -Wl,-z,noexecstack \ 391 -fPIC \ 392 -m32 \ 393 -fuse-ld=gold \ 394 -nostdlib \ 395 -Wl,--no-undefined \ 396 -Wl,--exclude-libs=ALL \ 397 -Wl,-O1 \ 398 -Wl,--as-needed \ 399 -Wl,--gc-sections \ 400 -Wl,--fatal-warnings \ 401 -Wl,--warn-shared-textrel 402 403 404LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 405 406LOCAL_STATIC_LIBRARIES := \ 407 skia_skia_library_gyp \ 408 third_party_libphonenumber_libphonenumber_without_metadata_gyp \ 409 ui_ui_gyp 410 411# Enable grouping to fix circular references 412LOCAL_GROUP_STATIC_LIBRARIES := true 413 414LOCAL_SHARED_LIBRARIES := \ 415 libstlport \ 416 libdl 417 418# Add target alias to "gyp_all_modules" target. 419.PHONY: gyp_all_modules 420gyp_all_modules: components_autofill_core_browser_gyp 421 422# Alias gyp target name. 423.PHONY: autofill_core_browser 424autofill_core_browser: components_autofill_core_browser_gyp 425 426include $(BUILD_STATIC_LIBRARY) 427