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 -Werror \ 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 -fno-tree-sra \ 45 -fno-caller-saves \ 46 -Wno-psabi \ 47 -fno-partial-inlining \ 48 -fno-early-inlining \ 49 -fno-tree-copy-prop \ 50 -fno-tree-loop-optimize \ 51 -fno-move-loop-invariants \ 52 -ffunction-sections \ 53 -funwind-tables \ 54 -g \ 55 -fstack-protector \ 56 -fno-short-enums \ 57 -finline-limit=64 \ 58 -Wa,--noexecstack \ 59 -U_FORTIFY_SOURCE \ 60 -Wno-extra \ 61 -Wno-ignored-qualifiers \ 62 -Wno-type-limits \ 63 -Wno-unused-but-set-variable \ 64 -Os \ 65 -g \ 66 -gdwarf-4 \ 67 -fdata-sections \ 68 -ffunction-sections \ 69 -fomit-frame-pointer \ 70 -funwind-tables 71 72 MY_DEFS_Debug := \ 73 '-DV8_DEPRECATION_WARNINGS' \ 74 '-D_FILE_OFFSET_BITS=64' \ 75 '-DNO_TCMALLOC' \ 76 '-DDISABLE_NACL' \ 77 '-DCHROMIUM_BUILD' \ 78 '-DUSE_LIBJPEG_TURBO=1' \ 79 '-DENABLE_WEBRTC=1' \ 80 '-DUSE_PROPRIETARY_CODECS' \ 81 '-DENABLE_BROWSER_CDMS' \ 82 '-DENABLE_CONFIGURATION_POLICY' \ 83 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 84 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 85 '-DENABLE_EGLIMAGE=1' \ 86 '-DCLD_VERSION=1' \ 87 '-DENABLE_PRINTING=1' \ 88 '-DENABLE_MANAGED_USERS=1' \ 89 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 90 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 91 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 92 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 93 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 94 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 95 '-DVIDEO_HOLE=1' \ 96 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 97 '-DMOJO_USE_SYSTEM_IMPL' \ 98 '-DLIBPEERCONNECTION_LIB=1' \ 99 '-DSK_ENABLE_INST_COUNT=0' \ 100 '-DSK_SUPPORT_GPU=1' \ 101 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 102 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 103 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 104 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 105 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 106 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 107 '-DSK_BUILD_FOR_ANDROID' \ 108 '-DSK_USE_POSIX_THREADS' \ 109 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 110 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 111 '-DU_USING_ICU_NAMESPACE=0' \ 112 '-DU_ENABLE_DYLOAD=0' \ 113 '-DCHROME_PNG_WRITE_SUPPORT' \ 114 '-DPNG_USER_CONFIG' \ 115 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 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 131 LOCAL_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) \ 135 $(LOCAL_PATH)/third_party/khronos \ 136 $(LOCAL_PATH)/gpu \ 137 $(LOCAL_PATH) \ 138 $(LOCAL_PATH)/skia/config \ 139 $(LOCAL_PATH)/third_party/WebKit/Source \ 140 $(LOCAL_PATH)/third_party/WebKit \ 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 $(PWD)/external/icu/icu4c/source/common \ 154 $(PWD)/external/icu/icu4c/source/i18n \ 155 $(LOCAL_PATH)/third_party/npapi \ 156 $(LOCAL_PATH)/third_party/npapi/bindings \ 157 $(LOCAL_PATH)/v8/include \ 158 $(LOCAL_PATH)/third_party/libpng \ 159 $(LOCAL_PATH)/third_party/zlib \ 160 $(LOCAL_PATH)/third_party/libwebp \ 161 $(LOCAL_PATH)/third_party/ots/include \ 162 $(LOCAL_PATH)/third_party/qcms/src \ 163 $(LOCAL_PATH)/third_party/iccjpeg \ 164 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 165 $(PWD)/frameworks/wilhelm/include \ 166 $(PWD)/bionic \ 167 $(PWD)/external/stlport/stlport 168 169 170 # Flags passed to only C++ (and not C) files. 171 LOCAL_CPPFLAGS_Debug := \ 172 -fno-exceptions \ 173 -fno-rtti \ 174 -fno-threadsafe-statics \ 175 -fvisibility-inlines-hidden \ 176 -Wsign-compare \ 177 -Wno-abi \ 178 -std=gnu++11 \ 179 -Wno-narrowing \ 180 -Wno-literal-suffix \ 181 -Wno-non-virtual-dtor \ 182 -Wno-sign-promo 183 184 185 # Flags passed to both C and C++ files. 186 MY_CFLAGS_Release := \ 187 -fstack-protector \ 188 --param=ssp-buffer-size=4 \ 189 -Werror \ 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 -fno-tree-sra \ 199 -fno-caller-saves \ 200 -Wno-psabi \ 201 -fno-partial-inlining \ 202 -fno-early-inlining \ 203 -fno-tree-copy-prop \ 204 -fno-tree-loop-optimize \ 205 -fno-move-loop-invariants \ 206 -ffunction-sections \ 207 -funwind-tables \ 208 -g \ 209 -fstack-protector \ 210 -fno-short-enums \ 211 -finline-limit=64 \ 212 -Wa,--noexecstack \ 213 -U_FORTIFY_SOURCE \ 214 -Wno-extra \ 215 -Wno-ignored-qualifiers \ 216 -Wno-type-limits \ 217 -Wno-unused-but-set-variable \ 218 -Os \ 219 -fno-ident \ 220 -fdata-sections \ 221 -ffunction-sections \ 222 -fomit-frame-pointer \ 223 -funwind-tables 224 225 MY_DEFS_Release := \ 226 '-DV8_DEPRECATION_WARNINGS' \ 227 '-D_FILE_OFFSET_BITS=64' \ 228 '-DNO_TCMALLOC' \ 229 '-DDISABLE_NACL' \ 230 '-DCHROMIUM_BUILD' \ 231 '-DUSE_LIBJPEG_TURBO=1' \ 232 '-DENABLE_WEBRTC=1' \ 233 '-DUSE_PROPRIETARY_CODECS' \ 234 '-DENABLE_BROWSER_CDMS' \ 235 '-DENABLE_CONFIGURATION_POLICY' \ 236 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 237 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 238 '-DENABLE_EGLIMAGE=1' \ 239 '-DCLD_VERSION=1' \ 240 '-DENABLE_PRINTING=1' \ 241 '-DENABLE_MANAGED_USERS=1' \ 242 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 243 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 244 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 245 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 246 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 247 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 248 '-DVIDEO_HOLE=1' \ 249 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 250 '-DMOJO_USE_SYSTEM_IMPL' \ 251 '-DLIBPEERCONNECTION_LIB=1' \ 252 '-DSK_ENABLE_INST_COUNT=0' \ 253 '-DSK_SUPPORT_GPU=1' \ 254 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 255 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 256 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 257 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 258 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 259 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 260 '-DSK_BUILD_FOR_ANDROID' \ 261 '-DSK_USE_POSIX_THREADS' \ 262 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 263 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 264 '-DU_USING_ICU_NAMESPACE=0' \ 265 '-DU_ENABLE_DYLOAD=0' \ 266 '-DCHROME_PNG_WRITE_SUPPORT' \ 267 '-DPNG_USER_CONFIG' \ 268 '-DCHROME_PNG_READ_PACK_SUPPORT' \ 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) \ 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 $(LOCAL_PATH)/third_party/libjpeg_turbo \ 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. 325 LOCAL_CPPFLAGS_Release := \ 326 -fno-exceptions \ 327 -fno-rtti \ 328 -fno-threadsafe-statics \ 329 -fvisibility-inlines-hidden \ 330 -Wsign-compare \ 331 -Wno-abi \ 332 -std=gnu++11 \ 333 -Wno-narrowing \ 334 -Wno-literal-suffix \ 335 -Wno-non-virtual-dtor \ 336 -Wno-sign-promo 337 338 339 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 340 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 341 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 342 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 343 ### Rules for final target. 344 345 LOCAL_SHARED_LIBRARIES := \ 346 libstlport \ 347 libdl 348 349 # Add target alias to "gyp_all_modules" target. 350 .PHONY: gyp_all_modules 351 gyp_all_modules: components_visitedlink_renderer_gyp 352 353 # Alias gyp target name. 354 .PHONY: visitedlink_renderer 355 visitedlink_renderer: components_visitedlink_renderer_gyp 356 357 include $(BUILD_STATIC_LIBRARY) 358