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