1# This file is generated by gyp; do not edit. 2 3include $(CLEAR_VARS) 4 5LOCAL_MODULE_CLASS := STATIC_LIBRARIES 6LOCAL_MODULE := third_party_WebKit_Source_platform_blink_common_gyp 7LOCAL_MODULE_SUFFIX := .a 8LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 9gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 10gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 11 12# Make sure our deps are built first. 13GYP_TARGET_DEPENDENCIES := \ 14 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_config_gyp,,,$(GYP_VAR_PREFIX))/config.stamp \ 15 $(call intermediates-dir-for,GYP,skia_skia_gyp,,,$(GYP_VAR_PREFIX))/skia.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_GENERATED_SOURCES := 24 25GYP_COPIED_SOURCE_ORIGIN_DIRS := 26 27LOCAL_SRC_FILES := \ 28 third_party/WebKit/Source/platform/exported/WebCString.cpp \ 29 third_party/WebKit/Source/platform/exported/WebString.cpp \ 30 third_party/WebKit/Source/platform/exported/WebCommon.cpp 31 32 33# Flags passed to both C and C++ files. 34MY_CFLAGS_Debug := \ 35 --param=ssp-buffer-size=4 \ 36 -Werror \ 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 -gdwarf-4 \ 64 -fdata-sections \ 65 -ffunction-sections \ 66 -fomit-frame-pointer \ 67 -funwind-tables 68 69MY_DEFS_Debug := \ 70 '-DV8_DEPRECATION_WARNINGS' \ 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="https://proxy-dev.googlezip.net:443/"' \ 88 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 89 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 90 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 91 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 92 '-DVIDEO_HOLE=1' \ 93 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 94 '-DBLINK_COMMON_IMPLEMENTATION=1' \ 95 '-DINSIDE_BLINK' \ 96 '-DENABLE_SVG_FONTS=1' \ 97 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 98 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 99 '-DENABLE_WEB_AUDIO=1' \ 100 '-DENABLE_OPENTYPE_VERTICAL=1' \ 101 '-DU_USING_ICU_NAMESPACE=0' \ 102 '-DU_ENABLE_DYLOAD=0' \ 103 '-DSK_ENABLE_INST_COUNT=0' \ 104 '-DSK_SUPPORT_GPU=1' \ 105 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 106 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 107 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 108 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 109 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 110 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 111 '-DSK_BUILD_FOR_ANDROID' \ 112 '-DSK_USE_POSIX_THREADS' \ 113 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 114 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 115 '-DUSE_OPENSSL=1' \ 116 '-DUSE_OPENSSL_CERTS=1' \ 117 '-D__STDC_CONSTANT_MACROS' \ 118 '-D__STDC_FORMAT_MACROS' \ 119 '-DANDROID' \ 120 '-D__GNU_SOURCE=1' \ 121 '-DUSE_STLPORT=1' \ 122 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 123 '-DCHROME_BUILD_ID=""' \ 124 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 125 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 126 '-D_DEBUG' 127 128 129# Include paths placed before CFLAGS/CPPFLAGS 130LOCAL_C_INCLUDES_Debug := \ 131 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 132 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 133 $(gyp_shared_intermediate_dir) \ 134 $(gyp_shared_intermediate_dir)/blink \ 135 $(LOCAL_PATH) \ 136 $(LOCAL_PATH)/skia/config \ 137 $(LOCAL_PATH)/third_party/WebKit/Source \ 138 $(LOCAL_PATH)/third_party/WebKit \ 139 $(PWD)/external/icu/icu4c/source/common \ 140 $(PWD)/external/icu/icu4c/source/i18n \ 141 $(LOCAL_PATH)/third_party/skia/src/core \ 142 $(LOCAL_PATH)/third_party/skia/include/core \ 143 $(LOCAL_PATH)/third_party/skia/include/effects \ 144 $(LOCAL_PATH)/third_party/skia/include/pdf \ 145 $(LOCAL_PATH)/third_party/skia/include/gpu \ 146 $(LOCAL_PATH)/third_party/skia/include/lazy \ 147 $(LOCAL_PATH)/third_party/skia/include/pathops \ 148 $(LOCAL_PATH)/third_party/skia/include/pipe \ 149 $(LOCAL_PATH)/third_party/skia/include/ports \ 150 $(LOCAL_PATH)/third_party/skia/include/utils \ 151 $(LOCAL_PATH)/skia/ext \ 152 $(PWD)/frameworks/wilhelm/include \ 153 $(PWD)/bionic \ 154 $(PWD)/external/stlport/stlport 155 156 157# Flags passed to only C++ (and not C) files. 158LOCAL_CPPFLAGS_Debug := \ 159 -fno-exceptions \ 160 -fno-rtti \ 161 -fno-threadsafe-statics \ 162 -fvisibility-inlines-hidden \ 163 -Wsign-compare \ 164 -Wno-c++0x-compat \ 165 -std=gnu++11 \ 166 -Wno-narrowing \ 167 -Wno-literal-suffix \ 168 -Wno-non-virtual-dtor \ 169 -Wno-sign-promo 170 171 172# Flags passed to both C and C++ files. 173MY_CFLAGS_Release := \ 174 --param=ssp-buffer-size=4 \ 175 -Werror \ 176 -fno-strict-aliasing \ 177 -Wall \ 178 -Wno-unused-parameter \ 179 -Wno-missing-field-initializers \ 180 -fvisibility=hidden \ 181 -pipe \ 182 -fPIC \ 183 -Wno-unused-local-typedefs \ 184 -msse2 \ 185 -mfpmath=sse \ 186 -mmmx \ 187 -m32 \ 188 -ffunction-sections \ 189 -funwind-tables \ 190 -g \ 191 -fno-short-enums \ 192 -finline-limit=64 \ 193 -Wa,--noexecstack \ 194 -U_FORTIFY_SOURCE \ 195 -Wno-extra \ 196 -Wno-ignored-qualifiers \ 197 -Wno-type-limits \ 198 -Wno-unused-but-set-variable \ 199 -fno-stack-protector \ 200 -Os \ 201 -fno-ident \ 202 -fdata-sections \ 203 -ffunction-sections \ 204 -fomit-frame-pointer \ 205 -funwind-tables 206 207MY_DEFS_Release := \ 208 '-DV8_DEPRECATION_WARNINGS' \ 209 '-D_FILE_OFFSET_BITS=64' \ 210 '-DNO_TCMALLOC' \ 211 '-DDISABLE_NACL' \ 212 '-DCHROMIUM_BUILD' \ 213 '-DUSE_LIBJPEG_TURBO=1' \ 214 '-DENABLE_WEBRTC=1' \ 215 '-DUSE_PROPRIETARY_CODECS' \ 216 '-DENABLE_BROWSER_CDMS' \ 217 '-DENABLE_CONFIGURATION_POLICY' \ 218 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 219 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 220 '-DENABLE_EGLIMAGE=1' \ 221 '-DCLD_VERSION=1' \ 222 '-DENABLE_PRINTING=1' \ 223 '-DENABLE_MANAGED_USERS=1' \ 224 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 225 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 226 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 227 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 228 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 229 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 230 '-DVIDEO_HOLE=1' \ 231 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 232 '-DBLINK_COMMON_IMPLEMENTATION=1' \ 233 '-DINSIDE_BLINK' \ 234 '-DENABLE_SVG_FONTS=1' \ 235 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 236 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 237 '-DENABLE_WEB_AUDIO=1' \ 238 '-DENABLE_OPENTYPE_VERTICAL=1' \ 239 '-DU_USING_ICU_NAMESPACE=0' \ 240 '-DU_ENABLE_DYLOAD=0' \ 241 '-DSK_ENABLE_INST_COUNT=0' \ 242 '-DSK_SUPPORT_GPU=1' \ 243 '-DGR_GL_CUSTOM_SETUP_HEADER="GrGLConfig_chrome.h"' \ 244 '-DSK_ENABLE_LEGACY_API_ALIASING=1' \ 245 '-DSK_ATTR_DEPRECATED=SK_NOTHING_ARG1' \ 246 '-DGR_GL_IGNORE_ES3_MSAA=0' \ 247 '-DSK_WILL_NEVER_DRAW_PERSPECTIVE_TEXT' \ 248 '-DSK_SUPPORT_LEGACY_TEXTRENDERMODE' \ 249 '-DSK_BUILD_FOR_ANDROID' \ 250 '-DSK_USE_POSIX_THREADS' \ 251 '-DSK_DEFERRED_CANVAS_USES_FACTORIES=1' \ 252 '-DSK_FM_NEW_MATCH_FAMILY_STYLE_CHARACTER=1' \ 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 269LOCAL_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 $(gyp_shared_intermediate_dir)/blink \ 274 $(LOCAL_PATH) \ 275 $(LOCAL_PATH)/skia/config \ 276 $(LOCAL_PATH)/third_party/WebKit/Source \ 277 $(LOCAL_PATH)/third_party/WebKit \ 278 $(PWD)/external/icu/icu4c/source/common \ 279 $(PWD)/external/icu/icu4c/source/i18n \ 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)/frameworks/wilhelm/include \ 292 $(PWD)/bionic \ 293 $(PWD)/external/stlport/stlport 294 295 296# Flags passed to only C++ (and not C) files. 297LOCAL_CPPFLAGS_Release := \ 298 -fno-exceptions \ 299 -fno-rtti \ 300 -fno-threadsafe-statics \ 301 -fvisibility-inlines-hidden \ 302 -Wsign-compare \ 303 -Wno-c++0x-compat \ 304 -std=gnu++11 \ 305 -Wno-narrowing \ 306 -Wno-literal-suffix \ 307 -Wno-non-virtual-dtor \ 308 -Wno-sign-promo 309 310 311LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 312LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 313LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 314LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 315### Rules for final target. 316 317LOCAL_SHARED_LIBRARIES := \ 318 libstlport \ 319 libdl 320 321# Add target alias to "gyp_all_modules" target. 322.PHONY: gyp_all_modules 323gyp_all_modules: third_party_WebKit_Source_platform_blink_common_gyp 324 325# Alias gyp target name. 326.PHONY: blink_common 327blink_common: third_party_WebKit_Source_platform_blink_common_gyp 328 329include $(BUILD_STATIC_LIBRARY) 330