upload tizen_2.1 source
[framework/web/webkit-efl.git] / Source / WTF / WTF.pri
1 # -------------------------------------------------------------------
2 # This file contains shared rules used both when building WTF itself
3 # and for targets that depend in some way on WTF.
4 #
5 # See 'Tools/qmake/README' for an overview of the build system
6 # -------------------------------------------------------------------
7
8 # All external modules should include WTF headers by prefixing with "wtf" (#include <wtf/some/thing.h>).
9 INCLUDEPATH += $$PWD
10
11 haveQt(5) {
12     mac {
13         # Mac OS does ship libicu but not the associated header files.
14         # Therefore WebKit provides adequate header files.
15         INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WTF/icu
16         LIBS += -licucore
17     } else {
18         contains(QT_CONFIG,icu) {
19             win32: LIBS += -licuin -licuuc -licudt
20             else: LIBS += -licui18n -licuuc -licudata
21         } else {
22             error("To build QtWebKit with Qt 5 you need ICU")
23         }
24     }
25 }
26
27 linux-*:contains(DEFINES, WTF_USE_GSTREAMER=1) {
28     DEFINES += ENABLE_GLIB_SUPPORT=1
29     PKGCONFIG += glib-2.0 gio-2.0
30 }
31
32 win32-* {
33     LIBS += -lwinmm
34     LIBS += -lgdi32
35 }