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_TAGS := optional
      9 gyp_intermediate_dir := $(call local-intermediates-dir)
     10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared)
     11 
     12 # Make sure our deps are built first.
     13 GYP_TARGET_DEPENDENCIES := \
     14 	$(call intermediates-dir-for,STATIC_LIBRARIES,components_autofill_content_risk_proto_gyp)/components_autofill_content_risk_proto_gyp.a \
     15 	$(call intermediates-dir-for,GYP,components_autofill_regexes_gyp)/autofill_regexes.stamp \
     16 	$(call intermediates-dir-for,GYP,skia_skia_gyp)/skia.stamp \
     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 
     24 GYP_GENERATED_OUTPUTS :=
     25 
     26 # Make sure our deps and generated files are built first.
     27 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     28 
     29 LOCAL_CPP_EXTENSION := .cc
     30 LOCAL_GENERATED_SOURCES :=
     31 
     32 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     33 
     34 LOCAL_SRC_FILES := \
     35 	components/autofill/content/browser/autofill_driver_impl.cc \
     36 	components/autofill/content/browser/request_autocomplete_manager.cc \
     37 	components/autofill/content/browser/risk/fingerprint.cc \
     38 	components/autofill/content/browser/wallet/form_field_error.cc \
     39 	components/autofill/content/browser/wallet/full_wallet.cc \
     40 	components/autofill/content/browser/wallet/gaia_account.cc \
     41 	components/autofill/content/browser/wallet/instrument.cc \
     42 	components/autofill/content/browser/wallet/required_action.cc \
     43 	components/autofill/content/browser/wallet/wallet_address.cc \
     44 	components/autofill/content/browser/wallet/wallet_client.cc \
     45 	components/autofill/content/browser/wallet/wallet_items.cc \
     46 	components/autofill/content/browser/wallet/wallet_service_url.cc \
     47 	components/autofill/content/browser/wallet/wallet_signin_helper.cc
     48 
     49 
     50 # Flags passed to both C and C++ files.
     51 MY_CFLAGS_Debug := \
     52 	--param=ssp-buffer-size=4 \
     53 	-Werror \
     54 	-fno-exceptions \
     55 	-fno-strict-aliasing \
     56 	-Wall \
     57 	-Wno-unused-parameter \
     58 	-Wno-missing-field-initializers \
     59 	-fvisibility=hidden \
     60 	-pipe \
     61 	-fPIC \
     62 	-m32 \
     63 	-mmmx \
     64 	-march=pentium4 \
     65 	-msse2 \
     66 	-mfpmath=sse \
     67 	-fuse-ld=gold \
     68 	-ffunction-sections \
     69 	-funwind-tables \
     70 	-g \
     71 	-fno-short-enums \
     72 	-finline-limit=64 \
     73 	-Wa,--noexecstack \
     74 	-U_FORTIFY_SOURCE \
     75 	-Wno-extra \
     76 	-Wno-ignored-qualifiers \
     77 	-Wno-type-limits \
     78 	-fno-stack-protector \
     79 	-Os \
     80 	-g \
     81 	-fomit-frame-pointer \
     82 	-fdata-sections \
     83 	-ffunction-sections
     84 
     85 MY_DEFS_Debug := \
     86 	'-DV8_DEPRECATION_WARNINGS' \
     87 	'-D_FILE_OFFSET_BITS=64' \
     88 	'-DNO_TCMALLOC' \
     89 	'-DDISABLE_NACL' \
     90 	'-DCHROMIUM_BUILD' \
     91 	'-DUSE_LIBJPEG_TURBO=1' \
     92 	'-DUSE_PROPRIETARY_CODECS' \
     93 	'-DENABLE_CONFIGURATION_POLICY' \
     94 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     95 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     96 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
     97 	'-DUSE_OPENSSL=1' \
     98 	'-DENABLE_EGLIMAGE=1' \
     99 	'-DCLD_VERSION=1' \
    100 	'-DENABLE_PRINTING=1' \
    101 	'-DENABLE_MANAGED_USERS=1' \
    102 	'-DPROTOBUF_USE_DLLS' \
    103 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    104 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    105 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    106 	'-DU_USING_ICU_NAMESPACE=0' \
    107 	'-DFEATURE_ENABLE_SSL' \
    108 	'-DFEATURE_ENABLE_VOICEMAIL' \
    109 	'-DEXPAT_RELATIVE_PATH' \
    110 	'-DGTEST_RELATIVE_PATH' \
    111 	'-DJSONCPP_RELATIVE_PATH' \
    112 	'-DNO_MAIN_THREAD_WRAPPING' \
    113 	'-DNO_SOUND_SYSTEM' \
    114 	'-DANDROID' \
    115 	'-DPOSIX' \
    116 	'-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \
    117 	'-D__STDC_CONSTANT_MACROS' \
    118 	'-D__STDC_FORMAT_MACROS' \
    119 	'-D__GNU_SOURCE=1' \
    120 	'-DUSE_STLPORT=1' \
    121 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    122 	'-DCHROME_BUILD_ID=""' \
    123 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    124 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    125 	'-D_DEBUG'
    126 
    127 
    128 # Include paths placed before CFLAGS/CPPFLAGS
    129 LOCAL_C_INCLUDES_Debug := \
    130 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    131 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    132 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    133 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    134 	$(LOCAL_PATH) \
    135 	$(LOCAL_PATH)/skia/config \
    136 	$(LOCAL_PATH)/third_party/khronos \
    137 	$(LOCAL_PATH)/gpu \
    138 	$(LOCAL_PATH)/third_party/WebKit/Source \
    139 	$(gyp_shared_intermediate_dir)/protoc_out \
    140 	$(LOCAL_PATH)/third_party/protobuf \
    141 	$(LOCAL_PATH)/third_party/protobuf/src \
    142 	$(PWD)/external/skia/include \
    143 	$(PWD)/external/skia/include/core \
    144 	$(LOCAL_PATH)/third_party/skia/src/core \
    145 	$(LOCAL_PATH)/skia/ext \
    146 	$(PWD)/external/icu4c/common \
    147 	$(PWD)/external/icu4c/i18n \
    148 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    149 	$(LOCAL_PATH)/third_party/libjingle/source \
    150 	$(LOCAL_PATH)/testing/gtest/include \
    151 	$(LOCAL_PATH)/third_party \
    152 	$(LOCAL_PATH)/third_party/webrtc \
    153 	$(PWD)/external/expat/lib \
    154 	$(LOCAL_PATH)/third_party/jsoncpp/overrides/include \
    155 	$(LOCAL_PATH)/third_party/jsoncpp/source/include \
    156 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \
    157 	$(LOCAL_PATH)/third_party/libphonenumber/src \
    158 	$(gyp_shared_intermediate_dir)/webkit \
    159 	$(gyp_shared_intermediate_dir)/components/strings \
    160 	$(PWD)/frameworks/wilhelm/include \
    161 	$(PWD)/bionic \
    162 	$(PWD)/external/stlport/stlport
    163 
    164 
    165 # Flags passed to only C++ (and not C) files.
    166 LOCAL_CPPFLAGS_Debug := \
    167 	-fno-rtti \
    168 	-fno-threadsafe-statics \
    169 	-fvisibility-inlines-hidden \
    170 	-Wsign-compare \
    171 	-Wno-error=c++0x-compat \
    172 	-Wno-non-virtual-dtor \
    173 	-Wno-sign-promo
    174 
    175 
    176 # Flags passed to both C and C++ files.
    177 MY_CFLAGS_Release := \
    178 	--param=ssp-buffer-size=4 \
    179 	-Werror \
    180 	-fno-exceptions \
    181 	-fno-strict-aliasing \
    182 	-Wall \
    183 	-Wno-unused-parameter \
    184 	-Wno-missing-field-initializers \
    185 	-fvisibility=hidden \
    186 	-pipe \
    187 	-fPIC \
    188 	-m32 \
    189 	-mmmx \
    190 	-march=pentium4 \
    191 	-msse2 \
    192 	-mfpmath=sse \
    193 	-fuse-ld=gold \
    194 	-ffunction-sections \
    195 	-funwind-tables \
    196 	-g \
    197 	-fno-short-enums \
    198 	-finline-limit=64 \
    199 	-Wa,--noexecstack \
    200 	-U_FORTIFY_SOURCE \
    201 	-Wno-extra \
    202 	-Wno-ignored-qualifiers \
    203 	-Wno-type-limits \
    204 	-fno-stack-protector \
    205 	-Os \
    206 	-fno-ident \
    207 	-fdata-sections \
    208 	-ffunction-sections \
    209 	-fomit-frame-pointer \
    210 	-fno-unwind-tables \
    211 	-fno-asynchronous-unwind-tables
    212 
    213 MY_DEFS_Release := \
    214 	'-DV8_DEPRECATION_WARNINGS' \
    215 	'-D_FILE_OFFSET_BITS=64' \
    216 	'-DNO_TCMALLOC' \
    217 	'-DDISABLE_NACL' \
    218 	'-DCHROMIUM_BUILD' \
    219 	'-DUSE_LIBJPEG_TURBO=1' \
    220 	'-DUSE_PROPRIETARY_CODECS' \
    221 	'-DENABLE_CONFIGURATION_POLICY' \
    222 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    223 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    224 	'-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \
    225 	'-DUSE_OPENSSL=1' \
    226 	'-DENABLE_EGLIMAGE=1' \
    227 	'-DCLD_VERSION=1' \
    228 	'-DENABLE_PRINTING=1' \
    229 	'-DENABLE_MANAGED_USERS=1' \
    230 	'-DPROTOBUF_USE_DLLS' \
    231 	'-DGOOGLE_PROTOBUF_NO_RTTI' \
    232 	'-DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER' \
    233 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    234 	'-DU_USING_ICU_NAMESPACE=0' \
    235 	'-DFEATURE_ENABLE_SSL' \
    236 	'-DFEATURE_ENABLE_VOICEMAIL' \
    237 	'-DEXPAT_RELATIVE_PATH' \
    238 	'-DGTEST_RELATIVE_PATH' \
    239 	'-DJSONCPP_RELATIVE_PATH' \
    240 	'-DNO_MAIN_THREAD_WRAPPING' \
    241 	'-DNO_SOUND_SYSTEM' \
    242 	'-DANDROID' \
    243 	'-DPOSIX' \
    244 	'-DI18N_PHONENUMBERS_USE_ICU_REGEXP=1' \
    245 	'-D__STDC_CONSTANT_MACROS' \
    246 	'-D__STDC_FORMAT_MACROS' \
    247 	'-D__GNU_SOURCE=1' \
    248 	'-DUSE_STLPORT=1' \
    249 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    250 	'-DCHROME_BUILD_ID=""' \
    251 	'-DNDEBUG' \
    252 	'-DNVALGRIND' \
    253 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    254 	'-D_FORTIFY_SOURCE=2'
    255 
    256 
    257 # Include paths placed before CFLAGS/CPPFLAGS
    258 LOCAL_C_INCLUDES_Release := \
    259 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    260 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    261 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    262 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    263 	$(LOCAL_PATH) \
    264 	$(LOCAL_PATH)/skia/config \
    265 	$(LOCAL_PATH)/third_party/khronos \
    266 	$(LOCAL_PATH)/gpu \
    267 	$(LOCAL_PATH)/third_party/WebKit/Source \
    268 	$(gyp_shared_intermediate_dir)/protoc_out \
    269 	$(LOCAL_PATH)/third_party/protobuf \
    270 	$(LOCAL_PATH)/third_party/protobuf/src \
    271 	$(PWD)/external/skia/include \
    272 	$(PWD)/external/skia/include/core \
    273 	$(LOCAL_PATH)/third_party/skia/src/core \
    274 	$(LOCAL_PATH)/skia/ext \
    275 	$(PWD)/external/icu4c/common \
    276 	$(PWD)/external/icu4c/i18n \
    277 	$(LOCAL_PATH)/third_party/libjingle/overrides \
    278 	$(LOCAL_PATH)/third_party/libjingle/source \
    279 	$(LOCAL_PATH)/testing/gtest/include \
    280 	$(LOCAL_PATH)/third_party \
    281 	$(LOCAL_PATH)/third_party/webrtc \
    282 	$(PWD)/external/expat/lib \
    283 	$(LOCAL_PATH)/third_party/jsoncpp/overrides/include \
    284 	$(LOCAL_PATH)/third_party/jsoncpp/source/include \
    285 	$(gyp_shared_intermediate_dir)/protoc_out/third_party/libphonenumber \
    286 	$(LOCAL_PATH)/third_party/libphonenumber/src \
    287 	$(gyp_shared_intermediate_dir)/webkit \
    288 	$(gyp_shared_intermediate_dir)/components/strings \
    289 	$(PWD)/frameworks/wilhelm/include \
    290 	$(PWD)/bionic \
    291 	$(PWD)/external/stlport/stlport
    292 
    293 
    294 # Flags passed to only C++ (and not C) files.
    295 LOCAL_CPPFLAGS_Release := \
    296 	-fno-rtti \
    297 	-fno-threadsafe-statics \
    298 	-fvisibility-inlines-hidden \
    299 	-Wsign-compare \
    300 	-Wno-error=c++0x-compat \
    301 	-Wno-non-virtual-dtor \
    302 	-Wno-sign-promo
    303 
    304 
    305 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    306 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    307 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    308 ### Rules for final target.
    309 
    310 LOCAL_LDFLAGS_Debug := \
    311 	-Wl,-z,now \
    312 	-Wl,-z,relro \
    313 	-Wl,-z,noexecstack \
    314 	-fPIC \
    315 	-m32 \
    316 	-fuse-ld=gold \
    317 	-nostdlib \
    318 	-Wl,--no-undefined \
    319 	-Wl,--exclude-libs=ALL \
    320 	-Wl,--fatal-warnings \
    321 	-Wl,--gc-sections \
    322 	-Wl,--warn-shared-textrel \
    323 	-Wl,-O1 \
    324 	-Wl,--as-needed
    325 
    326 
    327 LOCAL_LDFLAGS_Release := \
    328 	-Wl,-z,now \
    329 	-Wl,-z,relro \
    330 	-Wl,-z,noexecstack \
    331 	-fPIC \
    332 	-m32 \
    333 	-fuse-ld=gold \
    334 	-nostdlib \
    335 	-Wl,--no-undefined \
    336 	-Wl,--exclude-libs=ALL \
    337 	-Wl,-O1 \
    338 	-Wl,--as-needed \
    339 	-Wl,--gc-sections \
    340 	-Wl,--fatal-warnings \
    341 	-Wl,--warn-shared-textrel
    342 
    343 
    344 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    345 
    346 LOCAL_STATIC_LIBRARIES := \
    347 	components_autofill_content_risk_proto_gyp \
    348 	third_party_libphonenumber_libphonenumber_without_metadata_gyp \
    349 	ui_ui_gyp
    350 
    351 # Enable grouping to fix circular references
    352 LOCAL_GROUP_STATIC_LIBRARIES := true
    353 
    354 LOCAL_SHARED_LIBRARIES := \
    355 	libskia \
    356 	libstlport \
    357 	libdl
    358 
    359 # Add target alias to "gyp_all_modules" target.
    360 .PHONY: gyp_all_modules
    361 gyp_all_modules: components_autofill_content_browser_gyp
    362 
    363 # Alias gyp target name.
    364 .PHONY: autofill_content_browser
    365 autofill_content_browser: components_autofill_content_browser_gyp
    366 
    367 include $(BUILD_STATIC_LIBRARY)
    368