Target.pri 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # -------------------------------------------------------------------
  2. # Project file for WebKitTestRunner binary (WTR)
  3. #
  4. # See 'Tools/qmake/README' for an overview of the build system
  5. # -------------------------------------------------------------------
  6. TEMPLATE = app
  7. TARGET = WebKitTestRunner
  8. HEADERS += \
  9. EventSenderProxy.h \
  10. GeolocationProviderMock.h \
  11. PlatformWebView.h \
  12. StringFunctions.h \
  13. TestController.h \
  14. TestInvocation.h \
  15. WebNotificationProvider.h \
  16. WorkQueueManager.h
  17. SOURCES += \
  18. qt/main.cpp \
  19. qt/EventSenderProxyQt.cpp \
  20. qt/PlatformWebViewQt.cpp \
  21. qt/TestControllerQt.cpp \
  22. qt/TestInvocationQt.cpp \
  23. GeolocationProviderMock.cpp \
  24. TestController.cpp \
  25. TestInvocation.cpp \
  26. WebNotificationProvider.cpp \
  27. WorkQueueManager.cpp
  28. DESTDIR = $${ROOT_BUILD_DIR}/bin
  29. QT = core core-private gui gui-private widgets network testlib quick quick-private webkitwidgets qml-private v8-private
  30. WEBKIT += wtf javascriptcore webkit2
  31. DEFINES += USE_SYSTEM_MALLOC=1
  32. INCLUDEPATH += \
  33. $$PWD \
  34. $${ROOT_WEBKIT_DIR}/Source/WebCore/platform/qt \
  35. $${ROOT_WEBKIT_DIR}/Tools/DumpRenderTree/qt
  36. PREFIX_HEADER = WebKitTestRunnerPrefix.h
  37. *-g++*:QMAKE_CXXFLAGS += "-include $$PREFIX_HEADER"
  38. *-clang*:QMAKE_CXXFLAGS += "-include $$PREFIX_HEADER"
  39. RESOURCES = qt/WebKitTestRunner.qrc