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