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