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 gyp_intermediate_dir := $(call local-intermediates-dir) 10 gyp_shared_intermediate_dir := $(call intermediates-dir-for,GYP,shared) 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)/wtf_config.stamp \ 15 $(call intermediates-dir-for,GYP,third_party_WebKit_Source_config_gyp)/config.stamp \ 16 $(call intermediates-dir-for,GYP,third_party_icu_icui18n_gyp)/icui18n.stamp \ 17 $(call intermediates-dir-for,GYP,third_party_icu_icuuc_gyp)/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/ArrayBuffer.cpp \ 55 third_party/WebKit/Source/wtf/ArrayBufferBuilder.cpp \ 56 third_party/WebKit/Source/wtf/ArrayBufferContents.cpp \ 57 third_party/WebKit/Source/wtf/ArrayBufferView.cpp \ 58 third_party/WebKit/Source/wtf/Assertions.cpp \ 59 third_party/WebKit/Source/wtf/BitVector.cpp \ 60 third_party/WebKit/Source/wtf/CryptographicallyRandomNumber.cpp \ 61 third_party/WebKit/Source/wtf/CurrentTime.cpp \ 62 third_party/WebKit/Source/wtf/DataLog.cpp \ 63 third_party/WebKit/Source/wtf/DateMath.cpp \ 64 third_party/WebKit/Source/wtf/DecimalNumber.cpp \ 65 third_party/WebKit/Source/wtf/DynamicAnnotations.cpp \ 66 third_party/WebKit/Source/wtf/FastMalloc.cpp \ 67 third_party/WebKit/Source/wtf/FilePrintStream.cpp \ 68 third_party/WebKit/Source/wtf/GregorianDateTime.cpp \ 69 third_party/WebKit/Source/wtf/HashTable.cpp \ 70 third_party/WebKit/Source/wtf/InstanceCounter.cpp \ 71 third_party/WebKit/Source/wtf/MainThread.cpp \ 72 third_party/WebKit/Source/wtf/NullPtr.cpp \ 73 third_party/WebKit/Source/wtf/NumberOfCores.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/QuantizedAllocation.cpp \ 78 third_party/WebKit/Source/wtf/RefCountedLeakCounter.cpp \ 79 third_party/WebKit/Source/wtf/SHA1.cpp \ 80 third_party/WebKit/Source/wtf/SizeLimits.cpp \ 81 third_party/WebKit/Source/wtf/ThreadIdentifierDataPthreads.cpp \ 82 third_party/WebKit/Source/wtf/Threading.cpp \ 83 third_party/WebKit/Source/wtf/ThreadingPthreads.cpp \ 84 third_party/WebKit/Source/wtf/TypeTraits.cpp \ 85 third_party/WebKit/Source/wtf/WTF.cpp \ 86 third_party/WebKit/Source/wtf/WTFThreadData.cpp \ 87 third_party/WebKit/Source/wtf/dtoa.cpp \ 88 third_party/WebKit/Source/wtf/text/AtomicString.cpp \ 89 third_party/WebKit/Source/wtf/text/Base64.cpp \ 90 third_party/WebKit/Source/wtf/text/CString.cpp \ 91 third_party/WebKit/Source/wtf/text/StringBuilder.cpp \ 92 third_party/WebKit/Source/wtf/text/StringImpl.cpp \ 93 third_party/WebKit/Source/wtf/text/StringStatics.cpp \ 94 third_party/WebKit/Source/wtf/text/TextCodec.cpp \ 95 third_party/WebKit/Source/wtf/text/TextCodecICU.cpp \ 96 third_party/WebKit/Source/wtf/text/TextCodecLatin1.cpp \ 97 third_party/WebKit/Source/wtf/text/TextCodecUTF16.cpp \ 98 third_party/WebKit/Source/wtf/text/TextCodecUTF8.cpp \ 99 third_party/WebKit/Source/wtf/text/TextCodecUserDefined.cpp \ 100 third_party/WebKit/Source/wtf/text/TextEncoding.cpp \ 101 third_party/WebKit/Source/wtf/text/TextEncodingRegistry.cpp \ 102 third_party/WebKit/Source/wtf/text/TextPosition.cpp \ 103 third_party/WebKit/Source/wtf/text/WTFString.cpp \ 104 third_party/WebKit/Source/wtf/unicode/UTF8.cpp \ 105 third_party/WebKit/Source/wtf/unicode/icu/CollatorICU.cpp 106 107 108 # Flags passed to both C and C++ files. 109 MY_CFLAGS_Debug := \ 110 --param=ssp-buffer-size=4 \ 111 -Werror \ 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 -m32 \ 121 -mmmx \ 122 -march=pentium4 \ 123 -msse2 \ 124 -mfpmath=sse \ 125 -fuse-ld=gold \ 126 -ffunction-sections \ 127 -funwind-tables \ 128 -g \ 129 -fno-short-enums \ 130 -finline-limit=64 \ 131 -Wa,--noexecstack \ 132 -U_FORTIFY_SOURCE \ 133 -Wno-extra \ 134 -Wno-ignored-qualifiers \ 135 -Wno-type-limits \ 136 -fno-stack-protector \ 137 -Os \ 138 -g \ 139 -fomit-frame-pointer \ 140 -fdata-sections \ 141 -ffunction-sections 142 143 MY_DEFS_Debug := \ 144 '-DV8_DEPRECATION_WARNINGS' \ 145 '-D_FILE_OFFSET_BITS=64' \ 146 '-DNO_TCMALLOC' \ 147 '-DDISABLE_NACL' \ 148 '-DCHROMIUM_BUILD' \ 149 '-DUSE_LIBJPEG_TURBO=1' \ 150 '-DUSE_PROPRIETARY_CODECS' \ 151 '-DENABLE_CONFIGURATION_POLICY' \ 152 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 153 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 154 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 155 '-DUSE_OPENSSL=1' \ 156 '-DENABLE_EGLIMAGE=1' \ 157 '-DCLD_VERSION=1' \ 158 '-DENABLE_PRINTING=1' \ 159 '-DENABLE_MANAGED_USERS=1' \ 160 '-DWTF_IMPLEMENTATION=1' \ 161 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 162 '-DENABLE_SVG_FONTS=1' \ 163 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 164 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 165 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 166 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 167 '-DENABLE_INPUT_SPEECH=0' \ 168 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 169 '-DENABLE_MEDIA_CAPTURE=1' \ 170 '-DENABLE_ORIENTATION_EVENTS=1' \ 171 '-DENABLE_TOUCH_ICON_LOADING=1' \ 172 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 173 '-DENABLE_OPENTYPE_VERTICAL=1' \ 174 '-DU_USING_ICU_NAMESPACE=0' \ 175 '-D__STDC_CONSTANT_MACROS' \ 176 '-D__STDC_FORMAT_MACROS' \ 177 '-DANDROID' \ 178 '-D__GNU_SOURCE=1' \ 179 '-DUSE_STLPORT=1' \ 180 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 181 '-DCHROME_BUILD_ID=""' \ 182 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 183 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 184 '-D_DEBUG' 185 186 187 # Include paths placed before CFLAGS/CPPFLAGS 188 LOCAL_C_INCLUDES_Debug := \ 189 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 190 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 191 $(LOCAL_PATH)/third_party/WebKit/Source \ 192 $(LOCAL_PATH)/third_party/WebKit \ 193 $(PWD)/external/icu4c/common \ 194 $(PWD)/external/icu4c/i18n \ 195 $(PWD)/frameworks/wilhelm/include \ 196 $(PWD)/bionic \ 197 $(PWD)/external/stlport/stlport 198 199 200 # Flags passed to only C++ (and not C) files. 201 LOCAL_CPPFLAGS_Debug := \ 202 -Wno-c++0x-compat \ 203 -fno-rtti \ 204 -fno-threadsafe-statics \ 205 -fvisibility-inlines-hidden \ 206 -Wsign-compare \ 207 -Wno-c++0x-compat \ 208 -Wno-error=c++0x-compat \ 209 -Wno-non-virtual-dtor \ 210 -Wno-sign-promo 211 212 213 # Flags passed to both C and C++ files. 214 MY_CFLAGS_Release := \ 215 --param=ssp-buffer-size=4 \ 216 -Werror \ 217 -fno-exceptions \ 218 -fno-strict-aliasing \ 219 -Wall \ 220 -Wno-unused-parameter \ 221 -Wno-missing-field-initializers \ 222 -fvisibility=hidden \ 223 -pipe \ 224 -fPIC \ 225 -m32 \ 226 -mmmx \ 227 -march=pentium4 \ 228 -msse2 \ 229 -mfpmath=sse \ 230 -fuse-ld=gold \ 231 -ffunction-sections \ 232 -funwind-tables \ 233 -g \ 234 -fno-short-enums \ 235 -finline-limit=64 \ 236 -Wa,--noexecstack \ 237 -U_FORTIFY_SOURCE \ 238 -Wno-extra \ 239 -Wno-ignored-qualifiers \ 240 -Wno-type-limits \ 241 -fno-stack-protector \ 242 -Os \ 243 -fno-ident \ 244 -fdata-sections \ 245 -ffunction-sections \ 246 -fomit-frame-pointer \ 247 -fno-unwind-tables \ 248 -fno-asynchronous-unwind-tables 249 250 MY_DEFS_Release := \ 251 '-DV8_DEPRECATION_WARNINGS' \ 252 '-D_FILE_OFFSET_BITS=64' \ 253 '-DNO_TCMALLOC' \ 254 '-DDISABLE_NACL' \ 255 '-DCHROMIUM_BUILD' \ 256 '-DUSE_LIBJPEG_TURBO=1' \ 257 '-DUSE_PROPRIETARY_CODECS' \ 258 '-DENABLE_CONFIGURATION_POLICY' \ 259 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 260 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 261 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 262 '-DUSE_OPENSSL=1' \ 263 '-DENABLE_EGLIMAGE=1' \ 264 '-DCLD_VERSION=1' \ 265 '-DENABLE_PRINTING=1' \ 266 '-DENABLE_MANAGED_USERS=1' \ 267 '-DWTF_IMPLEMENTATION=1' \ 268 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 269 '-DENABLE_SVG_FONTS=1' \ 270 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 271 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 272 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 273 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 274 '-DENABLE_INPUT_SPEECH=0' \ 275 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 276 '-DENABLE_MEDIA_CAPTURE=1' \ 277 '-DENABLE_ORIENTATION_EVENTS=1' \ 278 '-DENABLE_TOUCH_ICON_LOADING=1' \ 279 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 280 '-DENABLE_OPENTYPE_VERTICAL=1' \ 281 '-DU_USING_ICU_NAMESPACE=0' \ 282 '-D__STDC_CONSTANT_MACROS' \ 283 '-D__STDC_FORMAT_MACROS' \ 284 '-DANDROID' \ 285 '-D__GNU_SOURCE=1' \ 286 '-DUSE_STLPORT=1' \ 287 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 288 '-DCHROME_BUILD_ID=""' \ 289 '-DNDEBUG' \ 290 '-DNVALGRIND' \ 291 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 292 '-D_FORTIFY_SOURCE=2' 293 294 295 # Include paths placed before CFLAGS/CPPFLAGS 296 LOCAL_C_INCLUDES_Release := \ 297 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 298 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 299 $(LOCAL_PATH)/third_party/WebKit/Source \ 300 $(LOCAL_PATH)/third_party/WebKit \ 301 $(PWD)/external/icu4c/common \ 302 $(PWD)/external/icu4c/i18n \ 303 $(PWD)/frameworks/wilhelm/include \ 304 $(PWD)/bionic \ 305 $(PWD)/external/stlport/stlport 306 307 308 # Flags passed to only C++ (and not C) files. 309 LOCAL_CPPFLAGS_Release := \ 310 -Wno-c++0x-compat \ 311 -fno-rtti \ 312 -fno-threadsafe-statics \ 313 -fvisibility-inlines-hidden \ 314 -Wsign-compare \ 315 -Wno-c++0x-compat \ 316 -Wno-error=c++0x-compat \ 317 -Wno-non-virtual-dtor \ 318 -Wno-sign-promo 319 320 321 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 322 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 323 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 324 ### Rules for final target. 325 326 LOCAL_LDFLAGS_Debug := \ 327 -Wl,-z,now \ 328 -Wl,-z,relro \ 329 -Wl,-z,noexecstack \ 330 -fPIC \ 331 -m32 \ 332 -fuse-ld=gold \ 333 -nostdlib \ 334 -Wl,--no-undefined \ 335 -Wl,--exclude-libs=ALL \ 336 -Wl,--fatal-warnings \ 337 -Wl,--gc-sections \ 338 -Wl,--warn-shared-textrel \ 339 -Wl,-O1 \ 340 -Wl,--as-needed 341 342 343 LOCAL_LDFLAGS_Release := \ 344 -Wl,-z,now \ 345 -Wl,-z,relro \ 346 -Wl,-z,noexecstack \ 347 -fPIC \ 348 -m32 \ 349 -fuse-ld=gold \ 350 -nostdlib \ 351 -Wl,--no-undefined \ 352 -Wl,--exclude-libs=ALL \ 353 -Wl,-O1 \ 354 -Wl,--as-needed \ 355 -Wl,--gc-sections \ 356 -Wl,--fatal-warnings \ 357 -Wl,--warn-shared-textrel 358 359 360 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 361 362 LOCAL_STATIC_LIBRARIES := 363 364 # Enable grouping to fix circular references 365 LOCAL_GROUP_STATIC_LIBRARIES := true 366 367 LOCAL_SHARED_LIBRARIES := \ 368 libstlport \ 369 libdl 370 371 # Add target alias to "gyp_all_modules" target. 372 .PHONY: gyp_all_modules 373 gyp_all_modules: third_party_WebKit_Source_wtf_wtf_gyp 374 375 # Alias gyp target name. 376 .PHONY: wtf 377 wtf: third_party_WebKit_Source_wtf_wtf_gyp 378 379 include $(BUILD_STATIC_LIBRARY) 380