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_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_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 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/visitedlink/renderer/visitedlink_slave.cc 30 31 32 # Flags passed to both C and C++ files. 33 MY_CFLAGS_Debug := \ 34 --param=ssp-buffer-size=4 \ 35 -Werror \ 36 -fno-exceptions \ 37 -fno-strict-aliasing \ 38 -Wall \ 39 -Wno-unused-parameter \ 40 -Wno-missing-field-initializers \ 41 -fvisibility=hidden \ 42 -pipe \ 43 -fPIC \ 44 -Wno-unused-local-typedefs \ 45 -msse2 \ 46 -mfpmath=sse \ 47 -mmmx \ 48 -m32 \ 49 -ffunction-sections \ 50 -funwind-tables \ 51 -g \ 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 -fno-stack-protector \ 61 -Os \ 62 -g \ 63 -fdata-sections \ 64 -ffunction-sections \ 65 -fomit-frame-pointer \ 66 -funwind-tables 67 68 MY_DEFS_Debug := \ 69 '-DV8_DEPRECATION_WARNINGS' \ 70 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 71 '-D_FILE_OFFSET_BITS=64' \ 72 '-DNO_TCMALLOC' \ 73 '-DDISABLE_NACL' \ 74 '-DCHROMIUM_BUILD' \ 75 '-DUSE_LIBJPEG_TURBO=1' \ 76 '-DENABLE_WEBRTC=1' \ 77 '-DUSE_PROPRIETARY_CODECS' \ 78 '-DENABLE_BROWSER_CDMS' \ 79 '-DENABLE_CONFIGURATION_POLICY' \ 80 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 81 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 82 '-DENABLE_EGLIMAGE=1' \ 83 '-DCLD_VERSION=1' \ 84 '-DENABLE_PRINTING=1' \ 85 '-DENABLE_MANAGED_USERS=1' \ 86 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 87 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 88 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 89 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 90 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 91 '-DVIDEO_HOLE=1' \ 92 '-DMOJO_USE_SYSTEM_IMPL' \ 93 '-DLIBPEERCONNECTION_LIB=1' \ 94 '-DSK_ENABLE_INST_COUNT=0' \ 95 '-DSK_SUPPORT_GPU=1' \ 96 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 97 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 98 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 99 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 100 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 101 '-DSK_SUPPORT_LEGACY_GETTOPDEVICE' \ 102 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 103 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 104 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 105 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 106 '-DSK_IGNORE_ETC1_SUPPORT' \ 107 '-DSK_IGNORE_GPU_DITHER' \ 108 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 109 '-DSK_BUILD_FOR_ANDROID' \ 110 '-DSK_USE_POSIX_THREADS' \ 111 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 112 '-DU_USING_ICU_NAMESPACE=0' \ 113 '-DCHROME_PNG_WRITE_SUPPORT' \ 114 '-DPNG_USER_CONFIG' \ 115 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 116 '-DUSE_SYSTEM_LIBJPEG' \ 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)/shim_headers/ashmem/target \ 136 $(gyp_shared_intermediate_dir) \ 137 $(LOCAL_PATH)/third_party/khronos \ 138 $(LOCAL_PATH)/gpu \ 139 $(LOCAL_PATH) \ 140 $(LOCAL_PATH)/skia/config \ 141 $(LOCAL_PATH)/third_party/WebKit/Source \ 142 $(LOCAL_PATH)/third_party/WebKit \ 143 $(LOCAL_PATH)/third_party/WebKit \ 144 $(LOCAL_PATH)/third_party/skia/src/core \ 145 $(LOCAL_PATH)/third_party/skia/include/core \ 146 $(LOCAL_PATH)/third_party/skia/include/effects \ 147 $(LOCAL_PATH)/third_party/skia/include/pdf \ 148 $(LOCAL_PATH)/third_party/skia/include/gpu \ 149 $(LOCAL_PATH)/third_party/skia/include/lazy \ 150 $(LOCAL_PATH)/third_party/skia/include/pathops \ 151 $(LOCAL_PATH)/third_party/skia/include/pipe \ 152 $(LOCAL_PATH)/third_party/skia/include/ports \ 153 $(LOCAL_PATH)/third_party/skia/include/utils \ 154 $(LOCAL_PATH)/skia/ext \ 155 $(PWD)/external/icu/icu4c/source/common \ 156 $(PWD)/external/icu/icu4c/source/i18n \ 157 $(LOCAL_PATH)/third_party/npapi \ 158 $(LOCAL_PATH)/third_party/npapi/bindings \ 159 $(LOCAL_PATH)/v8/include \ 160 $(LOCAL_PATH)/third_party/libpng \ 161 $(LOCAL_PATH)/third_party/zlib \ 162 $(LOCAL_PATH)/third_party/libwebp \ 163 $(LOCAL_PATH)/third_party/ots/include \ 164 $(LOCAL_PATH)/third_party/qcms/src \ 165 $(LOCAL_PATH)/third_party/iccjpeg \ 166 $(PWD)/external/jpeg \ 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-rtti \ 175 -fno-threadsafe-statics \ 176 -fvisibility-inlines-hidden \ 177 -Wsign-compare \ 178 -Wno-non-virtual-dtor \ 179 -Wno-sign-promo 180 181 182 LOCAL_FDO_SUPPORT_Debug := false 183 184 # Flags passed to both C and C++ files. 185 MY_CFLAGS_Release := \ 186 --param=ssp-buffer-size=4 \ 187 -Werror \ 188 -fno-exceptions \ 189 -fno-strict-aliasing \ 190 -Wall \ 191 -Wno-unused-parameter \ 192 -Wno-missing-field-initializers \ 193 -fvisibility=hidden \ 194 -pipe \ 195 -fPIC \ 196 -Wno-unused-local-typedefs \ 197 -msse2 \ 198 -mfpmath=sse \ 199 -mmmx \ 200 -m32 \ 201 -ffunction-sections \ 202 -funwind-tables \ 203 -g \ 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 -fno-stack-protector \ 213 -Os \ 214 -fno-ident \ 215 -fdata-sections \ 216 -ffunction-sections \ 217 -fomit-frame-pointer \ 218 -funwind-tables 219 220 MY_DEFS_Release := \ 221 '-DV8_DEPRECATION_WARNINGS' \ 222 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 223 '-D_FILE_OFFSET_BITS=64' \ 224 '-DNO_TCMALLOC' \ 225 '-DDISABLE_NACL' \ 226 '-DCHROMIUM_BUILD' \ 227 '-DUSE_LIBJPEG_TURBO=1' \ 228 '-DENABLE_WEBRTC=1' \ 229 '-DUSE_PROPRIETARY_CODECS' \ 230 '-DENABLE_BROWSER_CDMS' \ 231 '-DENABLE_CONFIGURATION_POLICY' \ 232 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 233 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 234 '-DENABLE_EGLIMAGE=1' \ 235 '-DCLD_VERSION=1' \ 236 '-DENABLE_PRINTING=1' \ 237 '-DENABLE_MANAGED_USERS=1' \ 238 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 239 '-DDATA_REDUCTION_DEV_HOST="http://proxy-dev.googlezip.net:80/"' \ 240 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 241 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 242 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 243 '-DVIDEO_HOLE=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_GETTOPDEVICE' \ 254 '-DSK_SUPPORT_LEGACY_BITMAP_CONFIG' \ 255 '-DSK_SUPPORT_LEGACY_DEVICE_VIRTUAL_ISOPAQUE' \ 256 '-DSK_SUPPORT_LEGACY_N32_NAME' \ 257 '-DSK_SUPPORT_LEGACY_SETCONFIG' \ 258 '-DSK_IGNORE_ETC1_SUPPORT' \ 259 '-DSK_IGNORE_GPU_DITHER' \ 260 '-DSK_SUPPORT_LEGACY_GETTOTALCLIP' \ 261 '-DSK_BUILD_FOR_ANDROID' \ 262 '-DSK_USE_POSIX_THREADS' \ 263 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 264 '-DU_USING_ICU_NAMESPACE=0' \ 265 '-DCHROME_PNG_WRITE_SUPPORT' \ 266 '-DPNG_USER_CONFIG' \ 267 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 268 '-DUSE_SYSTEM_LIBJPEG' \ 269 '-DUSE_OPENSSL=1' \ 270 '-DUSE_OPENSSL_CERTS=1' \ 271 '-D__STDC_CONSTANT_MACROS' \ 272 '-D__STDC_FORMAT_MACROS' \ 273 '-DANDROID' \ 274 '-D__GNU_SOURCE=1' \ 275 '-DUSE_STLPORT=1' \ 276 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 277 '-DCHROME_BUILD_ID=""' \ 278 '-DNDEBUG' \ 279 '-DNVALGRIND' \ 280 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 281 '-D_FORTIFY_SOURCE=2' 282 283 284 # Include paths placed before CFLAGS/CPPFLAGS 285 LOCAL_C_INCLUDES_Release := \ 286 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 287 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 288 $(gyp_shared_intermediate_dir)/shim_headers/ashmem/target \ 289 $(gyp_shared_intermediate_dir) \ 290 $(LOCAL_PATH)/third_party/khronos \ 291 $(LOCAL_PATH)/gpu \ 292 $(LOCAL_PATH) \ 293 $(LOCAL_PATH)/skia/config \ 294 $(LOCAL_PATH)/third_party/WebKit/Source \ 295 $(LOCAL_PATH)/third_party/WebKit \ 296 $(LOCAL_PATH)/third_party/WebKit \ 297 $(LOCAL_PATH)/third_party/skia/src/core \ 298 $(LOCAL_PATH)/third_party/skia/include/core \ 299 $(LOCAL_PATH)/third_party/skia/include/effects \ 300 $(LOCAL_PATH)/third_party/skia/include/pdf \ 301 $(LOCAL_PATH)/third_party/skia/include/gpu \ 302 $(LOCAL_PATH)/third_party/skia/include/lazy \ 303 $(LOCAL_PATH)/third_party/skia/include/pathops \ 304 $(LOCAL_PATH)/third_party/skia/include/pipe \ 305 $(LOCAL_PATH)/third_party/skia/include/ports \ 306 $(LOCAL_PATH)/third_party/skia/include/utils \ 307 $(LOCAL_PATH)/skia/ext \ 308 $(PWD)/external/icu/icu4c/source/common \ 309 $(PWD)/external/icu/icu4c/source/i18n \ 310 $(LOCAL_PATH)/third_party/npapi \ 311 $(LOCAL_PATH)/third_party/npapi/bindings \ 312 $(LOCAL_PATH)/v8/include \ 313 $(LOCAL_PATH)/third_party/libpng \ 314 $(LOCAL_PATH)/third_party/zlib \ 315 $(LOCAL_PATH)/third_party/libwebp \ 316 $(LOCAL_PATH)/third_party/ots/include \ 317 $(LOCAL_PATH)/third_party/qcms/src \ 318 $(LOCAL_PATH)/third_party/iccjpeg \ 319 $(PWD)/external/jpeg \ 320 $(PWD)/frameworks/wilhelm/include \ 321 $(PWD)/bionic \ 322 $(PWD)/external/stlport/stlport 323 324 325 # Flags passed to only C++ (and not C) files. 326 LOCAL_CPPFLAGS_Release := \ 327 -fno-rtti \ 328 -fno-threadsafe-statics \ 329 -fvisibility-inlines-hidden \ 330 -Wsign-compare \ 331 -Wno-non-virtual-dtor \ 332 -Wno-sign-promo 333 334 335 LOCAL_FDO_SUPPORT_Release := false 336 337 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 338 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 339 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 340 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 341 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 342 ### Rules for final target. 343 344 LOCAL_LDFLAGS_Debug := \ 345 -Wl,-z,now \ 346 -Wl,-z,relro \ 347 -Wl,--fatal-warnings \ 348 -Wl,-z,noexecstack \ 349 -fPIC \ 350 -m32 \ 351 -fuse-ld=gold \ 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 360 LOCAL_LDFLAGS_Release := \ 361 -Wl,-z,now \ 362 -Wl,-z,relro \ 363 -Wl,--fatal-warnings \ 364 -Wl,-z,noexecstack \ 365 -fPIC \ 366 -m32 \ 367 -fuse-ld=gold \ 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 377 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 378 379 LOCAL_STATIC_LIBRARIES := \ 380 skia_skia_library_gyp 381 382 # Enable grouping to fix circular references 383 LOCAL_GROUP_STATIC_LIBRARIES := true 384 385 LOCAL_SHARED_LIBRARIES := \ 386 libstlport \ 387 libdl 388 389 # Add target alias to "gyp_all_modules" target. 390 .PHONY: gyp_all_modules 391 gyp_all_modules: components_visitedlink_renderer_gyp 392 393 # Alias gyp target name. 394 .PHONY: visitedlink_renderer 395 visitedlink_renderer: components_visitedlink_renderer_gyp 396 397 include $(BUILD_STATIC_LIBRARY) 398