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 \ 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 -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 -Os \ 135 -g \ 136 -fomit-frame-pointer \ 137 -fdata-sections \ 138 -ffunction-sections 139 140 MY_DEFS_Debug := \ 141 '-DV8_DEPRECATION_WARNINGS' \ 142 '-D_FILE_OFFSET_BITS=64' \ 143 '-DNO_TCMALLOC' \ 144 '-DDISABLE_NACL' \ 145 '-DCHROMIUM_BUILD' \ 146 '-DUSE_LIBJPEG_TURBO=1' \ 147 '-DUSE_PROPRIETARY_CODECS' \ 148 '-DENABLE_CONFIGURATION_POLICY' \ 149 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 150 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 151 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 152 '-DUSE_OPENSSL=1' \ 153 '-DENABLE_EGLIMAGE=1' \ 154 '-DCLD_VERSION=1' \ 155 '-DENABLE_PRINTING=1' \ 156 '-DENABLE_MANAGED_USERS=1' \ 157 '-DWTF_IMPLEMENTATION=1' \ 158 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 159 '-DENABLE_SVG_FONTS=1' \ 160 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 161 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 162 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 163 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 164 '-DENABLE_INPUT_SPEECH=0' \ 165 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 166 '-DENABLE_MEDIA_CAPTURE=1' \ 167 '-DENABLE_ORIENTATION_EVENTS=1' \ 168 '-DENABLE_TOUCH_ICON_LOADING=1' \ 169 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 170 '-DENABLE_OPENTYPE_VERTICAL=1' \ 171 '-DU_USING_ICU_NAMESPACE=0' \ 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 $(LOCAL_PATH)/third_party/WebKit/Source \ 189 $(LOCAL_PATH)/third_party/WebKit \ 190 $(PWD)/external/icu4c/common \ 191 $(PWD)/external/icu4c/i18n \ 192 $(PWD)/frameworks/wilhelm/include \ 193 $(PWD)/bionic \ 194 $(PWD)/external/stlport/stlport 195 196 197 # Flags passed to only C++ (and not C) files. 198 LOCAL_CPPFLAGS_Debug := \ 199 -Wno-c++0x-compat \ 200 -fno-rtti \ 201 -fno-threadsafe-statics \ 202 -fvisibility-inlines-hidden \ 203 -Wsign-compare \ 204 -Wno-c++0x-compat \ 205 -Wno-uninitialized \ 206 -Wno-error=c++0x-compat \ 207 -Wno-non-virtual-dtor \ 208 -Wno-sign-promo 209 210 211 # Flags passed to both C and C++ files. 212 MY_CFLAGS_Release := \ 213 -fstack-protector \ 214 --param=ssp-buffer-size=4 \ 215 \ 216 -fno-exceptions \ 217 -fno-strict-aliasing \ 218 -Wall \ 219 -Wno-unused-parameter \ 220 -Wno-missing-field-initializers \ 221 -fvisibility=hidden \ 222 -pipe \ 223 -fPIC \ 224 -EL \ 225 -mhard-float \ 226 -ffunction-sections \ 227 -funwind-tables \ 228 -g \ 229 -fstack-protector \ 230 -fno-short-enums \ 231 -finline-limit=64 \ 232 -Wa,--noexecstack \ 233 -U_FORTIFY_SOURCE \ 234 -Wno-extra \ 235 -Wno-ignored-qualifiers \ 236 -Wno-type-limits \ 237 -Os \ 238 -fno-ident \ 239 -fdata-sections \ 240 -ffunction-sections \ 241 -fomit-frame-pointer 242 243 MY_DEFS_Release := \ 244 '-DV8_DEPRECATION_WARNINGS' \ 245 '-D_FILE_OFFSET_BITS=64' \ 246 '-DNO_TCMALLOC' \ 247 '-DDISABLE_NACL' \ 248 '-DCHROMIUM_BUILD' \ 249 '-DUSE_LIBJPEG_TURBO=1' \ 250 '-DUSE_PROPRIETARY_CODECS' \ 251 '-DENABLE_CONFIGURATION_POLICY' \ 252 '-DDISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY' \ 253 '-DSYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE' \ 254 '-DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC' \ 255 '-DUSE_OPENSSL=1' \ 256 '-DENABLE_EGLIMAGE=1' \ 257 '-DCLD_VERSION=1' \ 258 '-DENABLE_PRINTING=1' \ 259 '-DENABLE_MANAGED_USERS=1' \ 260 '-DWTF_IMPLEMENTATION=1' \ 261 '-DENABLE_CUSTOM_SCHEME_HANDLER=0' \ 262 '-DENABLE_SVG_FONTS=1' \ 263 '-DENABLE_GDI_FONTS_ON_WINDOWS=0' \ 264 '-DENABLE_HARFBUZZ_ON_WINDOWS=1' \ 265 '-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1' \ 266 '-DENABLE_FAST_MOBILE_SCROLLING=1' \ 267 '-DENABLE_INPUT_SPEECH=0' \ 268 '-DENABLE_LEGACY_NOTIFICATIONS=0' \ 269 '-DENABLE_MEDIA_CAPTURE=1' \ 270 '-DENABLE_ORIENTATION_EVENTS=1' \ 271 '-DENABLE_TOUCH_ICON_LOADING=1' \ 272 '-DENABLE_NAVIGATOR_CONTENT_UTILS=0' \ 273 '-DENABLE_OPENTYPE_VERTICAL=1' \ 274 '-DU_USING_ICU_NAMESPACE=0' \ 275 '-D__STDC_CONSTANT_MACROS' \ 276 '-D__STDC_FORMAT_MACROS' \ 277 '-DANDROID' \ 278 '-D__GNU_SOURCE=1' \ 279 '-DUSE_STLPORT=1' \ 280 '-D_STLP_USE_PTR_SPECIALIZATIONS=1' \ 281 '-DCHROME_BUILD_ID=""' \ 282 '-DNDEBUG' \ 283 '-DNVALGRIND' \ 284 '-DDYNAMIC_ANNOTATIONS_ENABLED=0' \ 285 '-D_FORTIFY_SOURCE=2' 286 287 288 # Include paths placed before CFLAGS/CPPFLAGS 289 LOCAL_C_INCLUDES_Release := \ 290 $(gyp_shared_intermediate_dir)/shim_headers/icuuc/target \ 291 $(gyp_shared_intermediate_dir)/shim_headers/icui18n/target \ 292 $(LOCAL_PATH)/third_party/WebKit/Source \ 293 $(LOCAL_PATH)/third_party/WebKit \ 294 $(PWD)/external/icu4c/common \ 295 $(PWD)/external/icu4c/i18n \ 296 $(PWD)/frameworks/wilhelm/include \ 297 $(PWD)/bionic \ 298 $(PWD)/external/stlport/stlport 299 300 301 # Flags passed to only C++ (and not C) files. 302 LOCAL_CPPFLAGS_Release := \ 303 -Wno-c++0x-compat \ 304 -fno-rtti \ 305 -fno-threadsafe-statics \ 306 -fvisibility-inlines-hidden \ 307 -Wsign-compare \ 308 -Wno-c++0x-compat \ 309 -Wno-uninitialized \ 310 -Wno-error=c++0x-compat \ 311 -Wno-non-virtual-dtor \ 312 -Wno-sign-promo 313 314 315 LOCAL_CFLAGS := $(MY_CFLAGS_$(GYP_CONFIGURATION)) $(MY_DEFS_$(GYP_CONFIGURATION)) 316 LOCAL_C_INCLUDES := $(GYP_COPIED_SOURCE_ORIGIN_DIRS) $(LOCAL_C_INCLUDES_$(GYP_CONFIGURATION)) 317 LOCAL_CPPFLAGS := $(LOCAL_CPPFLAGS_$(GYP_CONFIGURATION)) 318 ### Rules for final target. 319 320 LOCAL_LDFLAGS_Debug := \ 321 -Wl,-z,now \ 322 -Wl,-z,relro \ 323 -Wl,-z,noexecstack \ 324 -fPIC \ 325 -EL \ 326 -Wl,--no-keep-memory \ 327 -nostdlib \ 328 -Wl,--no-undefined \ 329 -Wl,--exclude-libs=ALL \ 330 -Wl,--fatal-warnings \ 331 -Wl,--gc-sections \ 332 -Wl,--warn-shared-textrel \ 333 -Wl,-O1 \ 334 -Wl,--as-needed 335 336 337 LOCAL_LDFLAGS_Release := \ 338 -Wl,-z,now \ 339 -Wl,-z,relro \ 340 -Wl,-z,noexecstack \ 341 -fPIC \ 342 -EL \ 343 -Wl,--no-keep-memory \ 344 -nostdlib \ 345 -Wl,--no-undefined \ 346 -Wl,--exclude-libs=ALL \ 347 -Wl,-O1 \ 348 -Wl,--as-needed \ 349 -Wl,--gc-sections \ 350 -Wl,--fatal-warnings \ 351 -Wl,--warn-shared-textrel 352 353 354 LOCAL_LDFLAGS := $(LOCAL_LDFLAGS_$(GYP_CONFIGURATION)) 355 356 LOCAL_STATIC_LIBRARIES := 357 358 # Enable grouping to fix circular references 359 LOCAL_GROUP_STATIC_LIBRARIES := true 360 361 LOCAL_SHARED_LIBRARIES := \ 362 libstlport \ 363 libdl 364 365 # Add target alias to "gyp_all_modules" target. 366 .PHONY: gyp_all_modules 367 gyp_all_modules: third_party_WebKit_Source_wtf_wtf_gyp 368 369 # Alias gyp target name. 370 .PHONY: wtf 371 wtf: third_party_WebKit_Source_wtf_wtf_gyp 372 373 include $(BUILD_STATIC_LIBRARY) 374