1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := components_visitedlink_renderer_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TAGS := optional 9LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13# Make sure our deps are built first. 14GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_public_blink_gyp,,,$(GYP_VAR_PREFIX))/blink.stamp \ 16 $(call intermediates-dir-for,STATIC_LIBRARIES,skia_skia_library_gyp,,,$(GYP_VAR_PREFIX))/skia_skia_library_gyp.a 17 18GYP_GENERATED_OUTPUTS := 19 20# Make sure our deps and generated files are built first. 21LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 22 23LOCAL_CPP_EXTENSION := .cc 24LOCAL_GENERATED_SOURCES := 25 26GYP_COPIED_SOURCE_ORIGIN_DIRS := 27 28LOCAL_SRC_FILES := \ 29 components/visitedlink/renderer/visitedlink_slave.cc 30 31 32# Flags passed to both C and C++ files. 33MY_CFLAGS_Debug := \ 34 -fstack-protector \ 35 --param=ssp-buffer-size=4 \ 36 \ 37 -fno-exceptions \ 38 -fno-strict-aliasing \ 39 -Wall \ 40 -Wno-unused-parameter \ 41 -Wno-missing-field-initializers \ 42 -fvisibility=hidden \ 43 -pipe \ 44 -fPIC \ 45 -Wno-unused-local-typedefs \ 46 -EL \ 47 -mhard-float \ 48 -ffunction-sections \ 49 -funwind-tables \ 50 -g \ 51 -fstack-protector \ 52 -fno-short-enums \ 53 -finline-limit=64 \ 54 -Wa,--noexecstack \ 55 -U_FORTIFY_SOURCE \ 56 -Wno-extra \ 57 -Wno-ignored-qualifiers \ 58 -Wno-type-limits \ 59 -Wno-unused-but-set-variable \ 60 -Os \ 61 -g \ 62 -fdata-sections \ 63 -ffunction-sections \ 64 -fomit-frame-pointer \ 65 -funwind-tables 66 67MY_DEFS_Debug := \ 68 '-DV8_DEPRECATION_WARNINGS' \ 69 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 70 '-D_FILE_OFFSET_BITS=64' \ 71 '-DNO_TCMALLOC' \ 72 '-DDISABLE_NACL' \ 73 '-DCHROMIUM_BUILD' \ 74 '-DUSE_LIBJPEG_TURBO=1' \ 75 '-DENABLE_WEBRTC=1' \ 76 '-DUSE_PROPRIETARY_CODECS' \ 77 '-DENABLE_BROWSER_CDMS' \ 78 '-DENABLE_CONFIGURATION_POLICY' \ 79 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 80 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 81 '-DENABLE_EGLIMAGE=1' \ 82 '-DCLD_VERSION=1' \ 83 '-DENABLE_PRINTING=1' \ 84 '-DENABLE_MANAGED_USERS=1' \ 85 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 86 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 87 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 88 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 89 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 90 '-DVIDEO_HOLE=1' \ 91 '-DMOJO_USE_SYSTEM_IMPL' \ 92 '-DLIBPEERCONNECTION_LIB=1' \ 93 '-DSK_ENABLE_INST_COUNT=0' \ 94 '-DSK_SUPPORT_GPU=1' \ 95 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 96 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 97 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 98 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 99 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 100 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 101 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 102 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 103 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 104 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 105 '-DSK_IGNORE_ETC1_SUPPORT' \ 106 '-DSK_IGNORE_GPU_DITHER' \ 107 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 108 '-DSK_BUILD_FOR_ANDROID' \ 109 '-DSK_USE_POSIX_THREADS' \ 110 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 111 '-DU_USING_ICU_NAMESPACE=0' \ 112 '-DCHROME_PNG_WRITE_SUPPORT' \ 113 '-DPNG_USER_CONFIG' \ 114 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 115 '-DUSE_SYSTEM_LIBJPEG' \ 116 '-DUSE_OPENSSL=1' \ 117 '-DUSE_OPENSSL_CERTS=1' \ 118 '-D__STDC_CONSTANT_MACROS' \ 119 '-D__STDC_FORMAT_MACROS' \ 120 '-DANDROID' \ 121 '-D__GNU_SOURCE=1' \ 122 '-DUSE_STLPORT=1' \ 123 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 124 '-DCHROME_BUILD_ID=""' \ 125 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 126 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 127 '-D_DEBUG' 128 129 130# Include paths placed before CFLAGS/CPPFLAGS 131LOCAL_C_INCLUDES_Debug := \ 132 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 133 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 134 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 135 $(gyp_shared_intermediate_dir) \ 136 $(LOCAL_PATH)/third_party/khronos \ 137 $(LOCAL_PATH)/gpu \ 138 $(LOCAL_PATH) \ 139 $(LOCAL_PATH)/skia/config \ 140 $(LOCAL_PATH)/third_party/WebKit/Source \ 141 $(LOCAL_PATH)/third_party/WebKit \ 142 $(LOCAL_PATH)/third_party/WebKit \ 143 $(LOCAL_PATH)/third_party/skia/src/core \ 144 $(LOCAL_PATH)/third_party/skia/include/core \ 145 $(LOCAL_PATH)/third_party/skia/include/effects \ 146 $(LOCAL_PATH)/third_party/skia/include/pdf \ 147 $(LOCAL_PATH)/third_party/skia/include/gpu \ 148 $(LOCAL_PATH)/third_party/skia/include/lazy \ 149 $(LOCAL_PATH)/third_party/skia/include/pathops \ 150 $(LOCAL_PATH)/third_party/skia/include/pipe \ 151 $(LOCAL_PATH)/third_party/skia/include/ports \ 152 $(LOCAL_PATH)/third_party/skia/include/utils \ 153 $(LOCAL_PATH)/skia/ext \ 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 $(PWD)/external/jpeg \ 166 $(PWD)/frameworks/wilhelm/include \ 167 $(PWD)/bionic \ 168 $(PWD)/external/stlport/stlport 169 170 171# Flags passed to only C++ (and not C) files. 172LOCAL_CPPFLAGS_Debug := \ 173 -fno-rtti \ 174 -fno-threadsafe-statics \ 175 -fvisibility-inlines-hidden \ 176 -Wsign-compare \ 177 -Wno-uninitialized \ 178 -Wno-non-virtual-dtor \ 179 -Wno-sign-promo 180 181 182LOCAL_FDO_SUPPORT_Debug := false 183 184# Flags passed to both C and C++ files. 185MY_CFLAGS_Release := \ 186 -fstack-protector \ 187 --param=ssp-buffer-size=4 \ 188 \ 189 -fno-exceptions \ 190 -fno-strict-aliasing \ 191 -Wall \ 192 -Wno-unused-parameter \ 193 -Wno-missing-field-initializers \ 194 -fvisibility=hidden \ 195 -pipe \ 196 -fPIC \ 197 -Wno-unused-local-typedefs \ 198 -EL \ 199 -mhard-float \ 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 219MY_DEFS_Release := \ 220 '-DV8_DEPRECATION_WARNINGS' \ 221 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 222 '-D_FILE_OFFSET_BITS=64' \ 223 '-DNO_TCMALLOC' \ 224 '-DDISABLE_NACL' \ 225 '-DCHROMIUM_BUILD' \ 226 '-DUSE_LIBJPEG_TURBO=1' \ 227 '-DENABLE_WEBRTC=1' \ 228 '-DUSE_PROPRIETARY_CODECS' \ 229 '-DENABLE_BROWSER_CDMS' \ 230 '-DENABLE_CONFIGURATION_POLICY' \ 231 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 232 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 233 '-DENABLE_EGLIMAGE=1' \ 234 '-DCLD_VERSION=1' \ 235 '-DENABLE_PRINTING=1' \ 236 '-DENABLE_MANAGED_USERS=1' \ 237 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 238 '-DDATA_REDUCTION_DEV_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 '-DMOJO_USE_SYSTEM_IMPL' \ 244 '-DLIBPEERCONNECTION_LIB=1' \ 245 '-DSK_ENABLE_INST_COUNT=0' \ 246 '-DSK_SUPPORT_GPU=1' \ 247 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 248 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 249 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 250 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 251 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 252 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 253 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 254 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 255 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 256 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 257 '-DSK_IGNORE_ETC1_SUPPORT' \ 258 '-DSK_IGNORE_GPU_DITHER' \ 259 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 260 '-DSK_BUILD_FOR_ANDROID' \ 261 '-DSK_USE_POSIX_THREADS' \ 262 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 263 '-DU_USING_ICU_NAMESPACE=0' \ 264 '-DCHROME_PNG_WRITE_SUPPORT' \ 265 '-DPNG_USER_CONFIG' \ 266 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 267 '-DUSE_SYSTEM_LIBJPEG' \ 268 '-DUSE_OPENSSL=1' \ 269 '-DUSE_OPENSSL_CERTS=1' \ 270 '-D__STDC_CONSTANT_MACROS' \ 271 '-D__STDC_FORMAT_MACROS' \ 272 '-DANDROID' \ 273 '-D__GNU_SOURCE=1' \ 274 '-DUSE_STLPORT=1' \ 275 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 276 '-DCHROME_BUILD_ID=""' \ 277 '-DNDEBUG' \ 278 '-DNVALGRIND' \ 279 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 280 '-D_FORTIFY_SOURCE=2' 281 282 283# Include paths placed before CFLAGS/CPPFLAGS 284LOCAL_C_INCLUDES_Release := \ 285 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 286 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 287 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 288 $(gyp_shared_intermediate_dir) \ 289 $(LOCAL_PATH)/third_party/khronos \ 290 $(LOCAL_PATH)/gpu \ 291 $(LOCAL_PATH) \ 292 $(LOCAL_PATH)/skia/config \ 293 $(LOCAL_PATH)/third_party/WebKit/Source \ 294 $(LOCAL_PATH)/third_party/WebKit \ 295 $(LOCAL_PATH)/third_party/WebKit \ 296 $(LOCAL_PATH)/third_party/skia/src/core \ 297 $(LOCAL_PATH)/third_party/skia/include/core \ 298 $(LOCAL_PATH)/third_party/skia/include/effects \ 299 $(LOCAL_PATH)/third_party/skia/include/pdf \ 300 $(LOCAL_PATH)/third_party/skia/include/gpu \ 301 $(LOCAL_PATH)/third_party/skia/include/lazy \ 302 $(LOCAL_PATH)/third_party/skia/include/pathops \ 303 $(LOCAL_PATH)/third_party/skia/include/pipe \ 304 $(LOCAL_PATH)/third_party/skia/include/ports \ 305 $(LOCAL_PATH)/third_party/skia/include/utils \ 306 $(LOCAL_PATH)/skia/ext \ 307 $(PWD)/external/icu/icu4c/source/common \ 308 $(PWD)/external/icu/icu4c/source/i18n \ 309 $(LOCAL_PATH)/third_party/npapi \ 310 $(LOCAL_PATH)/third_party/npapi/bindings \ 311 $(LOCAL_PATH)/v8/include \ 312 $(LOCAL_PATH)/third_party/libpng \ 313 $(LOCAL_PATH)/third_party/zlib \ 314 $(LOCAL_PATH)/third_party/libwebp \ 315 $(LOCAL_PATH)/third_party/ots/include \ 316 $(LOCAL_PATH)/third_party/qcms/src \ 317 $(LOCAL_PATH)/third_party/iccjpeg \ 318 $(PWD)/external/jpeg \ 319 $(PWD)/frameworks/wilhelm/include \ 320 $(PWD)/bionic \ 321 $(PWD)/external/stlport/stlport 322 323 324# Flags passed to only C++ (and not C) files. 325LOCAL_CPPFLAGS_Release := \ 326 -fno-rtti \ 327 -fno-threadsafe-statics \ 328 -fvisibility-inlines-hidden \ 329 -Wsign-compare \ 330 -Wno-uninitialized \ 331 -Wno-non-virtual-dtor \ 332 -Wno-sign-promo 333 334 335LOCAL_FDO_SUPPORT_Release := false 336 337LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 338LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 339LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 340LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 341LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 342### Rules for final target. 343 344LOCAL_LDFLAGS_Debug := \ 345 -Wl,-z,now \ 346 -Wl,-z,relro \ 347 -Wl,--fatal-warnings \ 348 -Wl,-z,noexecstack \ 349 -fPIC \ 350 -EL \ 351 -Wl,--no-keep-memory \ 352 -nostdlib \ 353 -Wl,--no-undefined \ 354 -Wl,--exclude-libs=ALL \ 355 -Wl,--warn-shared-textrel \ 356 -Wl,-O1 \ 357 -Wl,--as-needed 358 359 360LOCAL_LDFLAGS_Release := \ 361 -Wl,-z,now \ 362 -Wl,-z,relro \ 363 -Wl,--fatal-warnings \ 364 -Wl,-z,noexecstack \ 365 -fPIC \ 366 -EL \ 367 -Wl,--no-keep-memory \ 368 -nostdlib \ 369 -Wl,--no-undefined \ 370 -Wl,--exclude-libs=ALL \ 371 -Wl,-O1 \ 372 -Wl,--as-needed \ 373 -Wl,--gc-sections \ 374 -Wl,--warn-shared-textrel 375 376 377LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 378 379LOCAL_STATIC_LIBRARIES := \ 380 skia_skia_library_gyp 381 382# Enable grouping to fix circular references 383LOCAL_GROUP_STATIC_LIBRARIES := true 384 385LOCAL_SHARED_LIBRARIES := \ 386 libstlport \ 387 libdl 388 389# Add target alias to "gyp_all_modules" target. 390.PHONY: gyp_all_modules 391gyp_all_modules: components_visitedlink_renderer_gyp 392 393# Alias gyp target name. 394.PHONY: visitedlink_renderer 395visitedlink_renderer: components_visitedlink_renderer_gyp 396 397include $(BUILD_STATIC_LIBRARY) 398