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_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_base_ui_base_gyp,,,$(GYP_VAR_PREFIX))/ui_base_ui_base_gyp.a \
     15 	$(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a
     16 
     17 GYP_GENERATED_OUTPUTS :=
     18 
     19 # Make sure our deps and generated files are built first.
     20 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS)
     21 
     22 LOCAL_CPP_EXTENSION := .cc
     23 LOCAL_GENERATED_SOURCES :=
     24 
     25 GYP_COPIED_SOURCE_ORIGIN_DIRS :=
     26 
     27 LOCAL_SRC_FILES := \
     28 	components/autofill/core/common/autofill_constants.cc \
     29 	components/autofill/core/common/autofill_data_validation.cc \
     30 	components/autofill/core/common/autofill_pref_names.cc \
     31 	components/autofill/core/common/autofill_switches.cc \
     32 	components/autofill/core/common/form_data.cc \
     33 	components/autofill/core/common/form_data_predictions.cc \
     34 	components/autofill/core/common/form_field_data.cc \
     35 	components/autofill/core/common/form_field_data_predictions.cc \
     36 	components/autofill/core/common/password_autofill_util.cc \
     37 	components/autofill/core/common/password_form.cc \
     38 	components/autofill/core/common/password_form_fill_data.cc \
     39 	components/autofill/core/common/password_generation_util.cc \
     40 	components/autofill/core/common/save_password_progress_logger.cc \
     41 	components/autofill/core/common/web_element_descriptor.cc
     42 
     43 
     44 # Flags passed to both C and C++ files.
     45 MY_CFLAGS_Debug := \
     46 	--param=ssp-buffer-size=4 \
     47 	-Werror \
     48 	-fno-strict-aliasing \
     49 	-Wall \
     50 	-Wno-unused-parameter \
     51 	-Wno-missing-field-initializers \
     52 	-fvisibility=hidden \
     53 	-pipe \
     54 	-fPIC \
     55 	-Wno-unused-local-typedefs \
     56 	-msse2 \
     57 	-mfpmath=sse \
     58 	-mmmx \
     59 	-m32 \
     60 	-ffunction-sections \
     61 	-funwind-tables \
     62 	-g \
     63 	-fno-short-enums \
     64 	-finline-limit=64 \
     65 	-Wa,--noexecstack \
     66 	-U_FORTIFY_SOURCE \
     67 	-Wno-extra \
     68 	-Wno-ignored-qualifiers \
     69 	-Wno-type-limits \
     70 	-Wno-unused-but-set-variable \
     71 	-fno-stack-protector \
     72 	-Os \
     73 	-g \
     74 	-gdwarf-4 \
     75 	-fdata-sections \
     76 	-ffunction-sections \
     77 	-fomit-frame-pointer \
     78 	-funwind-tables
     79 
     80 MY_DEFS_Debug := \
     81 	'-DV8_DEPRECATION_WARNINGS' \
     82 	'-D_FILE_OFFSET_BITS=64' \
     83 	'-DNO_TCMALLOC' \
     84 	'-DDISABLE_NACL' \
     85 	'-DCHROMIUM_BUILD' \
     86 	'-DUSE_LIBJPEG_TURBO=1' \
     87 	'-DENABLE_WEBRTC=1' \
     88 	'-DUSE_PROPRIETARY_CODECS' \
     89 	'-DENABLE_BROWSER_CDMS' \
     90 	'-DENABLE_CONFIGURATION_POLICY' \
     91 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
     92 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
     93 	'-DENABLE_EGLIMAGE=1' \
     94 	'-DCLD_VERSION=1' \
     95 	'-DENABLE_PRINTING=1' \
     96 	'-DENABLE_MANAGED_USERS=1' \
     97 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
     98 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
     99 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    100 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    101 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    102 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    103 	'-DVIDEO_HOLE=1' \
    104 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    105 	'-DSK_ENABLE_INST_COUNT=0' \
    106 	'-DSK_SUPPORT_GPU=1' \
    107 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    108 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    109 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    110 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    111 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    112 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    113 	'-DSK_BUILD_FOR_ANDROID' \
    114 	'-DSK_USE_POSIX_THREADS' \
    115 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    116 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    117 	'-DU_USING_ICU_NAMESPACE=0' \
    118 	'-DU_ENABLE_DYLOAD=0' \
    119 	'-DUSE_OPENSSL=1' \
    120 	'-DUSE_OPENSSL_CERTS=1' \
    121 	'-D__STDC_CONSTANT_MACROS' \
    122 	'-D__STDC_FORMAT_MACROS' \
    123 	'-DANDROID' \
    124 	'-D__GNU_SOURCE=1' \
    125 	'-DUSE_STLPORT=1' \
    126 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    127 	'-DCHROME_BUILD_ID=""' \
    128 	'-DDYNAMIC_ANNOTATIONS_ENABLED=1' \
    129 	'-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \
    130 	'-D_DEBUG'
    131 
    132 
    133 # Include paths placed before CFLAGS/CPPFLAGS
    134 LOCAL_C_INCLUDES_Debug := \
    135 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    136 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    137 	$(gyp_shared_intermediate_dir) \
    138 	$(LOCAL_PATH) \
    139 	$(LOCAL_PATH)/skia/config \
    140 	$(LOCAL_PATH)/third_party/skia/src/core \
    141 	$(LOCAL_PATH)/third_party/skia/include/core \
    142 	$(LOCAL_PATH)/third_party/skia/include/effects \
    143 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    144 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    145 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    146 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    147 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    148 	$(LOCAL_PATH)/third_party/skia/include/ports \
    149 	$(LOCAL_PATH)/third_party/skia/include/utils \
    150 	$(LOCAL_PATH)/skia/ext \
    151 	$(PWD)/external/icu/icu4c/source/common \
    152 	$(PWD)/external/icu/icu4c/source/i18n \
    153 	$(PWD)/frameworks/wilhelm/include \
    154 	$(PWD)/bionic \
    155 	$(PWD)/external/stlport/stlport
    156 
    157 
    158 # Flags passed to only C++ (and not C) files.
    159 LOCAL_CPPFLAGS_Debug := \
    160 	-fno-exceptions \
    161 	-fno-rtti \
    162 	-fno-threadsafe-statics \
    163 	-fvisibility-inlines-hidden \
    164 	-Wsign-compare \
    165 	-std=gnu++11 \
    166 	-Wno-narrowing \
    167 	-Wno-literal-suffix \
    168 	-Wno-non-virtual-dtor \
    169 	-Wno-sign-promo
    170 
    171 
    172 # Flags passed to both C and C++ files.
    173 MY_CFLAGS_Release := \
    174 	--param=ssp-buffer-size=4 \
    175 	-Werror \
    176 	-fno-strict-aliasing \
    177 	-Wall \
    178 	-Wno-unused-parameter \
    179 	-Wno-missing-field-initializers \
    180 	-fvisibility=hidden \
    181 	-pipe \
    182 	-fPIC \
    183 	-Wno-unused-local-typedefs \
    184 	-msse2 \
    185 	-mfpmath=sse \
    186 	-mmmx \
    187 	-m32 \
    188 	-ffunction-sections \
    189 	-funwind-tables \
    190 	-g \
    191 	-fno-short-enums \
    192 	-finline-limit=64 \
    193 	-Wa,--noexecstack \
    194 	-U_FORTIFY_SOURCE \
    195 	-Wno-extra \
    196 	-Wno-ignored-qualifiers \
    197 	-Wno-type-limits \
    198 	-Wno-unused-but-set-variable \
    199 	-fno-stack-protector \
    200 	-Os \
    201 	-fno-ident \
    202 	-fdata-sections \
    203 	-ffunction-sections \
    204 	-fomit-frame-pointer \
    205 	-funwind-tables
    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 	'-DENABLE_WEBRTC=1' \
    215 	'-DUSE_PROPRIETARY_CODECS' \
    216 	'-DENABLE_BROWSER_CDMS' \
    217 	'-DENABLE_CONFIGURATION_POLICY' \
    218 	'-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \
    219 	'-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \
    220 	'-DENABLE_EGLIMAGE=1' \
    221 	'-DCLD_VERSION=1' \
    222 	'-DENABLE_PRINTING=1' \
    223 	'-DENABLE_MANAGED_USERS=1' \
    224 	'-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \
    225 	'-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \
    226 	'-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \
    227 	'-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \
    228 	'-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \
    229 	'-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \
    230 	'-DVIDEO_HOLE=1' \
    231 	'-DENABLE_LOAD_COMPLETION_HACKS=1' \
    232 	'-DSK_ENABLE_INST_COUNT=0' \
    233 	'-DSK_SUPPORT_GPU=1' \
    234 	'-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \
    235 	'-DSK_ENABLE_LEGACY_API_ALIASING=1' \
    236 	'-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \
    237 	'-DGR_GL_IGNORE_ES3_MSAA=0' \
    238 	'-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \
    239 	'-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \
    240 	'-DSK_BUILD_FOR_ANDROID' \
    241 	'-DSK_USE_POSIX_THREADS' \
    242 	'-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \
    243 	'-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \
    244 	'-DU_USING_ICU_NAMESPACE=0' \
    245 	'-DU_ENABLE_DYLOAD=0' \
    246 	'-DUSE_OPENSSL=1' \
    247 	'-DUSE_OPENSSL_CERTS=1' \
    248 	'-D__STDC_CONSTANT_MACROS' \
    249 	'-D__STDC_FORMAT_MACROS' \
    250 	'-DANDROID' \
    251 	'-D__GNU_SOURCE=1' \
    252 	'-DUSE_STLPORT=1' \
    253 	'-D_STLP_USE_PTR_SPECIALIZATIONS=1' \
    254 	'-DCHROME_BUILD_ID=""' \
    255 	'-DNDEBUG' \
    256 	'-DNVALGRIND' \
    257 	'-DDYNAMIC_ANNOTATIONS_ENABLED=0' \
    258 	'-D_FORTIFY_SOURCE=2'
    259 
    260 
    261 # Include paths placed before CFLAGS/CPPFLAGS
    262 LOCAL_C_INCLUDES_Release := \
    263 	$(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \
    264 	$(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \
    265 	$(gyp_shared_intermediate_dir) \
    266 	$(LOCAL_PATH) \
    267 	$(LOCAL_PATH)/skia/config \
    268 	$(LOCAL_PATH)/third_party/skia/src/core \
    269 	$(LOCAL_PATH)/third_party/skia/include/core \
    270 	$(LOCAL_PATH)/third_party/skia/include/effects \
    271 	$(LOCAL_PATH)/third_party/skia/include/pdf \
    272 	$(LOCAL_PATH)/third_party/skia/include/gpu \
    273 	$(LOCAL_PATH)/third_party/skia/include/lazy \
    274 	$(LOCAL_PATH)/third_party/skia/include/pathops \
    275 	$(LOCAL_PATH)/third_party/skia/include/pipe \
    276 	$(LOCAL_PATH)/third_party/skia/include/ports \
    277 	$(LOCAL_PATH)/third_party/skia/include/utils \
    278 	$(LOCAL_PATH)/skia/ext \
    279 	$(PWD)/external/icu/icu4c/source/common \
    280 	$(PWD)/external/icu/icu4c/source/i18n \
    281 	$(PWD)/frameworks/wilhelm/include \
    282 	$(PWD)/bionic \
    283 	$(PWD)/external/stlport/stlport
    284 
    285 
    286 # Flags passed to only C++ (and not C) files.
    287 LOCAL_CPPFLAGS_Release := \
    288 	-fno-exceptions \
    289 	-fno-rtti \
    290 	-fno-threadsafe-statics \
    291 	-fvisibility-inlines-hidden \
    292 	-Wsign-compare \
    293 	-std=gnu++11 \
    294 	-Wno-narrowing \
    295 	-Wno-literal-suffix \
    296 	-Wno-non-virtual-dtor \
    297 	-Wno-sign-promo
    298 
    299 
    300 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION))
    301 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION))
    302 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION))
    303 LOCAL_ASFLAGS := $(LOCAL_CFLAGS)
    304 ### Rules for final target.
    305 
    306 LOCAL_SHARED_LIBRARIES := \
    307 	libstlport \
    308 	libdl
    309 
    310 # Add target alias to "gyp_all_modules" target.
    311 .PHONY: gyp_all_modules
    312 gyp_all_modules: components_autofill_core_common_gyp
    313 
    314 # Alias gyp target name.
    315 .PHONY: autofill_core_common
    316 autofill_core_common: components_autofill_core_common_gyp
    317 
    318 include $(BUILD_STATIC_LIBRARY)
    319