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_core_common_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,GYP,third_party_WebKit_public_blink_minimal_gyp)/blink_minimal.stamp \
     15 	$(call intermediates-dir-for,STATIC_LIBRARIES,ui_ui_gyp)/ui_ui_gyp.a \
     16 	$(call intermediates-dir-for,GYP,components_autofill_jni_headers_gyp)/autofill_jni_headers.stamp
     17 
     18 GYP_GENERATED_OUTPUTS :=
     19 
     20 # Make sure our deps and generated files are built first.
     21 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     22 
     23 LOCAL_CPP_EXTENSION := .cc
     24 LOCAL_GENERATED_SOURCES :=
     25 
     26 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     27 
     28 LOCAL_SRC_FILES := \
     29 	components/autofill/core/browser/android/auxiliary_profile_loader_android.cc \
     30 	components/autofill/core/browser/android/auxiliary_profiles_android.cc \
     31 	components/autofill/core/browser/android/component_jni_registrar.cc \
     32 	components/autofill/core/browser/android/personal_data_manager_android.cc \
     33 	components/autofill/core/common/autofill_constants.cc \
     34 	components/autofill/core/common/autofill_message_generator.cc \
     35 	components/autofill/core/common/autofill_pref_names.cc \
     36 	components/autofill/core/common/autofill_switches.cc \
     37 	components/autofill/core/common/form_data.cc \
     38 	components/autofill/core/common/form_data_predictions.cc \
     39 	components/autofill/core/common/form_field_data.cc \
     40 	components/autofill/core/common/form_field_data_predictions.cc \
     41 	components/autofill/core/common/password_form_fill_data.cc \
     42 	components/autofill/core/common/password_generation_util.cc \
     43 	components/autofill/core/common/web_element_descriptor.cc
     44 
     45 
     46 # Flags passed to both C and C++ files.
     47 MY_CFLAGS_Debug := \
     48 	--param=ssp-buffer-size=4 \
     49 	-Werror \
     50 	-fno-exceptions \
     51 	-fno-strict-aliasing \
     52 	-Wall \
     53 	-Wno-unused-parameter \
     54 	-Wno-missing-field-initializers \
     55 	-fvisibility=hidden \
     56 	-pipe \
     57 	-fPIC \
     58 	-m32 \
     59 	-mmmx \
     60 	-march=pentium4 \
     61 	-msse2 \
     62 	-mfpmath=sse \
     63 	-fuse-ld=gold \
     64 	-ffunction-sections \
     65 	-funwind-tables \
     66 	-g \
     67 	-fno-short-enums \
     68 	-finline-limit=64 \
     69 	-Wa,--noexecstack \
     70 	-U_FORTIFY_SOURCE \
     71 	-Wno-extra \
     72 	-Wno-ignored-qualifiers \
     73 	-Wno-type-limits \
     74 	-fno-stack-protector \
     75 	-Os \
     76 	-g \
     77 	-fomit-frame-pointer \
     78 	-fdata-sections \
     79 	-ffunction-sections
     80 
     81 MY_DEFS_Debug := \
     82 	'-DANGLE_DX11' \
     83 	'-D_FILE_OFFSET_BITS=64' \
     84 	'-DNO_TCMALLOC' \
     85 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     86 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     87 	'-DDISABLE_NACL' \
     88 	'-DCHROMIUM_BUILD' \
     89 	'-DUSE_LIBJPEG_TURBO=1' \
     90 	'-DUSE_PROPRIETARY_CODECS' \
     91 	'-DENABLE_CONFIGURATION_POLICY' \
     92 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
     93 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
     94 	'-DENABLE_GPU=1' \
     95 	'-DUSE_OPENSSL=1' \
     96 	'-DENABLE_EGLIMAGE=1' \
     97 	'-DENABLE_PRINTING=1' \
     98 	'-DU_USING_ICU_NAMESPACE=0' \
     99 	'-D__STDC_CONSTANT_MACROS' \
    100 	'-D__STDC_FORMAT_MACROS' \
    101 	'-DANDROID' \
    102 	'-D__GNU_SOURCE=1' \
    103 	'-DUSE_STLPORT=1' \
    104 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    105 	'-DCHROME_BUILD_ID=""' \
    106 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    107 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    108 	'-D_DEBUG'
    109 
    110 
    111 # Include paths placed before CFLAGS/CPPFLAGS
    112 LOCAL_C_INCLUDES_Debug := \
    113 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    114 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    115 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    116 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    117 	$(LOCAL_PATH) \
    118 	$(gyp_shared_intermediate_dir)/autofill \
    119 	$(LOCAL_PATH)/third_party/khronos \
    120 	$(LOCAL_PATH)/gpu \
    121 	$(LOCAL_PATH)/third_party/skia/src/core \
    122 	$(LOCAL_PATH)/skia/ext \
    123 	$(LOCAL_PATH)/v8/include \
    124 	$(PWD)/external/icu4c/common \
    125 	$(PWD)/external/icu4c/i18n \
    126 	$(PWD)/frameworks/wilhelm/include \
    127 	$(PWD)/bionic \
    128 	$(PWD)/external/stlport/stlport
    129 
    130 
    131 # Flags passed to only C++ (and not C) files.
    132 LOCAL_CPPFLAGS_Debug := \
    133 	-fno-rtti \
    134 	-fno-threadsafe-statics \
    135 	-fvisibility-inlines-hidden \
    136 	-Wsign-compare \
    137 	-Wno-error=c++0x-compat \
    138 	-Wno-non-virtual-dtor \
    139 	-Wno-sign-promo
    140 
    141 
    142 # Flags passed to both C and C++ files.
    143 MY_CFLAGS_Release := \
    144 	--param=ssp-buffer-size=4 \
    145 	-Werror \
    146 	-fno-exceptions \
    147 	-fno-strict-aliasing \
    148 	-Wall \
    149 	-Wno-unused-parameter \
    150 	-Wno-missing-field-initializers \
    151 	-fvisibility=hidden \
    152 	-pipe \
    153 	-fPIC \
    154 	-m32 \
    155 	-mmmx \
    156 	-march=pentium4 \
    157 	-msse2 \
    158 	-mfpmath=sse \
    159 	-fuse-ld=gold \
    160 	-ffunction-sections \
    161 	-funwind-tables \
    162 	-g \
    163 	-fno-short-enums \
    164 	-finline-limit=64 \
    165 	-Wa,--noexecstack \
    166 	-U_FORTIFY_SOURCE \
    167 	-Wno-extra \
    168 	-Wno-ignored-qualifiers \
    169 	-Wno-type-limits \
    170 	-fno-stack-protector \
    171 	-Os \
    172 	-fno-ident \
    173 	-fdata-sections \
    174 	-ffunction-sections \
    175 	-fomit-frame-pointer \
    176 	-fno-unwind-tables \
    177 	-fno-asynchronous-unwind-tables
    178 
    179 MY_DEFS_Release := \
    180 	'-DANGLE_DX11' \
    181 	'-D_FILE_OFFSET_BITS=64' \
    182 	'-DNO_TCMALLOC' \
    183 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    184 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    185 	'-DDISABLE_NACL' \
    186 	'-DCHROMIUM_BUILD' \
    187 	'-DUSE_LIBJPEG_TURBO=1' \
    188 	'-DUSE_PROPRIETARY_CODECS' \
    189 	'-DENABLE_CONFIGURATION_POLICY' \
    190 	'-DLOGGING_IS_OFFICIAL_BUILD=1' \
    191 	'-DTRACING_IS_OFFICIAL_BUILD=1' \
    192 	'-DENABLE_GPU=1' \
    193 	'-DUSE_OPENSSL=1' \
    194 	'-DENABLE_EGLIMAGE=1' \
    195 	'-DENABLE_PRINTING=1' \
    196 	'-DU_USING_ICU_NAMESPACE=0' \
    197 	'-D__STDC_CONSTANT_MACROS' \
    198 	'-D__STDC_FORMAT_MACROS' \
    199 	'-DANDROID' \
    200 	'-D__GNU_SOURCE=1' \
    201 	'-DUSE_STLPORT=1' \
    202 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    203 	'-DCHROME_BUILD_ID=""' \
    204 	'-DNDEBUG' \
    205 	'-DNVALGRIND' \
    206 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    207 	'-D_FORTIFY_SOURCE=2'
    208 
    209 
    210 # Include paths placed before CFLAGS/CPPFLAGS
    211 LOCAL_C_INCLUDES_Release := \
    212 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    213 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    214 	$(gyp_shared_intermediate_dir)/shim_headers/skia_library/target \
    215 	$(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \
    216 	$(LOCAL_PATH) \
    217 	$(gyp_shared_intermediate_dir)/autofill \
    218 	$(LOCAL_PATH)/third_party/khronos \
    219 	$(LOCAL_PATH)/gpu \
    220 	$(LOCAL_PATH)/third_party/skia/src/core \
    221 	$(LOCAL_PATH)/skia/ext \
    222 	$(LOCAL_PATH)/v8/include \
    223 	$(PWD)/external/icu4c/common \
    224 	$(PWD)/external/icu4c/i18n \
    225 	$(PWD)/frameworks/wilhelm/include \
    226 	$(PWD)/bionic \
    227 	$(PWD)/external/stlport/stlport
    228 
    229 
    230 # Flags passed to only C++ (and not C) files.
    231 LOCAL_CPPFLAGS_Release := \
    232 	-fno-rtti \
    233 	-fno-threadsafe-statics \
    234 	-fvisibility-inlines-hidden \
    235 	-Wsign-compare \
    236 	-Wno-error=c++0x-compat \
    237 	-Wno-non-virtual-dtor \
    238 	-Wno-sign-promo
    239 
    240 
    241 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    242 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    243 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    244 ### Rules for final target.
    245 
    246 LOCAL_LDFLAGS_Debug := \
    247 	-Wl,-z,now \
    248 	-Wl,-z,relro \
    249 	-Wl,-z,noexecstack \
    250 	-fPIC \
    251 	-m32 \
    252 	-fuse-ld=gold \
    253 	-nostdlib \
    254 	-Wl,--no-undefined \
    255 	-Wl,--exclude-libs=ALL \
    256 	-Wl,--fatal-warnings \
    257 	-Wl,--gc-sections \
    258 	-Wl,--warn-shared-textrel \
    259 	-Wl,-O1 \
    260 	-Wl,--as-needed
    261 
    262 
    263 LOCAL_LDFLAGS_Release := \
    264 	-Wl,-z,now \
    265 	-Wl,-z,relro \
    266 	-Wl,-z,noexecstack \
    267 	-fPIC \
    268 	-m32 \
    269 	-fuse-ld=gold \
    270 	-nostdlib \
    271 	-Wl,--no-undefined \
    272 	-Wl,--exclude-libs=ALL \
    273 	-Wl,-O1 \
    274 	-Wl,--as-needed \
    275 	-Wl,--gc-sections \
    276 	-Wl,--fatal-warnings \
    277 	-Wl,--warn-shared-textrel
    278 
    279 
    280 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION))
    281 
    282 LOCAL_STATIC_LIBRARIES := \
    283 	ui_ui_gyp
    284 
    285 # Enable grouping to fix circular references
    286 LOCAL_GROUP_STATIC_LIBRARIES := true
    287 
    288 LOCAL_SHARED_LIBRARIES := \
    289 	libskia \
    290 	libstlport \
    291 	libdl
    292 
    293 # Add target alias to "gyp_all_modules" target.
    294 .PHONY: gyp_all_modules
    295 gyp_all_modules: components_autofill_core_common_gyp
    296 
    297 # Alias gyp target name.
    298 .PHONY: autofill_core_common
    299 autofill_core_common: components_autofill_core_common_gyp
    300 
    301 include $(BUILD_STATIC_LIBRARY)
    302