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 := third_party_WebKit_Source_wtf_wtf_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_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 19 GYP_GENERATED_OUTPUTS := 20 21 # Make sure our deps and generated files are built first. 22 LOCAL_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 $< $@ 40 LOCAL_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 50 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 51 $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa 52 53 LOCAL_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. 107 MY_CFLAGS_Debug := \ 108 -fstack-protector \ 109 --param=ssp-buffer-size=4 \ 110 \ 111 -fno-strict-aliasing \ 112 -Wall \ 113 -Wno-unused-parameter \ 114 -Wno-missing-field-initializers \ 115 -fvisibility=hidden \ 116 -pipe \ 117 -fPIC \ 118 -Wno-unused-local-typedefs \ 119 -ffunction-sections \ 120 -funwind-tables \ 121 -g \ 122 -fstack-protector \ 123 -fno-short-enums \ 124 -finline-limit=64 \ 125 -Wa,--noexecstack \ 126 -U_FORTIFY_SOURCE \ 127 -Wno-extra \ 128 -Wno-ignored-qualifiers \ 129 -Wno-type-limits \ 130 -Wno-unused-but-set-variable \ 131 -Os \ 132 -g \ 133 -gdwarf-4 \ 134 -fdata-sections \ 135 -ffunction-sections \ 136 -fomit-frame-pointer \ 137 -funwind-tables 138 139 MY_DEFS_Debug := \ 140 '-DV8_DEPRECATION_WARNINGS' \ 141 '-D_FILE_OFFSET_BITS=64' \ 142 '-DNO_TCMALLOC' \ 143 '-DDISABLE_NACL' \ 144 '-DCHROMIUM_BUILD' \ 145 '-DUSE_LIBJPEG_TURBO=1' \ 146 '-DENABLE_WEBRTC=1' \ 147 '-DUSE_PROPRIETARY_CODECS' \ 148 '-DENABLE_BROWSER_CDMS' \ 149 '-DENABLE_CONFIGURATION_POLICY' \ 150 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 151 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 152 '-DENABLE_EGLIMAGE=1' \ 153 '-DCLD_VERSION=1' \ 154 '-DENABLE_PRINTING=1' \ 155 '-DENABLE_MANAGED_USERS=1' \ 156 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 157 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 158 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 159 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 160 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 161 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 162 '-DVIDEO_HOLE=1' \ 163 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 164 '-DWTF_IMPLEMENTATION=1' \ 165 '-DENABLE_SVG_FONTS=1' \ 166 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 167 '-DENABLE_OPENTYPE_VERTICAL=1' \ 168 '-DU_USING_ICU_NAMESPACE=0' \ 169 '-DU_ENABLE_DYLOAD=0' \ 170 '-DUSE_OPENSSL=1' \ 171 '-DUSE_OPENSSL_CERTS=1' \ 172 '-D__STDC_CONSTANT_MACROS' \ 173 '-D__STDC_FORMAT_MACROS' \ 174 '-DANDROID' \ 175 '-D__GNU_SOURCE=1' \ 176 '-DUSE_STLPORT=1' \ 177 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 178 '-DCHROME_BUILD_ID=""' \ 179 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 180 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 181 '-D_DEBUG' 182 183 184 # Include paths placed before CFLAGS/CPPFLAGS 185 LOCAL_C_INCLUDES_Debug := \ 186 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 187 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 188 $(gyp_shared_intermediate_dir) \ 189 $(LOCAL_PATH)/third_party/WebKit/Source \ 190 $(LOCAL_PATH)/third_party/WebKit \ 191 $(PWD)/external/icu/icu4c/source/common \ 192 $(PWD)/external/icu/icu4c/source/i18n \ 193 $(PWD)/frameworks/wilhelm/include \ 194 $(PWD)/bionic \ 195 $(PWD)/external/stlport/stlport 196 197 198 # Flags passed to only C++ (and not C) files. 199 LOCAL_CPPFLAGS_Debug := \ 200 -Wno-c++0x-compat \ 201 -fno-exceptions \ 202 -fno-rtti \ 203 -fno-threadsafe-statics \ 204 -fvisibility-inlines-hidden \ 205 -Wsign-compare \ 206 -Wno-c++0x-compat \ 207 -Wno-uninitialized \ 208 -std=gnu++11 \ 209 -Wno-narrowing \ 210 -Wno-literal-suffix \ 211 -Wno-non-virtual-dtor \ 212 -Wno-sign-promo 213 214 215 # Flags passed to both C and C++ files. 216 MY_CFLAGS_Release := \ 217 -fstack-protector \ 218 --param=ssp-buffer-size=4 \ 219 \ 220 -fno-strict-aliasing \ 221 -Wall \ 222 -Wno-unused-parameter \ 223 -Wno-missing-field-initializers \ 224 -fvisibility=hidden \ 225 -pipe \ 226 -fPIC \ 227 -Wno-unused-local-typedefs \ 228 -ffunction-sections \ 229 -funwind-tables \ 230 -g \ 231 -fstack-protector \ 232 -fno-short-enums \ 233 -finline-limit=64 \ 234 -Wa,--noexecstack \ 235 -U_FORTIFY_SOURCE \ 236 -Wno-extra \ 237 -Wno-ignored-qualifiers \ 238 -Wno-type-limits \ 239 -Wno-unused-but-set-variable \ 240 -Os \ 241 -fno-ident \ 242 -fdata-sections \ 243 -ffunction-sections \ 244 -fomit-frame-pointer \ 245 -funwind-tables 246 247 MY_DEFS_Release := \ 248 '-DV8_DEPRECATION_WARNINGS' \ 249 '-D_FILE_OFFSET_BITS=64' \ 250 '-DNO_TCMALLOC' \ 251 '-DDISABLE_NACL' \ 252 '-DCHROMIUM_BUILD' \ 253 '-DUSE_LIBJPEG_TURBO=1' \ 254 '-DENABLE_WEBRTC=1' \ 255 '-DUSE_PROPRIETARY_CODECS' \ 256 '-DENABLE_BROWSER_CDMS' \ 257 '-DENABLE_CONFIGURATION_POLICY' \ 258 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 259 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 260 '-DENABLE_EGLIMAGE=1' \ 261 '-DCLD_VERSION=1' \ 262 '-DENABLE_PRINTING=1' \ 263 '-DENABLE_MANAGED_USERS=1' \ 264 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 265 '-DDATA_REDUCTION_DEV_HOST="https://proxy-dev.googlezip.net:443/"' \ 266 '-DDATA_REDUCTION_DEV_FALLBACK_HOST="http://proxy-dev.googlezip.net:80/"' \ 267 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 268 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 269 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 270 '-DVIDEO_HOLE=1' \ 271 '-DENABLE_LOAD_COMPLETION_HACKS=1' \ 272 '-DWTF_IMPLEMENTATION=1' \ 273 '-DENABLE_SVG_FONTS=1' \ 274 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 275 '-DENABLE_OPENTYPE_VERTICAL=1' \ 276 '-DU_USING_ICU_NAMESPACE=0' \ 277 '-DU_ENABLE_DYLOAD=0' \ 278 '-DUSE_OPENSSL=1' \ 279 '-DUSE_OPENSSL_CERTS=1' \ 280 '-D__STDC_CONSTANT_MACROS' \ 281 '-D__STDC_FORMAT_MACROS' \ 282 '-DANDROID' \ 283 '-D__GNU_SOURCE=1' \ 284 '-DUSE_STLPORT=1' \ 285 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 286 '-DCHROME_BUILD_ID=""' \ 287 '-DNDEBUG' \ 288 '-DNVALGRIND' \ 289 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 290 '-D_FORTIFY_SOURCE=2' 291 292 293 # Include paths placed before CFLAGS/CPPFLAGS 294 LOCAL_C_INCLUDES_Release := \ 295 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 296 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 297 $(gyp_shared_intermediate_dir) \ 298 $(LOCAL_PATH)/third_party/WebKit/Source \ 299 $(LOCAL_PATH)/third_party/WebKit \ 300 $(PWD)/external/icu/icu4c/source/common \ 301 $(PWD)/external/icu/icu4c/source/i18n \ 302 $(PWD)/frameworks/wilhelm/include \ 303 $(PWD)/bionic \ 304 $(PWD)/external/stlport/stlport 305 306 307 # Flags passed to only C++ (and not C) files. 308 LOCAL_CPPFLAGS_Release := \ 309 -Wno-c++0x-compat \ 310 -fno-exceptions \ 311 -fno-rtti \ 312 -fno-threadsafe-statics \ 313 -fvisibility-inlines-hidden \ 314 -Wsign-compare \ 315 -Wno-c++0x-compat \ 316 -Wno-uninitialized \ 317 -std=gnu++11 \ 318 -Wno-narrowing \ 319 -Wno-literal-suffix \ 320 -Wno-non-virtual-dtor \ 321 -Wno-sign-promo 322 323 324 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 325 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 326 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 327 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 328 ### Rules for final target. 329 330 LOCAL_SHARED_LIBRARIES := \ 331 libstlport \ 332 libdl 333 334 # Add target alias to "gyp_all_modules" target. 335 .PHONY: gyp_all_modules 336 gyp_all_modules: third_party_WebKit_Source_wtf_wtf_gyp 337 338 # Alias gyp target name. 339 .PHONY: wtf 340 wtf: third_party_WebKit_Source_wtf_wtf_gyp 341 342 include $(BUILD_STATIC_LIBRARY) 343