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 -fstack-protector \ 111 --param=ssp-buffer-size=4 \ 112 -Werror \ 113 -fno-exceptions \ 114 -fno-strict-aliasing \ 115 -Wall \ 116 -Wno-unused-parameter \ 117 -Wno-missing-field-initializers \ 118 -fvisibility=hidden \ 119 -pipe \ 120 -fPIC \ 121 -fno-tree-sra \ 122 -fuse-ld=gold \ 123 -Wno-psabi \ 124 -ffunction-sections \ 125 -funwind-tables \ 126 -g \ 127 -fstack-protector \ 128 -fno-short-enums \ 129 -finline-limit=64 \ 130 -Wa,--noexecstack \ 131 -U_FORTIFY_SOURCE \ 132 -Wno-extra \ 133 -Wno-ignored-qualifiers \ 134 -Wno-type-limits \ 135 -Os \ 136 -g \ 137 -fomit-frame-pointer \ 138 -fdata-sections \ 139 -ffunction-sections 140 141 MY_DEFS_Debug := \ 142 '-DV8_DEPRECATION_WARNINGS' \ 143 '-D_FILE_OFFSET_BITS=64' \ 144 '-DNO_TCMALLOC' \ 145 '-DDISABLE_NACL' \ 146 '-DCHROMIUM_BUILD' \ 147 '-DUSE_LIBJPEG_TURBO=1' \ 148 '-DUSE_PROPRIETARY_CODECS' \ 149 '-DENABLE_CONFIGURATION_POLICY' \ 150 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 151 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 152 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 153 '-DUSE_OPENSSL=1' \ 154 '-DENABLE_EGLIMAGE=1' \ 155 '-DCLD_VERSION=1' \ 156 '-DENABLE_PRINTING=1' \ 157 '-DENABLE_MANAGED_USERS=1' \ 158 '-DWTF_IMPLEMENTATION=1' \ 159 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 160 '-DENABLE_SVG_FONTS=1' \ 161 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 162 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 163 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 164 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 165 '-DENABLE_INPUT_SPEECH=0' \ 166 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 167 '-DENABLE_MEDIA_CAPTURE=1' \ 168 '-DENABLE_ORIENTATION_EVENTS=1' \ 169 '-DENABLE_TOUCH_ICON_LOADING=1' \ 170 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 171 '-DENABLE_OPENTYPE_VERTICAL=1' \ 172 '-DU_USING_ICU_NAMESPACE=0' \ 173 '-D__STDC_CONSTANT_MACROS' \ 174 '-D__STDC_FORMAT_MACROS' \ 175 '-DANDROID' \ 176 '-D__GNU_SOURCE=1' \ 177 '-DUSE_STLPORT=1' \ 178 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 179 '-DCHROME_BUILD_ID=""' \ 180 '-DDYNAMIC_ANNOTATIONS_ENABLED=1' \ 181 '-DWTF_USE_DYNAMIC_ANNOTATIONS=1' \ 182 '-D_DEBUG' 183 184 185 # Include paths placed before CFLAGS/CPPFLAGS 186 LOCAL_C_INCLUDES_Debug := \ 187 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 188 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 189 $(LOCAL_PATH)/third_party/WebKit/Source \ 190 $(LOCAL_PATH)/third_party/WebKit \ 191 $(PWD)/external/icu4c/common \ 192 $(PWD)/external/icu4c/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-rtti \ 202 -fno-threadsafe-statics \ 203 -fvisibility-inlines-hidden \ 204 -Wsign-compare \ 205 -Wno-c++0x-compat \ 206 -Wno-abi \ 207 -Wno-error=c++0x-compat \ 208 -Wno-non-virtual-dtor \ 209 -Wno-sign-promo 210 211 212 # Flags passed to both C and C++ files. 213 MY_CFLAGS_Release := \ 214 -fstack-protector \ 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 -fno-tree-sra \ 226 -fuse-ld=gold \ 227 -Wno-psabi \ 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 -Os \ 240 -fno-ident \ 241 -fdata-sections \ 242 -ffunction-sections \ 243 -fomit-frame-pointer 244 245 MY_DEFS_Release := \ 246 '-DV8_DEPRECATION_WARNINGS' \ 247 '-D_FILE_OFFSET_BITS=64' \ 248 '-DNO_TCMALLOC' \ 249 '-DDISABLE_NACL' \ 250 '-DCHROMIUM_BUILD' \ 251 '-DUSE_LIBJPEG_TURBO=1' \ 252 '-DUSE_PROPRIETARY_CODECS' \ 253 '-DENABLE_CONFIGURATION_POLICY' \ 254 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 255 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 256 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 257 '-DUSE_OPENSSL=1' \ 258 '-DENABLE_EGLIMAGE=1' \ 259 '-DCLD_VERSION=1' \ 260 '-DENABLE_PRINTING=1' \ 261 '-DENABLE_MANAGED_USERS=1' \ 262 '-DWTF_IMPLEMENTATION=1' \ 263 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 264 '-DENABLE_SVG_FONTS=1' \ 265 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 266 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 267 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 268 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 269 '-DENABLE_INPUT_SPEECH=0' \ 270 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 271 '-DENABLE_MEDIA_CAPTURE=1' \ 272 '-DENABLE_ORIENTATION_EVENTS=1' \ 273 '-DENABLE_TOUCH_ICON_LOADING=1' \ 274 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 275 '-DENABLE_OPENTYPE_VERTICAL=1' \ 276 '-DU_USING_ICU_NAMESPACE=0' \ 277 '-D__STDC_CONSTANT_MACROS' \ 278 '-D__STDC_FORMAT_MACROS' \ 279 '-DANDROID' \ 280 '-D__GNU_SOURCE=1' \ 281 '-DUSE_STLPORT=1' \ 282 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 283 '-DCHROME_BUILD_ID=""' \ 284 '-DNDEBUG' \ 285 '-DNVALGRIND' \ 286 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 287 '-D_FORTIFY_SOURCE=2' 288 289 290 # Include paths placed before CFLAGS/CPPFLAGS 291 LOCAL_C_INCLUDES_Release := \ 292 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 293 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 294 $(LOCAL_PATH)/third_party/WebKit/Source \ 295 $(LOCAL_PATH)/third_party/WebKit \ 296 $(PWD)/external/icu4c/common \ 297 $(PWD)/external/icu4c/i18n \ 298 $(PWD)/frameworks/wilhelm/include \ 299 $(PWD)/bionic \ 300 $(PWD)/external/stlport/stlport 301 302 303 # Flags passed to only C++ (and not C) files. 304 LOCAL_CPPFLAGS_Release := \ 305 -Wno-c++0x-compat \ 306 -fno-rtti \ 307 -fno-threadsafe-statics \ 308 -fvisibility-inlines-hidden \ 309 -Wsign-compare \ 310 -Wno-c++0x-compat \ 311 -Wno-abi \ 312 -Wno-error=c++0x-compat \ 313 -Wno-non-virtual-dtor \ 314 -Wno-sign-promo 315 316 317 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 318 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 319 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 320 ### Rules for final target. 321 322 LOCAL_LDFLAGS_Debug := \ 323 -Wl,-z,now \ 324 -Wl,-z,relro \ 325 -Wl,-z,noexecstack \ 326 -fPIC \ 327 -Wl,-z,relro \ 328 -Wl,-z,now \ 329 -fuse-ld=gold \ 330 -nostdlib \ 331 -Wl,--no-undefined \ 332 -Wl,--exclude-libs=ALL \ 333 -Wl,--icf=safe \ 334 -Wl,--fatal-warnings \ 335 -Wl,--gc-sections \ 336 -Wl,--warn-shared-textrel \ 337 -Wl,-O1 \ 338 -Wl,--as-needed 339 340 341 LOCAL_LDFLAGS_Release := \ 342 -Wl,-z,now \ 343 -Wl,-z,relro \ 344 -Wl,-z,noexecstack \ 345 -fPIC \ 346 -Wl,-z,relro \ 347 -Wl,-z,now \ 348 -fuse-ld=gold \ 349 -nostdlib \ 350 -Wl,--no-undefined \ 351 -Wl,--exclude-libs=ALL \ 352 -Wl,--icf=safe \ 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