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