Fix turbulence bug when stitch tiles enabled and rendered in parallel
[WebKit-https.git] / Source / JavaScriptCore / wtf / wtf.pro
1 # -------------------------------------------------------------------
2 # Project file for WTF
3 #
4 # See 'Tools/qmake/README' for an overview of the build system
5 # -------------------------------------------------------------------
6
7 TEMPLATE = lib
8 TARGET = WTF
9
10 include(wtf.pri)
11
12 CONFIG += staticlib
13
14 QT += core
15 QT -= gui
16
17 *-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
18 *-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
19
20 HEADERS += \
21     Alignment.h \
22     AlwaysInline.h \
23     ArrayBuffer.h \
24     ArrayBufferView.h \
25     ASCIICType.h \
26     Assertions.h \
27     Atomics.h \
28     AVLTree.h \
29     Bitmap.h \
30     BitVector.h \
31     BloomFilter.h \
32     BoundsCheckedPointer.h \
33     BumpPointerAllocator.h \
34     ByteArray.h \
35     CheckedArithmetic.h \
36     Compiler.h \
37     CryptographicallyRandomNumber.h \
38     CurrentTime.h \
39     DateMath.h \
40     DecimalNumber.h \
41     Decoder.h \
42     Deque.h \
43     DisallowCType.h \
44     dtoa.h \
45     dtoa/bignum-dtoa.h \
46     dtoa/bignum.h \
47     dtoa/cached-powers.h \
48     dtoa/diy-fp.h \
49     dtoa/double-conversion.h \
50     dtoa/double.h \
51     dtoa/fast-dtoa.h \
52     dtoa/fixed-dtoa.h \
53     dtoa/strtod.h \
54     dtoa/utils.h \
55     DynamicAnnotations.h \
56     Encoder.h \
57     FastAllocBase.h \
58     FastMalloc.h \
59     FixedArray.h \
60     Float32Array.h \
61     Float64Array.h \
62     Forward.h \
63     Functional.h \
64     GetPtr.h \
65     HashCountedSet.h \
66     HashFunctions.h \
67     HashIterators.h \
68     HashMap.h \
69     HashSet.h \
70     HashTable.h \
71     HashTraits.h \
72     HexNumber.h \
73     Int16Array.h \
74     Int32Array.h \
75     Int8Array.h \
76     ListHashSet.h \
77     ListRefPtr.h \
78     Locker.h \
79     MainThread.h \
80     MallocZoneSupport.h \
81     MathExtras.h \
82     MD5.h \
83     MessageQueue.h \
84     MetaAllocator.h \
85     MetaAllocatorHandle.h \
86     Noncopyable.h \
87     NonCopyingSort.h \
88     NotFound.h \
89     NullPtr.h \
90     OSAllocator.h \
91     OSRandomSource.h \
92     OwnArrayPtr.h \
93     OwnPtr.h \
94     OwnPtrCommon.h \
95     PackedIntVector.h \
96     PageAllocation.h \
97     PageAllocationAligned.h \
98     PageBlock.h \
99     PageReservation.h \
100     ParallelJobs.h \
101     ParallelJobsGeneric.h \
102     ParallelJobsLibdispatch.h \
103     ParallelJobsOpenMP.h \
104     PassOwnArrayPtr.h \
105     PassOwnPtr.h \
106     PassRefPtr.h \
107     PassTraits.h \
108     Platform.h \
109     PossiblyNull.h \
110     qt/UtilsQt.h \
111     RandomNumber.h \
112     RandomNumberSeed.h \
113     RedBlackTree.h \
114     RefCounted.h \
115     RefCountedLeakCounter.h \
116     RefPtr.h \
117     RefPtrHashMap.h \
118     RetainPtr.h \
119     SHA1.h \
120     Spectrum.h \
121     StackBounds.h \
122     StaticConstructors.h \
123     StdLibExtras.h \
124     StringExtras.h \
125     StringHasher.h \
126     TCPackedCache.h \
127     TCSpinLock.h \
128     TCSystemAlloc.h \
129     text/ASCIIFastPath.h \
130     text/AtomicString.h \
131     text/AtomicStringHash.h \
132     text/AtomicStringImpl.h \
133     text/CString.h \
134     text/StringBuffer.h \
135     text/StringBuilder.h \
136     text/StringConcatenate.h \
137     text/StringHash.h \
138     text/StringImpl.h \
139     text/StringOperators.h \
140     text/TextPosition.h \
141     text/WTFString.h \
142     Threading.h \
143     ThreadingPrimitives.h \
144     ThreadRestrictionVerifier.h \
145     ThreadSafeRefCounted.h \
146     ThreadSpecific.h \
147     TypeTraits.h \
148     Uint16Array.h \
149     Uint32Array.h \
150     Uint8Array.h \
151     unicode/CharacterNames.h \
152     unicode/Collator.h \
153     unicode/icu/UnicodeIcu.h \
154     unicode/qt4/UnicodeQt4.h \
155     unicode/ScriptCodesFromICU.h \
156     unicode/Unicode.h \
157     unicode/UnicodeMacrosFromICU.h \
158     unicode/UTF8.h \
159     UnusedParam.h \
160     ValueCheck.h \
161     Vector.h \
162     VectorTraits.h \
163     VMTags.h \
164     WTFThreadData.h
165
166
167 unix: HEADERS += ThreadIdentifierDataPthreads.h
168
169 SOURCES += \
170     ArrayBuffer.cpp \
171     ArrayBufferView.cpp \
172     Assertions.cpp \
173     BitVector.cpp \
174     ByteArray.cpp \
175     CryptographicallyRandomNumber.cpp \
176     CurrentTime.cpp \
177     DateMath.cpp \
178     DecimalNumber.cpp \
179     dtoa.cpp \
180     dtoa/bignum-dtoa.cc \
181     dtoa/bignum.cc \
182     dtoa/cached-powers.cc \
183     dtoa/diy-fp.cc \
184     dtoa/double-conversion.cc \
185     dtoa/fast-dtoa.cc \
186     dtoa/fixed-dtoa.cc \
187     dtoa/strtod.cc \
188     FastMalloc.cpp \
189     gobject/GOwnPtr.cpp \
190     gobject/GRefPtr.cpp \
191     HashTable.cpp \
192     MD5.cpp \
193     MainThread.cpp \
194     MetaAllocator.cpp \
195     NullPtr.cpp \
196     OSRandomSource.cpp \
197     qt/MainThreadQt.cpp \
198     qt/StringQt.cpp \
199     PageAllocationAligned.cpp \
200     PageBlock.cpp \
201     ParallelJobsGeneric.cpp \
202     RandomNumber.cpp \
203     RefCountedLeakCounter.cpp \
204     SHA1.cpp \
205     StackBounds.cpp \
206     TCSystemAlloc.cpp \
207     Threading.cpp \
208     TypeTraits.cpp \
209     WTFThreadData.cpp \
210     text/AtomicString.cpp \
211     text/CString.cpp \
212     text/StringBuilder.cpp \
213     text/StringImpl.cpp \
214     text/StringStatics.cpp \
215     text/WTFString.cpp \
216     unicode/CollatorDefault.cpp \
217     unicode/icu/CollatorICU.cpp \
218     unicode/UTF8.cpp
219
220 unix: SOURCES += \
221     OSAllocatorPosix.cpp \
222     ThreadIdentifierDataPthreads.cpp \
223     ThreadingPthreads.cpp
224
225 win*|wince*: SOURCES += \
226     OSAllocatorWin.cpp \
227     ThreadSpecificWin.cpp \
228     ThreadingWin.cpp
229
230 *sh4* {
231     QMAKE_CXXFLAGS += -mieee -w
232     QMAKE_CFLAGS   += -mieee -w
233 }
234
235 lessThan(QT_GCC_MAJOR_VERSION, 5) {
236     # GCC 4.5 and before
237     lessThan(QT_GCC_MINOR_VERSION, 6) {
238         # Disable C++0x mode in JSC for those who enabled it in their Qt's mkspec.
239         *-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x
240     }
241
242     # GCC 4.6 and after.
243     greaterThan(QT_GCC_MINOR_VERSION, 5) {
244         if (!contains(QMAKE_CXXFLAGS, -std=c++0x) && !contains(QMAKE_CXXFLAGS, -std=gnu++0x)) {
245             # We need to deactivate those warnings because some names conflicts with upcoming c++0x types (e.g.nullptr).
246             QMAKE_CFLAGS_WARN_ON += -Wno-c++0x-compat
247             QMAKE_CXXFLAGS_WARN_ON += -Wno-c++0x-compat
248             QMAKE_CFLAGS += -Wno-c++0x-compat
249             QMAKE_CXXFLAGS += -Wno-c++0x-compat
250         }
251     }
252 }