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_wtf_wtf_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_wtf_wtf_config_gyp,,,$(GYP_VAR_PREFIX))/wtf_config.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_config_gyp,,,$(GYP_VAR_PREFIX))/config.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \ 17 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp 18 19GYP_GENERATED_OUTPUTS := 20 21# Make sure our deps and generated files are built first. 22LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 23 24$(gyp_intermediate_dir)/bignum-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/bignum-dtoa.cc 25 mkdir -p $(@D); cp $< $@ 26$(gyp_intermediate_dir)/bignum.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/bignum.cc 27 mkdir -p $(@D); cp $< $@ 28$(gyp_intermediate_dir)/cached-powers.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/cached-powers.cc 29 mkdir -p $(@D); cp $< $@ 30$(gyp_intermediate_dir)/diy-fp.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/diy-fp.cc 31 mkdir -p $(@D); cp $< $@ 32$(gyp_intermediate_dir)/double-conversion.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/double-conversion.cc 33 mkdir -p $(@D); cp $< $@ 34$(gyp_intermediate_dir)/fast-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/fast-dtoa.cc 35 mkdir -p $(@D); cp $< $@ 36$(gyp_intermediate_dir)/fixed-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/fixed-dtoa.cc 37 mkdir -p $(@D); cp $< $@ 38$(gyp_intermediate_dir)/strtod.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/strtod.cc 39 mkdir -p $(@D); cp $< $@ 40LOCAL_GENERATED_SOURCES := \ 41 $(gyp_intermediate_dir)/bignum-dtoa.cpp \ 42 $(gyp_intermediate_dir)/bignum.cpp \ 43 $(gyp_intermediate_dir)/cached-powers.cpp \ 44 $(gyp_intermediate_dir)/diy-fp.cpp \ 45 $(gyp_intermediate_dir)/double-conversion.cpp \ 46 $(gyp_intermediate_dir)/fast-dtoa.cpp \ 47 $(gyp_intermediate_dir)/fixed-dtoa.cpp \ 48 $(gyp_intermediate_dir)/strtod.cpp 49 50GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 51 $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa 52 53LOCAL_SRC_FILES := \ 54 third_party/WebKit/Source/wtf/AddressSpaceRandomization.cpp \ 55 third_party/WebKit/Source/wtf/ArrayBuffer.cpp \ 56 third_party/WebKit/Source/wtf/ArrayBufferBuilder.cpp \ 57 third_party/WebKit/Source/wtf/ArrayBufferContents.cpp \ 58 third_party/WebKit/Source/wtf/ArrayBufferView.cpp \ 59 third_party/WebKit/Source/wtf/ArrayPiece.cpp \ 60 third_party/WebKit/Source/wtf/Assertions.cpp \ 61 third_party/WebKit/Source/wtf/BitVector.cpp \ 62 third_party/WebKit/Source/wtf/CryptographicallyRandomNumber.cpp \ 63 third_party/WebKit/Source/wtf/CurrentTime.cpp \ 64 third_party/WebKit/Source/wtf/DataLog.cpp \ 65 third_party/WebKit/Source/wtf/DateMath.cpp \ 66 third_party/WebKit/Source/wtf/DefaultAllocator.cpp \ 67 third_party/WebKit/Source/wtf/DynamicAnnotations.cpp \ 68 third_party/WebKit/Source/wtf/FastMalloc.cpp \ 69 third_party/WebKit/Source/wtf/FilePrintStream.cpp \ 70 third_party/WebKit/Source/wtf/HashTable.cpp \ 71 third_party/WebKit/Source/wtf/InstanceCounter.cpp \ 72 third_party/WebKit/Source/wtf/MainThread.cpp \ 73 third_party/WebKit/Source/wtf/NullPtr.cpp \ 74 third_party/WebKit/Source/wtf/PageAllocator.cpp \ 75 third_party/WebKit/Source/wtf/PartitionAlloc.cpp \ 76 third_party/WebKit/Source/wtf/PrintStream.cpp \ 77 third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp \ 78 third_party/WebKit/Source/wtf/SizeLimits.cpp \ 79 third_party/WebKit/Source/wtf/ThreadingPthreads.cpp \ 80 third_party/WebKit/Source/wtf/TypeTraits.cpp \ 81 third_party/WebKit/Source/wtf/WTF.cpp \ 82 third_party/WebKit/Source/wtf/WTFThreadData.cpp \ 83 third_party/WebKit/Source/wtf/dtoa.cpp \ 84 third_party/WebKit/Source/wtf/text/AtomicString.cpp \ 85 third_party/WebKit/Source/wtf/text/Base64.cpp \ 86 third_party/WebKit/Source/wtf/text/CString.cpp \ 87 third_party/WebKit/Source/wtf/text/StringBuilder.cpp \ 88 third_party/WebKit/Source/wtf/text/StringConcatenate.cpp \ 89 third_party/WebKit/Source/wtf/text/StringImpl.cpp \ 90 third_party/WebKit/Source/wtf/text/StringStatics.cpp \ 91 third_party/WebKit/Source/wtf/text/TextCodec.cpp \ 92 third_party/WebKit/Source/wtf/text/TextCodecICU.cpp \ 93 third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp \ 94 third_party/WebKit/Source/wtf/text/TextCodecReplacement.cpp \ 95 third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp \ 96 third_party/WebKit/Source/wtf/text/TextCodecUTF8.cpp \ 97 third_party/WebKit/Source/wtf/text/TextCodecUserDefined.cpp \ 98 third_party/WebKit/Source/wtf/text/TextEncoding.cpp \ 99 third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp \ 100 third_party/WebKit/Source/wtf/text/TextPosition.cpp \ 101 third_party/WebKit/Source/wtf/text/WTFString.cpp \ 102 third_party/WebKit/Source/wtf/unicode/UTF8.cpp \ 103 third_party/WebKit/Source/wtf/unicode/icu/CollatorICU.cpp 104 105 106# Flags passed to both C and C++ files. 107MY_CFLAGS_Debug := \ 108 --param=ssp-buffer-size=4 \ 109 -Werror \ 110 -fno-strict-aliasing \ 111 -Wall \ 112 -Wno-unused-parameter \ 113 -Wno-missing-field-initializers \ 114 -fvisibility=hidden \ 115 -pipe \ 116 -fPIC \ 117 -Wno-unused-local-typedefs \ 118 -msse2 \ 119 -mfpmath=sse \ 120 -mmmx \ 121 -m32 \ 122 -ffunction-sections \ 123 -funwind-tables \ 124 -g \ 125 -fno-short-enums \ 126 -finline-limit=64 \ 127 -Wa,--noexecstack \ 128 -U_FORTIFY_SOURCE \ 129 -Wno-extra \ 130 -Wno-ignored-qualifiers \ 131 -Wno-type-limits \ 132 -Wno-unused-but-set-variable \ 133 -fno-stack-protector \ 134 -Os \ 135 -g \ 136 -gdwarf-4 \ 137 -fdata-sections \ 138 -ffunction-sections \ 139 -fomit-frame-pointer \ 140 -funwind-tables 141 142MY_DEFS_Debug := \ 143 '-DV8_DEPRECATION_WARNINGS' \ 144 '-D_FILE_OFFSET_BITS=64' \ 145 '-DNO_TCMALLOC' \ 146 '-DDISABLE_NACL' \ 147 '-DCHROMIUM_BUILD' \ 148 '-DUSE_LIBJPEG_TURBO=1' \ 149 '-DENABLE_WEBRTC=1' \ 150 '-DUSE_PROPRIETARY_CODECS' \ 151 '-DENABLE_BROWSER_CDMS' \ 152 '-DENABLE_CONFIGURATION_POLICY' \ 153 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 154 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 155 '-DENABLE_EGLIMAGE=1' \ 156 '-DCLD_VERSION=1' \ 157 '-DENABLE_PRINTING=1' \ 158 '-DENABLE_MANAGED_USERS=1' \ 159 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 160 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 161 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 162 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 163 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 164 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 165 '-DVIDEO_HOLE=1' \ 166 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 167 '-DWTF_IMPLEMENTATION=1' \ 168 '-DENABLE_SVG_FONTS=1' \ 169 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 170 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 171 '-DENABLE_WEB_AUDIO=1' \ 172 '-DENABLE_OPENTYPE_VERTICAL=1' \ 173 '-DU_USING_ICU_NAMESPACE=0' \ 174 '-DU_ENABLE_DYLOAD=0' \ 175 '-DUSE_OPENSSL=1' \ 176 '-DUSE_OPENSSL_CERTS=1' \ 177 '-D__STDC_CONSTANT_MACROS' \ 178 '-D__STDC_FORMAT_MACROS' \ 179 '-DANDROID' \ 180 '-D__GNU_SOURCE=1' \ 181 '-DUSE_STLPORT=1' \ 182 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 183 '-DCHROME_BUILD_ID=""' \ 184 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 185 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 186 '-D_DEBUG' 187 188 189# Include paths placed before CFLAGS/CPPFLAGS 190LOCAL_C_INCLUDES_Debug := \ 191 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 192 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 193 $(gyp_shared_intermediate_dir) \ 194 $(LOCAL_PATH)/third_party/WebKit/Source \ 195 $(LOCAL_PATH)/third_party/WebKit \ 196 $(PWD)/external/icu/icu4c/source/common \ 197 $(PWD)/external/icu/icu4c/source/i18n \ 198 $(PWD)/frameworks/wilhelm/include \ 199 $(PWD)/bionic \ 200 $(PWD)/external/stlport/stlport 201 202 203# Flags passed to only C++ (and not C) files. 204LOCAL_CPPFLAGS_Debug := \ 205 -Wno-c++0x-compat \ 206 -fno-exceptions \ 207 -fno-rtti \ 208 -fno-threadsafe-statics \ 209 -fvisibility-inlines-hidden \ 210 -Wsign-compare \ 211 -Wno-c++0x-compat \ 212 -std=gnu++11 \ 213 -Wno-narrowing \ 214 -Wno-literal-suffix \ 215 -Wno-non-virtual-dtor \ 216 -Wno-sign-promo 217 218 219# Flags passed to both C and C++ files. 220MY_CFLAGS_Release := \ 221 --param=ssp-buffer-size=4 \ 222 -Werror \ 223 -fno-strict-aliasing \ 224 -Wall \ 225 -Wno-unused-parameter \ 226 -Wno-missing-field-initializers \ 227 -fvisibility=hidden \ 228 -pipe \ 229 -fPIC \ 230 -Wno-unused-local-typedefs \ 231 -msse2 \ 232 -mfpmath=sse \ 233 -mmmx \ 234 -m32 \ 235 -ffunction-sections \ 236 -funwind-tables \ 237 -g \ 238 -fno-short-enums \ 239 -finline-limit=64 \ 240 -Wa,--noexecstack \ 241 -U_FORTIFY_SOURCE \ 242 -Wno-extra \ 243 -Wno-ignored-qualifiers \ 244 -Wno-type-limits \ 245 -Wno-unused-but-set-variable \ 246 -fno-stack-protector \ 247 -Os \ 248 -fno-ident \ 249 -fdata-sections \ 250 -ffunction-sections \ 251 -fomit-frame-pointer \ 252 -funwind-tables 253 254MY_DEFS_Release := \ 255 '-DV8_DEPRECATION_WARNINGS' \ 256 '-D_FILE_OFFSET_BITS=64' \ 257 '-DNO_TCMALLOC' \ 258 '-DDISABLE_NACL' \ 259 '-DCHROMIUM_BUILD' \ 260 '-DUSE_LIBJPEG_TURBO=1' \ 261 '-DENABLE_WEBRTC=1' \ 262 '-DUSE_PROPRIETARY_CODECS' \ 263 '-DENABLE_BROWSER_CDMS' \ 264 '-DENABLE_CONFIGURATION_POLICY' \ 265 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 266 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 267 '-DENABLE_EGLIMAGE=1' \ 268 '-DCLD_VERSION=1' \ 269 '-DENABLE_PRINTING=1' \ 270 '-DENABLE_MANAGED_USERS=1' \ 271 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 272 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 273 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 274 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 275 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 276 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 277 '-DVIDEO_HOLE=1' \ 278 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 279 '-DWTF_IMPLEMENTATION=1' \ 280 '-DENABLE_SVG_FONTS=1' \ 281 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 282 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 283 '-DENABLE_WEB_AUDIO=1' \ 284 '-DENABLE_OPENTYPE_VERTICAL=1' \ 285 '-DU_USING_ICU_NAMESPACE=0' \ 286 '-DU_ENABLE_DYLOAD=0' \ 287 '-DUSE_OPENSSL=1' \ 288 '-DUSE_OPENSSL_CERTS=1' \ 289 '-D__STDC_CONSTANT_MACROS' \ 290 '-D__STDC_FORMAT_MACROS' \ 291 '-DANDROID' \ 292 '-D__GNU_SOURCE=1' \ 293 '-DUSE_STLPORT=1' \ 294 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 295 '-DCHROME_BUILD_ID=""' \ 296 '-DNDEBUG' \ 297 '-DNVALGRIND' \ 298 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 299 '-D_FORTIFY_SOURCE=2' 300 301 302# Include paths placed before CFLAGS/CPPFLAGS 303LOCAL_C_INCLUDES_Release := \ 304 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 305 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 306 $(gyp_shared_intermediate_dir) \ 307 $(LOCAL_PATH)/third_party/WebKit/Source \ 308 $(LOCAL_PATH)/third_party/WebKit \ 309 $(PWD)/external/icu/icu4c/source/common \ 310 $(PWD)/external/icu/icu4c/source/i18n \ 311 $(PWD)/frameworks/wilhelm/include \ 312 $(PWD)/bionic \ 313 $(PWD)/external/stlport/stlport 314 315 316# Flags passed to only C++ (and not C) files. 317LOCAL_CPPFLAGS_Release := \ 318 -Wno-c++0x-compat \ 319 -fno-exceptions \ 320 -fno-rtti \ 321 -fno-threadsafe-statics \ 322 -fvisibility-inlines-hidden \ 323 -Wsign-compare \ 324 -Wno-c++0x-compat \ 325 -std=gnu++11 \ 326 -Wno-narrowing \ 327 -Wno-literal-suffix \ 328 -Wno-non-virtual-dtor \ 329 -Wno-sign-promo 330 331 332LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 333LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 334LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 335LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 336### Rules for final target. 337 338LOCAL_SHARED_LIBRARIES := \ 339 libstlport \ 340 libdl 341 342# Add target alias to "gyp_all_modules" target. 343.PHONY: gyp_all_modules 344gyp_all_modules: third_party_WebKit_Source_wtf_wtf_gyp 345 346# Alias gyp target name. 347.PHONY: wtf 348wtf: third_party_WebKit_Source_wtf_wtf_gyp 349 350include $(BUILD_STATIC_LIBRARY) 351