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