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_TAGS := optional 9 LOCAL_MODULE_TARGET_ARCH := $(TARGET_$(GYP_VAR_PREFIX)ARCH) 10 gyp_intermediate_dir := $(call local-intermediates-dir,,$(GYP_VAR_PREFIX)) 11 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared,,,$(GYP_VAR_PREFIX)) 12 13 # Make sure our deps are built first. 14 GYP_TARGET_DEPENDENCIES := \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_wtf_wtf_config_gyp,,,$(GYP_VAR_PREFIX))/wtf_config.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_config_gyp,,,$(GYP_VAR_PREFIX))/config.stamp \ 17 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp,,,$(GYP_VAR_PREFIX))/icui18n.stamp \ 18 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp,,,$(GYP_VAR_PREFIX))/icuuc.stamp 19 20 GYP_GENERATED_OUTPUTS := 21 22 # Make sure our deps and generated files are built first. 23 LOCAL_ADDITIONAL_DEPENDENCIES := $(GYP_TARGET_DEPENDENCIES) $(GYP_GENERATED_OUTPUTS) 24 25 $(gyp_intermediate_dir)/bignum-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/bignum-dtoa.cc 26 mkdir -p $(@D); cp $< $@ 27 $(gyp_intermediate_dir)/bignum.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/bignum.cc 28 mkdir -p $(@D); cp $< $@ 29 $(gyp_intermediate_dir)/cached-powers.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/cached-powers.cc 30 mkdir -p $(@D); cp $< $@ 31 $(gyp_intermediate_dir)/diy-fp.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/diy-fp.cc 32 mkdir -p $(@D); cp $< $@ 33 $(gyp_intermediate_dir)/double-conversion.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/double-conversion.cc 34 mkdir -p $(@D); cp $< $@ 35 $(gyp_intermediate_dir)/fast-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/fast-dtoa.cc 36 mkdir -p $(@D); cp $< $@ 37 $(gyp_intermediate_dir)/fixed-dtoa.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/fixed-dtoa.cc 38 mkdir -p $(@D); cp $< $@ 39 $(gyp_intermediate_dir)/strtod.cpp: $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa/strtod.cc 40 mkdir -p $(@D); cp $< $@ 41 LOCAL_GENERATED_SOURCES := \ 42 $(gyp_intermediate_dir)/bignum-dtoa.cpp \ 43 $(gyp_intermediate_dir)/bignum.cpp \ 44 $(gyp_intermediate_dir)/cached-powers.cpp \ 45 $(gyp_intermediate_dir)/diy-fp.cpp \ 46 $(gyp_intermediate_dir)/double-conversion.cpp \ 47 $(gyp_intermediate_dir)/fast-dtoa.cpp \ 48 $(gyp_intermediate_dir)/fixed-dtoa.cpp \ 49 $(gyp_intermediate_dir)/strtod.cpp 50 51 GYP_COPIED_SOURCE_ORIGIN_DIRS := \ 52 $(LOCAL_PATH)/third_party/WebKit/Source/wtf/dtoa 53 54 LOCAL_SRC_FILES := \ 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/ThreadIdentifierDataPthreads.cpp \ 80 third_party/WebKit/Source/wtf/Threading.cpp \ 81 third_party/WebKit/Source/wtf/ThreadingPthreads.cpp \ 82 third_party/WebKit/Source/wtf/TypeTraits.cpp \ 83 third_party/WebKit/Source/wtf/WTF.cpp \ 84 third_party/WebKit/Source/wtf/WTFThreadData.cpp \ 85 third_party/WebKit/Source/wtf/dtoa.cpp \ 86 third_party/WebKit/Source/wtf/text/AtomicString.cpp \ 87 third_party/WebKit/Source/wtf/text/Base64.cpp \ 88 third_party/WebKit/Source/wtf/text/CString.cpp \ 89 third_party/WebKit/Source/wtf/text/StringBuilder.cpp \ 90 third_party/WebKit/Source/wtf/text/StringImpl.cpp \ 91 third_party/WebKit/Source/wtf/text/StringStatics.cpp \ 92 third_party/WebKit/Source/wtf/text/TextCodec.cpp \ 93 third_party/WebKit/Source/wtf/text/TextCodecICU.cpp \ 94 third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp \ 95 third_party/WebKit/Source/wtf/text/TextCodecReplacement.cpp \ 96 third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp \ 97 third_party/WebKit/Source/wtf/text/TextCodecUTF8.cpp \ 98 third_party/WebKit/Source/wtf/text/TextCodecUserDefined.cpp \ 99 third_party/WebKit/Source/wtf/text/TextEncoding.cpp \ 100 third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp \ 101 third_party/WebKit/Source/wtf/text/TextPosition.cpp \ 102 third_party/WebKit/Source/wtf/text/WTFString.cpp \ 103 third_party/WebKit/Source/wtf/unicode/UTF8.cpp \ 104 third_party/WebKit/Source/wtf/unicode/icu/CollatorICU.cpp 105 106 107 # Flags passed to both C and C++ files. 108 MY_CFLAGS_Debug := \ 109 -fstack-protector \ 110 --param=ssp-buffer-size=4 \ 111 \ 112 -fno-exceptions \ 113 -fno-strict-aliasing \ 114 -Wall \ 115 -Wno-unused-parameter \ 116 -Wno-missing-field-initializers \ 117 -fvisibility=hidden \ 118 -pipe \ 119 -fPIC \ 120 -Wno-unused-local-typedefs \ 121 -EL \ 122 -mhard-float \ 123 -ffunction-sections \ 124 -funwind-tables \ 125 -g \ 126 -fstack-protector \ 127 -fno-short-enums \ 128 -finline-limit=64 \ 129 -Wa,--noexecstack \ 130 -U_FORTIFY_SOURCE \ 131 -Wno-extra \ 132 -Wno-ignored-qualifiers \ 133 -Wno-type-limits \ 134 -Wno-unused-but-set-variable \ 135 -Os \ 136 -g \ 137 -fdata-sections \ 138 -ffunction-sections \ 139 -fomit-frame-pointer \ 140 -funwind-tables 141 142 MY_DEFS_Debug := \ 143 '-DV8_DEPRECATION_WARNINGS' \ 144 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 145 '-D_FILE_OFFSET_BITS=64' \ 146 '-DNO_TCMALLOC' \ 147 '-DDISABLE_NACL' \ 148 '-DCHROMIUM_BUILD' \ 149 '-DUSE_LIBJPEG_TURBO=1' \ 150 '-DENABLE_WEBRTC=1' \ 151 '-DUSE_PROPRIETARY_CODECS' \ 152 '-DENABLE_BROWSER_CDMS' \ 153 '-DENABLE_CONFIGURATION_POLICY' \ 154 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 155 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 156 '-DENABLE_EGLIMAGE=1' \ 157 '-DCLD_VERSION=1' \ 158 '-DENABLE_PRINTING=1' \ 159 '-DENABLE_MANAGED_USERS=1' \ 160 '-DDATA_REDUCTION_FALLBACK_HOST="http://compress.googlezip.net:80/"' \ 161 '-DDATA_REDUCTION_DEV_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 '-DWTF_IMPLEMENTATION=1' \ 167 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 168 '-DENABLE_SVG_FONTS=1' \ 169 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 170 '-DENABLE_MEDIA_CAPTURE=1' \ 171 '-DWTF_USE_WEBAUDIO_OPENMAX_DL_FFT=1' \ 172 '-DENABLE_WEB_AUDIO=1' \ 173 '-DENABLE_OPENTYPE_VERTICAL=1' \ 174 '-DU_USING_ICU_NAMESPACE=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 190 LOCAL_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. 204 LOCAL_CPPFLAGS_Debug := \ 205 -Wno-c++0x-compat \ 206 -fno-rtti \ 207 -fno-threadsafe-statics \ 208 -fvisibility-inlines-hidden \ 209 -Wsign-compare \ 210 -Wno-c++0x-compat \ 211 -Wno-uninitialized \ 212 -Wno-non-virtual-dtor \ 213 -Wno-sign-promo 214 215 216 LOCAL_FDO_SUPPORT_Debug := false 217 218 # Flags passed to both C and C++ files. 219 MY_CFLAGS_Release := \ 220 -fstack-protector \ 221 --param=ssp-buffer-size=4 \ 222 \ 223 -fno-exceptions \ 224 -fno-strict-aliasing \ 225 -Wall \ 226 -Wno-unused-parameter \ 227 -Wno-missing-field-initializers \ 228 -fvisibility=hidden \ 229 -pipe \ 230 -fPIC \ 231 -Wno-unused-local-typedefs \ 232 -EL \ 233 -mhard-float \ 234 -ffunction-sections \ 235 -funwind-tables \ 236 -g \ 237 -fstack-protector \ 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 -Os \ 247 -fno-ident \ 248 -fdata-sections \ 249 -ffunction-sections \ 250 -fomit-frame-pointer \ 251 -funwind-tables 252 253 MY_DEFS_Release := \ 254 '-DV8_DEPRECATION_WARNINGS' \ 255 '-DBLINK_SCALE_FILTERS_AT_RECORD_TIME' \ 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="http://proxy-dev.googlezip.net:80/"' \ 273 '-DSPDY_PROXY_AUTH_ORIGIN="https://proxy.googlezip.net:443/"' \ 274 '-DDATA_REDUCTION_PROXY_PROBE_URL="http://check.googlezip.net/connect"' \ 275 '-DDATA_REDUCTION_PROXY_WARMUP_URL="http://www.gstatic.com/generate_204"' \ 276 '-DVIDEO_HOLE=1' \ 277 '-DWTF_IMPLEMENTATION=1' \ 278 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 279 '-DENABLE_SVG_FONTS=1' \ 280 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 281 '-DENABLE_MEDIA_CAPTURE=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 '-DUSE_OPENSSL=1' \ 287 '-DUSE_OPENSSL_CERTS=1' \ 288 '-D__STDC_CONSTANT_MACROS' \ 289 '-D__STDC_FORMAT_MACROS' \ 290 '-DANDROID' \ 291 '-D__GNU_SOURCE=1' \ 292 '-DUSE_STLPORT=1' \ 293 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 294 '-DCHROME_BUILD_ID=""' \ 295 '-DNDEBUG' \ 296 '-DNVALGRIND' \ 297 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 298 '-D_FORTIFY_SOURCE=2' 299 300 301 # Include paths placed before CFLAGS/CPPFLAGS 302 LOCAL_C_INCLUDES_Release := \ 303 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 304 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 305 $(gyp_shared_intermediate_dir) \ 306 $(LOCAL_PATH)/third_party/WebKit/Source \ 307 $(LOCAL_PATH)/third_party/WebKit \ 308 $(PWD)/external/icu/icu4c/source/common \ 309 $(PWD)/external/icu/icu4c/source/i18n \ 310 $(PWD)/frameworks/wilhelm/include \ 311 $(PWD)/bionic \ 312 $(PWD)/external/stlport/stlport 313 314 315 # Flags passed to only C++ (and not C) files. 316 LOCAL_CPPFLAGS_Release := \ 317 -Wno-c++0x-compat \ 318 -fno-rtti \ 319 -fno-threadsafe-statics \ 320 -fvisibility-inlines-hidden \ 321 -Wsign-compare \ 322 -Wno-c++0x-compat \ 323 -Wno-uninitialized \ 324 -Wno-non-virtual-dtor \ 325 -Wno-sign-promo 326 327 328 LOCAL_FDO_SUPPORT_Release := false 329 330 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 331 LOCAL_FDO_SUPPORT := $(LOCAL_FDO_SUPPORT_$(GYP_CONFIGURATION)) 332 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 333 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 334 LOCAL_ASFLAGS := $(LOCAL_CFLAGS) 335 ### Rules for final target. 336 337 LOCAL_LDFLAGS_Debug := \ 338 -Wl,-z,now \ 339 -Wl,-z,relro \ 340 -Wl,--fatal-warnings \ 341 -Wl,-z,noexecstack \ 342 -fPIC \ 343 -EL \ 344 -Wl,--no-keep-memory \ 345 -nostdlib \ 346 -Wl,--no-undefined \ 347 -Wl,--exclude-libs=ALL \ 348 -Wl,--warn-shared-textrel \ 349 -Wl,-O1 \ 350 -Wl,--as-needed 351 352 353 LOCAL_LDFLAGS_Release := \ 354 -Wl,-z,now \ 355 -Wl,-z,relro \ 356 -Wl,--fatal-warnings \ 357 -Wl,-z,noexecstack \ 358 -fPIC \ 359 -EL \ 360 -Wl,--no-keep-memory \ 361 -nostdlib \ 362 -Wl,--no-undefined \ 363 -Wl,--exclude-libs=ALL \ 364 -Wl,-O1 \ 365 -Wl,--as-needed \ 366 -Wl,--gc-sections \ 367 -Wl,--warn-shared-textrel 368 369 370 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 371 372 LOCAL_STATIC_LIBRARIES := 373 374 # Enable grouping to fix circular references 375 LOCAL_GROUP_STATIC_LIBRARIES := true 376 377 LOCAL_SHARED_LIBRARIES := \ 378 libstlport \ 379 libdl 380 381 # Add target alias to "gyp_all_modules" target. 382 .PHONY: gyp_all_modules 383 gyp_all_modules: third_party_WebKit_Source_wtf_wtf_gyp 384 385 # Alias gyp target name. 386 .PHONY: wtf 387 wtf: third_party_WebKit_Source_wtf_wtf_gyp 388 389 include $(BUILD_STATIC_LIBRARY) 390