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