Home | History | Annotate | Download | only in components
      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_content_browser_gyp
      7 LOCAL_MODULE_SUFFIX := .a
      8 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH)
      9 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX))
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX))
     11 
     12 # Make sure our deps are built first.
     13 GYP_TARGET_DEPENDENCIES := \
     14 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_accessibility_ax_gen_gyp,,,$(GYP_VAR_PREFIX))/ui_accessibility_ax_gen_gyp.a \
     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,STATIC_LIBRARIES,components_autofill_content_risk_proto_gyp,,,$(GYP_VAR_PREFIX))/components_autofill_content_risk_proto_gyp.a \
     22 	$(call intermediates-dir-for,GYP,components_autofill_regexes_gyp,,,$(GYP_VAR_PREFIX))/autofill_regexes.stamp \
     23 	$(call intermediates-dir-for,GYP,components_components_resources_gyp,,,$(GYP_VAR_PREFIX))/components_resources.stamp \
     24 	$(call intermediates-dir-for,GYP,components_components_strings_gyp,,,$(GYP_VAR_PREFIX))/components_strings.stamp
     25 
     26 GYP_GENERATED_OUTPUTS :=
     27 
     28 # Make sure our deps and generated files are built first.
     29 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     30 
     31 LOCAL_CPP_EXTENSION := .cc
     32 LOCAL_GENERATED_SOURCES :=
     33 
     34 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     35 
     36 LOCAL_SRC_FILES := \
     37 	components/autofill/content/browser/content_autofill_driver.cc \
     38 	components/autofill/content/browser/request_autocomplete_manager.cc \
     39 	components/autofill/content/browser/wallet/form_field_error.cc \
     40 	components/autofill/content/browser/wallet/full_wallet.cc \
     41 	components/autofill/content/browser/wallet/gaia_account.cc \
     42 	components/autofill/content/browser/wallet/instrument.cc \
     43 	components/autofill/content/browser/wallet/required_action.cc \
     44 	components/autofill/content/browser/wallet/wallet_address.cc \
     45 	components/autofill/content/browser/wallet/wallet_client.cc \
     46 	components/autofill/content/browser/wallet/wallet_items.cc \
     47 	components/autofill/content/browser/wallet/wallet_service_url.cc \
     48 	components/autofill/content/browser/wallet/wallet_signin_helper.cc
     49 
     50 
     51 # Flags passed to both C and C++ files.
     52 MY_CFLAGS_Debug := \
     53 	--param=ssp-buffer-size=4 \
     54 	-Werror \
     55 	-fno-strict-aliasing \
     56 	-Wall \
     57 	-Wno-unused-parameter \
     58 	-Wno-missing-field-initializers \
     59 	-fvisibility=hidden \
     60 	-pipe \
     61 	-fPIC \
     62 	-Wno-unused-local-typedefs \
     63 	-ffunction-sections \
     64 	-funwind-tables \
     65 	-g \
     66 	-fno-short-enums \
     67 	-finline-limit=64 \
     68 	-Wa,--noexecstack \
     69 	-U_FORTIFY_SOURCE \
     70 	-Wno-extra \
     71 	-Wno-ignored-qualifiers \
     72 	-Wno-type-limits \
     73 	-Wno-unused-but-set-variable \
     74 	-Os \
     75 	-g \
     76 	-gdwarf-4 \
     77 	-fdata-sections \
     78 	-ffunction-sections \
     79 	-funwind-tables
     80 
     81 MY_DEFS_Debug := \
     82 	'-DV8_DEPRECATION_WARNINGS' \
     83 	'-D_FILE_OFFSET_BITS=64' \
     84 	'-DNO_TCMALLOC' \
     85 	'-DDISABLE_NACL' \
     86 	'-DCHROMIUM_BUILD' \
     87 	'-DUSE_LIBJPEG_TURBO=1' \
     88 	'-DENABLE_WEBRTC=1' \
     89 	'-DUSE_PROPRIETARY_CODECS' \
     90 	'-DENABLE_BROWSER_CDMS' \
     91 	'-DENABLE_CONFIGURATION_POLICY' \
     92 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     93 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     94 	'-DENABLE_EGLIMAGE=1' \
     95 	'-DCLD_VERSION=1' \
     96 	'-DENABLE_PRINTING=1' \
     97 	'-DENABLE_MANAGED_USERS=1' \
     98 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
     99 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    100 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    101 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    102 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    103 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    104 	'-DVIDEO_HOLE=1' \
    105 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    106 	'-DMOJO_USE_SYSTEM_IMPL' \
    107 	'-DAPPCACHE_USE_SIMPLE_CACHE' \
    108 	'-DSK_ENABLE_INST_COUNT=0' \
    109 	'-DSK_SUPPORT_GPU=1' \
    110 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    111 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    112 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    113 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    114 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    115 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    116 	'-DSK_BUILD_FOR_ANDROID' \
    117 	'-DSK_USE_POSIX_THREADS' \
    118 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    119 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    120 	'-DU_USING_ICU_NAMESPACE=0' \
    121 	'-DU_ENABLE_DYLOAD=0' \
    122 	'-DFEATURE_ENABLE_SSL' \
    123 	'-DFEATURE_ENABLE_VOICEMAIL' \
    124 	'-DEXPAT_RELATIVE_PATH' \
    125 	'-DGTEST_RELATIVE_PATH' \
    126 	'-DNO_MAIN_THREAD_WRAPPING' \
    127 	'-DNO_SOUND_SYSTEM' \
    128 	'-DANDROID' \
    129 	'-DPOSIX' \
    130 	'-DWEBRTC_POSIX' \
    131 	'-DXML_STATIC' \
    132 	'-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \
    133 	'-DPROTOBUF_USE_DLLS' \
    134 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    135 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    136 	'-DPOSIX_AVOID_MMAP' \
    137 	'-DUSE_OPENSSL=1' \
    138 	'-DUSE_OPENSSL_CERTS=1' \
    139 	'-D__STDC_CONSTANT_MACROS' \
    140 	'-D__STDC_FORMAT_MACROS' \
    141 	'-D__GNU_SOURCE=1' \
    142 	'-DUSE_STLPORT=1' \
    143 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    144 	'-DCHROME_BUILD_ID=""' \
    145 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    146 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    147 	'-D_DEBUG'
    148 
    149 
    150 # Include paths placed before CFLAGS/CPPFLAGS
    151 LOCAL_C_INCLUDES_Debug := \
    152 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    153 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    154 	$(gyp_shared_intermediate_dir) \
    155 	$(LOCAL_PATH) \
    156 	$(LOCAL_PATH)/third_party/khronos \
    157 	$(LOCAL_PATH)/gpu \
    158 	$(LOCAL_PATH)/skia/config \
    159 	$(LOCAL_PATH)/third_party/WebKit/Source \
    160 	$(gyp_shared_intermediate_dir)/angle \
    161 	$(LOCAL_PATH)/third_party/WebKit \
    162 	$(LOCAL_PATH)/third_party/skia/src/core \
    163 	$(LOCAL_PATH)/third_party/skia/include/core \
    164 	$(LOCAL_PATH)/third_party/skia/include/effects \
    165 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    166 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    167 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    168 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    169 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    170 	$(LOCAL_PATH)/third_party/skia/include/ports \
    171 	$(LOCAL_PATH)/third_party/skia/include/utils \
    172 	$(LOCAL_PATH)/skia/ext \
    173 	$(PWD)/external/icu/icu4c/source/common \
    174 	$(PWD)/external/icu/icu4c/source/i18n \
    175 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    176 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    177 	$(LOCAL_PATH)/third_party/libjingle/source \
    178 	$(LOCAL_PATH)/testing/gtest/include \
    179 	$(LOCAL_PATH)/third_party \
    180 	$(LOCAL_PATH)/third_party/expat/files/lib \
    181 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \
    182 	$(LOCAL_PATH)/third_party/libphonenumber/src \
    183 	$(gyp_shared_intermediate_dir)/protoc_out \
    184 	$(LOCAL_PATH)/third_party/protobuf \
    185 	$(LOCAL_PATH)/third_party/protobuf/src \
    186 	$(gyp_shared_intermediate_dir)/components \
    187 	$(gyp_shared_intermediate_dir)/components/strings \
    188 	$(PWD)/frameworks/wilhelm/include \
    189 	$(PWD)/bionic \
    190 	$(PWD)/external/stlport/stlport
    191 
    192 
    193 # Flags passed to only C++ (and not C) files.
    194 LOCAL_CPPFLAGS_Debug := \
    195 	-fno-exceptions \
    196 	-fno-rtti \
    197 	-fno-threadsafe-statics \
    198 	-fvisibility-inlines-hidden \
    199 	-Wsign-compare \
    200 	-std=gnu++11 \
    201 	-Wno-narrowing \
    202 	-Wno-literal-suffix \
    203 	-Wno-non-virtual-dtor \
    204 	-Wno-sign-promo
    205 
    206 
    207 # Flags passed to both C and C++ files.
    208 MY_CFLAGS_Release := \
    209 	--param=ssp-buffer-size=4 \
    210 	-Werror \
    211 	-fno-strict-aliasing \
    212 	-Wall \
    213 	-Wno-unused-parameter \
    214 	-Wno-missing-field-initializers \
    215 	-fvisibility=hidden \
    216 	-pipe \
    217 	-fPIC \
    218 	-Wno-unused-local-typedefs \
    219 	-ffunction-sections \
    220 	-funwind-tables \
    221 	-g \
    222 	-fno-short-enums \
    223 	-finline-limit=64 \
    224 	-Wa,--noexecstack \
    225 	-U_FORTIFY_SOURCE \
    226 	-Wno-extra \
    227 	-Wno-ignored-qualifiers \
    228 	-Wno-type-limits \
    229 	-Wno-unused-but-set-variable \
    230 	-Os \
    231 	-fno-ident \
    232 	-fdata-sections \
    233 	-ffunction-sections \
    234 	-funwind-tables
    235 
    236 MY_DEFS_Release := \
    237 	'-DV8_DEPRECATION_WARNINGS' \
    238 	'-D_FILE_OFFSET_BITS=64' \
    239 	'-DNO_TCMALLOC' \
    240 	'-DDISABLE_NACL' \
    241 	'-DCHROMIUM_BUILD' \
    242 	'-DUSE_LIBJPEG_TURBO=1' \
    243 	'-DENABLE_WEBRTC=1' \
    244 	'-DUSE_PROPRIETARY_CODECS' \
    245 	'-DENABLE_BROWSER_CDMS' \
    246 	'-DENABLE_CONFIGURATION_POLICY' \
    247 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    248 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    249 	'-DENABLE_EGLIMAGE=1' \
    250 	'-DCLD_VERSION=1' \
    251 	'-DENABLE_PRINTING=1' \
    252 	'-DENABLE_MANAGED_USERS=1' \
    253 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    254 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    255 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    256 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    257 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    258 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    259 	'-DVIDEO_HOLE=1' \
    260 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    261 	'-DMOJO_USE_SYSTEM_IMPL' \
    262 	'-DAPPCACHE_USE_SIMPLE_CACHE' \
    263 	'-DSK_ENABLE_INST_COUNT=0' \
    264 	'-DSK_SUPPORT_GPU=1' \
    265 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    266 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    267 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    268 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    269 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    270 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    271 	'-DSK_BUILD_FOR_ANDROID' \
    272 	'-DSK_USE_POSIX_THREADS' \
    273 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    274 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    275 	'-DU_USING_ICU_NAMESPACE=0' \
    276 	'-DU_ENABLE_DYLOAD=0' \
    277 	'-DFEATURE_ENABLE_SSL' \
    278 	'-DFEATURE_ENABLE_VOICEMAIL' \
    279 	'-DEXPAT_RELATIVE_PATH' \
    280 	'-DGTEST_RELATIVE_PATH' \
    281 	'-DNO_MAIN_THREAD_WRAPPING' \
    282 	'-DNO_SOUND_SYSTEM' \
    283 	'-DANDROID' \
    284 	'-DPOSIX' \
    285 	'-DWEBRTC_POSIX' \
    286 	'-DXML_STATIC' \
    287 	'-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \
    288 	'-DPROTOBUF_USE_DLLS' \
    289 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    290 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    291 	'-DPOSIX_AVOID_MMAP' \
    292 	'-DUSE_OPENSSL=1' \
    293 	'-DUSE_OPENSSL_CERTS=1' \
    294 	'-D__STDC_CONSTANT_MACROS' \
    295 	'-D__STDC_FORMAT_MACROS' \
    296 	'-D__GNU_SOURCE=1' \
    297 	'-DUSE_STLPORT=1' \
    298 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    299 	'-DCHROME_BUILD_ID=""' \
    300 	'-DNDEBUG' \
    301 	'-DNVALGRIND' \
    302 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    303 	'-D_FORTIFY_SOURCE=2'
    304 
    305 
    306 # Include paths placed before CFLAGS/CPPFLAGS
    307 LOCAL_C_INCLUDES_Release := \
    308 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    309 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    310 	$(gyp_shared_intermediate_dir) \
    311 	$(LOCAL_PATH) \
    312 	$(LOCAL_PATH)/third_party/khronos \
    313 	$(LOCAL_PATH)/gpu \
    314 	$(LOCAL_PATH)/skia/config \
    315 	$(LOCAL_PATH)/third_party/WebKit/Source \
    316 	$(gyp_shared_intermediate_dir)/angle \
    317 	$(LOCAL_PATH)/third_party/WebKit \
    318 	$(LOCAL_PATH)/third_party/skia/src/core \
    319 	$(LOCAL_PATH)/third_party/skia/include/core \
    320 	$(LOCAL_PATH)/third_party/skia/include/effects \
    321 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    322 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    323 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    324 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    325 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    326 	$(LOCAL_PATH)/third_party/skia/include/ports \
    327 	$(LOCAL_PATH)/third_party/skia/include/utils \
    328 	$(LOCAL_PATH)/skia/ext \
    329 	$(PWD)/external/icu/icu4c/source/common \
    330 	$(PWD)/external/icu/icu4c/source/i18n \
    331 	$(LOCAL_PATH)/third_party/webrtc/overrides \
    332 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    333 	$(LOCAL_PATH)/third_party/libjingle/source \
    334 	$(LOCAL_PATH)/testing/gtest/include \
    335 	$(LOCAL_PATH)/third_party \
    336 	$(LOCAL_PATH)/third_party/expat/files/lib \
    337 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \
    338 	$(LOCAL_PATH)/third_party/libphonenumber/src \
    339 	$(gyp_shared_intermediate_dir)/protoc_out \
    340 	$(LOCAL_PATH)/third_party/protobuf \
    341 	$(LOCAL_PATH)/third_party/protobuf/src \
    342 	$(gyp_shared_intermediate_dir)/components \
    343 	$(gyp_shared_intermediate_dir)/components/strings \
    344 	$(PWD)/frameworks/wilhelm/include \
    345 	$(PWD)/bionic \
    346 	$(PWD)/external/stlport/stlport
    347 
    348 
    349 # Flags passed to only C++ (and not C) files.
    350 LOCAL_CPPFLAGS_Release := \
    351 	-fno-exceptions \
    352 	-fno-rtti \
    353 	-fno-threadsafe-statics \
    354 	-fvisibility-inlines-hidden \
    355 	-Wsign-compare \
    356 	-std=gnu++11 \
    357 	-Wno-narrowing \
    358 	-Wno-literal-suffix \
    359 	-Wno-non-virtual-dtor \
    360 	-Wno-sign-promo
    361 
    362 
    363 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    364 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    365 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    366 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    367 ### Rules for final target.
    368 
    369 LOCAL_SHARED_LIBRARIES := \
    370 	libstlport \
    371 	libdl
    372 
    373 # Add target alias to "gyp_all_modules" target.
    374 .PHONY: gyp_all_modules
    375 gyp_all_modules: components_autofill_content_browser_gyp
    376 
    377 # Alias gyp target name.
    378 .PHONY: autofill_content_browser
    379 autofill_content_browser: components_autofill_content_browser_gyp
    380 
    381 include $(BUILD_STATIC_LIBRARY)
    382