autofill_core_browser.target.linux-x86.mk revision a3f7b4e666c476898878fa745f637129375cd889
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 9gyp_intermediate_dir := $(call local-intermediates-dir) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,components_autofill_regexes_gyp)/autofill_regexes.stamp \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp)/skia_skia_library_gyp.a \ 17 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \ 18 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/icuuc.stamp \ 19 $(call intermediates-dir-for,STATIC_LIBRARIES,third_party_libphonenumber_libphonenumber_without_metadata_gyp)/third_party_libphonenumber_libphonenumber_without_metadata_gyp.a \ 20 $(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \ 21 $(call intermediates-dir-for,GYP,webkit_webkit_resources_gyp)/webkit_resources.stamp \ 22 $(call intermediates-dir-for,GYP,components_component_strings_gyp)/component_strings.stamp 23 24GYP_GENERATED_OUTPUTS := 25 26# Make sure our deps and generated files are built first. 27LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 28 29LOCAL_CPP_EXTENSION := .cc 30$(gyp_intermediate_dir)/autofill_regex_constants.cc: $(gyp_shared_intermediate_dir)/autofill_regex_constants.cc 31 mkdir -p $(@D); cp $< $@ 32LOCAL_GENERATED_SOURCES := \ 33 $(gyp_intermediate_dir)/autofill_regex_constants.cc 34 35GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 36 $(gyp_shared_intermediate_dir) 37 38LOCAL_SRC_FILES := \ 39 components/autofill/core/browser/address.cc \ 40 components/autofill/core/browser/address_field.cc \ 41 components/autofill/core/browser/autocomplete_history_manager.cc \ 42 components/autofill/core/browser/autofill_country.cc \ 43 components/autofill/core/browser/autofill_data_model.cc \ 44 components/autofill/core/browser/autofill_download.cc \ 45 components/autofill/core/browser/autofill_download_url.cc \ 46 components/autofill/core/browser/autofill_external_delegate.cc \ 47 components/autofill/core/browser/autofill_field.cc \ 48 components/autofill/core/browser/autofill_manager.cc \ 49 components/autofill/core/browser/autofill_metrics.cc \ 50 components/autofill/core/browser/autofill_profile.cc \ 51 components/autofill/core/browser/autofill_regexes.cc \ 52 components/autofill/core/browser/autofill_scanner.cc \ 53 components/autofill/core/browser/autofill_type.cc \ 54 components/autofill/core/browser/autofill_xml_parser.cc \ 55 components/autofill/core/browser/contact_info.cc \ 56 components/autofill/core/browser/credit_card.cc \ 57 components/autofill/core/browser/credit_card_field.cc \ 58 components/autofill/core/browser/email_field.cc \ 59 components/autofill/core/browser/form_field.cc \ 60 components/autofill/core/browser/form_group.cc \ 61 components/autofill/core/browser/form_structure.cc \ 62 components/autofill/core/browser/name_field.cc \ 63 components/autofill/core/browser/password_autofill_manager.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 -m32 \ 91 -mmmx \ 92 -march=pentium4 \ 93 -msse2 \ 94 -mfpmath=sse \ 95 -fuse-ld=gold \ 96 -ffunction-sections \ 97 -funwind-tables \ 98 -g \ 99 -fno-short-enums \ 100 -finline-limit=64 \ 101 -Wa,--noexecstack \ 102 -U_FORTIFY_SOURCE \ 103 -Wno-extra \ 104 -Wno-ignored-qualifiers \ 105 -Wno-type-limits \ 106 -fno-stack-protector \ 107 -Os \ 108 -g \ 109 -fomit-frame-pointer \ 110 -fdata-sections \ 111 -ffunction-sections 112 113MY_DEFS_Debug := \ 114 '-DANGLE_DX11' \ 115 '-D_FILE_OFFSET_BITS=64' \ 116 '-DNO_TCMALLOC' \ 117 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 118 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 119 '-DDISABLE_NACL' \ 120 '-DCHROMIUM_BUILD' \ 121 '-DUSE_LIBJPEG_TURBO=1' \ 122 '-DUSE_PROPRIETARY_CODECS' \ 123 '-DENABLE_CONFIGURATION_POLICY' \ 124 '-DENABLE_GPU=1' \ 125 '-DUSE_OPENSSL=1' \ 126 '-DENABLE_EGLIMAGE=1' \ 127 '-DSK_ENABLE_INST_COUNT=0' \ 128 '-DSK_SUPPORT_GPU=1' \ 129 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 130 '-DSK_BUILD_FOR_ANDROID' \ 131 '-DUSE_CHROMIUM_SKIA' \ 132 '-DSK_USE_POSIX_THREADS' \ 133 '-DU_USING_ICU_NAMESPACE=0' \ 134 '-DFEATURE_ENABLE_SSL' \ 135 '-DFEATURE_ENABLE_VOICEMAIL' \ 136 '-DEXPAT_RELATIVE_PATH' \ 137 '-DGTEST_RELATIVE_PATH' \ 138 '-DJSONCPP_RELATIVE_PATH' \ 139 '-DNO_MAIN_THREAD_WRAPPING' \ 140 '-DNO_SOUND_SYSTEM' \ 141 '-DANDROID' \ 142 '-DPOSIX' \ 143 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 144 '-DPROTOBUF_USE_DLLS' \ 145 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 146 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 147 '-D__STDC_CONSTANT_MACROS' \ 148 '-D__STDC_FORMAT_MACROS' \ 149 '-D__GNU_SOURCE=1' \ 150 '-DUSE_STLPORT=1' \ 151 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 152 '-DCHROME_BUILD_ID=""' \ 153 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 154 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 155 '-D_DEBUG' 156 157 158# Include paths placed before CFLAGS/CPPFLAGS 159LOCAL_C_INCLUDES_Debug := \ 160 $(LOCAL_PATH) \ 161 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 162 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 163 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 164 $(LOCAL_PATH)/third_party/khronos \ 165 $(LOCAL_PATH)/gpu \ 166 $(LOCAL_PATH)/third_party/skia/src/core \ 167 $(LOCAL_PATH)/skia/config \ 168 $(LOCAL_PATH)/third_party/skia/include/config \ 169 $(LOCAL_PATH)/third_party/skia/include/core \ 170 $(LOCAL_PATH)/third_party/skia/include/effects \ 171 $(LOCAL_PATH)/third_party/skia/include/pdf \ 172 $(LOCAL_PATH)/third_party/skia/include/gpu \ 173 $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ 174 $(LOCAL_PATH)/third_party/skia/include/lazy \ 175 $(LOCAL_PATH)/third_party/skia/include/pathops \ 176 $(LOCAL_PATH)/third_party/skia/include/pipe \ 177 $(LOCAL_PATH)/third_party/skia/include/ports \ 178 $(LOCAL_PATH)/third_party/skia/include/utils \ 179 $(LOCAL_PATH)/skia/ext \ 180 $(PWD)/external/icu4c/common \ 181 $(PWD)/external/icu4c/i18n \ 182 $(LOCAL_PATH)/third_party/libjingle/overrides \ 183 $(LOCAL_PATH)/third_party/libjingle/source \ 184 $(LOCAL_PATH)/testing/gtest/include \ 185 $(LOCAL_PATH)/third_party \ 186 $(LOCAL_PATH)/third_party/webrtc \ 187 $(PWD)/external/expat/lib \ 188 $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ 189 $(LOCAL_PATH)/third_party/jsoncpp/source/include \ 190 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 191 $(LOCAL_PATH)/third_party/libphonenumber/src \ 192 $(gyp_shared_intermediate_dir)/protoc_out \ 193 $(LOCAL_PATH)/third_party/protobuf \ 194 $(LOCAL_PATH)/third_party/protobuf/src \ 195 $(gyp_shared_intermediate_dir)/webkit \ 196 $(gyp_shared_intermediate_dir)/components/strings \ 197 $(PWD)/frameworks/wilhelm/include \ 198 $(PWD)/bionic \ 199 $(PWD)/external/stlport/stlport 200 201 202# Flags passed to only C++ (and not C) files. 203LOCAL_CPPFLAGS_Debug := \ 204 -fno-rtti \ 205 -fno-threadsafe-statics \ 206 -fvisibility-inlines-hidden \ 207 -Wsign-compare \ 208 -Wno-error=c++0x-compat \ 209 -Wno-non-virtual-dtor \ 210 -Wno-sign-promo 211 212 213# Flags passed to both C and C++ files. 214MY_CFLAGS_Release := \ 215 --param=ssp-buffer-size=4 \ 216 -Werror \ 217 -fno-exceptions \ 218 -fno-strict-aliasing \ 219 -Wall \ 220 -Wno-unused-parameter \ 221 -Wno-missing-field-initializers \ 222 -fvisibility=hidden \ 223 -pipe \ 224 -fPIC \ 225 -m32 \ 226 -mmmx \ 227 -march=pentium4 \ 228 -msse2 \ 229 -mfpmath=sse \ 230 -fuse-ld=gold \ 231 -ffunction-sections \ 232 -funwind-tables \ 233 -g \ 234 -fno-short-enums \ 235 -finline-limit=64 \ 236 -Wa,--noexecstack \ 237 -U_FORTIFY_SOURCE \ 238 -Wno-extra \ 239 -Wno-ignored-qualifiers \ 240 -Wno-type-limits \ 241 -fno-stack-protector \ 242 -Os \ 243 -fno-ident \ 244 -fdata-sections \ 245 -ffunction-sections \ 246 -fomit-frame-pointer \ 247 -fno-unwind-tables \ 248 -fno-asynchronous-unwind-tables 249 250MY_DEFS_Release := \ 251 '-DANGLE_DX11' \ 252 '-D_FILE_OFFSET_BITS=64' \ 253 '-DNO_TCMALLOC' \ 254 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 255 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 256 '-DDISABLE_NACL' \ 257 '-DCHROMIUM_BUILD' \ 258 '-DUSE_LIBJPEG_TURBO=1' \ 259 '-DUSE_PROPRIETARY_CODECS' \ 260 '-DENABLE_CONFIGURATION_POLICY' \ 261 '-DENABLE_GPU=1' \ 262 '-DUSE_OPENSSL=1' \ 263 '-DENABLE_EGLIMAGE=1' \ 264 '-DSK_ENABLE_INST_COUNT=0' \ 265 '-DSK_SUPPORT_GPU=1' \ 266 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 267 '-DSK_BUILD_FOR_ANDROID' \ 268 '-DUSE_CHROMIUM_SKIA' \ 269 '-DSK_USE_POSIX_THREADS' \ 270 '-DU_USING_ICU_NAMESPACE=0' \ 271 '-DFEATURE_ENABLE_SSL' \ 272 '-DFEATURE_ENABLE_VOICEMAIL' \ 273 '-DEXPAT_RELATIVE_PATH' \ 274 '-DGTEST_RELATIVE_PATH' \ 275 '-DJSONCPP_RELATIVE_PATH' \ 276 '-DNO_MAIN_THREAD_WRAPPING' \ 277 '-DNO_SOUND_SYSTEM' \ 278 '-DANDROID' \ 279 '-DPOSIX' \ 280 '-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \ 281 '-DPROTOBUF_USE_DLLS' \ 282 '-DGOOGLE_PROTOBUF_NO_RTTI' \ 283 '-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \ 284 '-D__STDC_CONSTANT_MACROS' \ 285 '-D__STDC_FORMAT_MACROS' \ 286 '-D__GNU_SOURCE=1' \ 287 '-DUSE_STLPORT=1' \ 288 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 289 '-DCHROME_BUILD_ID=""' \ 290 '-DNDEBUG' \ 291 '-DNVALGRIND' \ 292 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 293 '-D_FORTIFY_SOURCE=2' 294 295 296# Include paths placed before CFLAGS/CPPFLAGS 297LOCAL_C_INCLUDES_Release := \ 298 $(LOCAL_PATH) \ 299 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 300 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 301 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 302 $(LOCAL_PATH)/third_party/khronos \ 303 $(LOCAL_PATH)/gpu \ 304 $(LOCAL_PATH)/third_party/skia/src/core \ 305 $(LOCAL_PATH)/skia/config \ 306 $(LOCAL_PATH)/third_party/skia/include/config \ 307 $(LOCAL_PATH)/third_party/skia/include/core \ 308 $(LOCAL_PATH)/third_party/skia/include/effects \ 309 $(LOCAL_PATH)/third_party/skia/include/pdf \ 310 $(LOCAL_PATH)/third_party/skia/include/gpu \ 311 $(LOCAL_PATH)/third_party/skia/include/gpu/gl \ 312 $(LOCAL_PATH)/third_party/skia/include/lazy \ 313 $(LOCAL_PATH)/third_party/skia/include/pathops \ 314 $(LOCAL_PATH)/third_party/skia/include/pipe \ 315 $(LOCAL_PATH)/third_party/skia/include/ports \ 316 $(LOCAL_PATH)/third_party/skia/include/utils \ 317 $(LOCAL_PATH)/skia/ext \ 318 $(PWD)/external/icu4c/common \ 319 $(PWD)/external/icu4c/i18n \ 320 $(LOCAL_PATH)/third_party/libjingle/overrides \ 321 $(LOCAL_PATH)/third_party/libjingle/source \ 322 $(LOCAL_PATH)/testing/gtest/include \ 323 $(LOCAL_PATH)/third_party \ 324 $(LOCAL_PATH)/third_party/webrtc \ 325 $(PWD)/external/expat/lib \ 326 $(LOCAL_PATH)/third_party/jsoncpp/overrides/include \ 327 $(LOCAL_PATH)/third_party/jsoncpp/source/include \ 328 $(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \ 329 $(LOCAL_PATH)/third_party/libphonenumber/src \ 330 $(gyp_shared_intermediate_dir)/protoc_out \ 331 $(LOCAL_PATH)/third_party/protobuf \ 332 $(LOCAL_PATH)/third_party/protobuf/src \ 333 $(gyp_shared_intermediate_dir)/webkit \ 334 $(gyp_shared_intermediate_dir)/components/strings \ 335 $(PWD)/frameworks/wilhelm/include \ 336 $(PWD)/bionic \ 337 $(PWD)/external/stlport/stlport 338 339 340# Flags passed to only C++ (and not C) files. 341LOCAL_CPPFLAGS_Release := \ 342 -fno-rtti \ 343 -fno-threadsafe-statics \ 344 -fvisibility-inlines-hidden \ 345 -Wsign-compare \ 346 -Wno-error=c++0x-compat \ 347 -Wno-non-virtual-dtor \ 348 -Wno-sign-promo 349 350 351LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 352LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 353LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 354### Rules for final target. 355 356LOCAL_LDFLAGS_Debug := \ 357 -Wl,-z,now \ 358 -Wl,-z,relro \ 359 -Wl,-z,noexecstack \ 360 -fPIC \ 361 -m32 \ 362 -fuse-ld=gold \ 363 -nostdlib \ 364 -Wl,--no-undefined \ 365 -Wl,--exclude-libs=ALL \ 366 -Wl,--gc-sections \ 367 -Wl,-O1 \ 368 -Wl,--as-needed 369 370 371LOCAL_LDFLAGS_Release := \ 372 -Wl,-z,now \ 373 -Wl,-z,relro \ 374 -Wl,-z,noexecstack \ 375 -fPIC \ 376 -m32 \ 377 -fuse-ld=gold \ 378 -nostdlib \ 379 -Wl,--no-undefined \ 380 -Wl,--exclude-libs=ALL \ 381 -Wl,-O1 \ 382 -Wl,--as-needed \ 383 -Wl,--gc-sections 384 385 386LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 387 388LOCAL_STATIC_LIBRARIES := \ 389 skia_skia_library_gyp \ 390 third_party_libphonenumber_libphonenumber_without_metadata_gyp \ 391 ui_ui_gyp 392 393# Enable grouping to fix circular references 394LOCAL_GROUP_STATIC_LIBRARIES := true 395 396LOCAL_SHARED_LIBRARIES := \ 397 libstlport \ 398 libdl 399 400# Add target alias to "gyp_all_modules" target. 401.PHONY: gyp_all_modules 402gyp_all_modules: components_autofill_core_browser_gyp 403 404# Alias gyp target name. 405.PHONY: autofill_core_browser 406autofill_core_browser: components_autofill_core_browser_gyp 407 408include $(BUILD_STATIC_LIBRARY) 409