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