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