WebKit2.pri 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. # -------------------------------------------------------------------
  2. # This file contains shared rules used both when building WebKit2
  3. # itself, and by targets that use WebKit2.
  4. #
  5. # See 'Tools/qmake/README' for an overview of the build system
  6. # -------------------------------------------------------------------
  7. SOURCE_DIR = $${ROOT_WEBKIT_DIR}/Source/WebKit2
  8. WEBKIT2_GENERATED_SOURCES_DIR = $${ROOT_BUILD_DIR}/Source/WebKit2/$${GENERATED_SOURCES_DESTDIR}
  9. INCLUDEPATH += \
  10. $$SOURCE_DIR \
  11. $$SOURCE_DIR/Platform \
  12. $$SOURCE_DIR/Platform/CoreIPC \
  13. $$SOURCE_DIR/Platform/qt \
  14. $$SOURCE_DIR/Shared \
  15. $$SOURCE_DIR/Shared/linux/SandboxProcess \
  16. $$SOURCE_DIR/Shared/API/c \
  17. $$SOURCE_DIR/Shared/Authentication \
  18. $$SOURCE_DIR/Shared/CoordinatedGraphics \
  19. $$SOURCE_DIR/Shared/CoreIPCSupport \
  20. $$SOURCE_DIR/Shared/Downloads \
  21. $$SOURCE_DIR/Shared/Downloads/qt \
  22. $$SOURCE_DIR/Shared/Network \
  23. $$SOURCE_DIR/Shared/Plugins \
  24. $$SOURCE_DIR/Shared/Plugins/Netscape \
  25. $$SOURCE_DIR/Shared/qt \
  26. $$SOURCE_DIR/UIProcess \
  27. $$SOURCE_DIR/UIProcess/API/C \
  28. $$SOURCE_DIR/UIProcess/API/C/qt \
  29. $$SOURCE_DIR/UIProcess/API/cpp \
  30. $$SOURCE_DIR/UIProcess/API/cpp/qt \
  31. $$SOURCE_DIR/UIProcess/API/qt \
  32. $$SOURCE_DIR/UIProcess/Authentication \
  33. $$SOURCE_DIR/UIProcess/CoordinatedGraphics \
  34. $$SOURCE_DIR/UIProcess/Downloads \
  35. $$SOURCE_DIR/UIProcess/InspectorServer \
  36. $$SOURCE_DIR/UIProcess/InspectorServer/qt \
  37. $$SOURCE_DIR/UIProcess/Launcher \
  38. $$SOURCE_DIR/UIProcess/Notifications \
  39. $$SOURCE_DIR/UIProcess/Plugins \
  40. $$SOURCE_DIR/UIProcess/Storage \
  41. $$SOURCE_DIR/UIProcess/qt \
  42. $$SOURCE_DIR/UIProcess/texmap \
  43. $$SOURCE_DIR/WebProcess \
  44. $$SOURCE_DIR/WebProcess/ApplicationCache \
  45. $$SOURCE_DIR/WebProcess/Battery \
  46. $$SOURCE_DIR/WebProcess/Cookies \
  47. $$SOURCE_DIR/WebProcess/Cookies/qt \
  48. $$SOURCE_DIR/WebProcess/FullScreen \
  49. $$SOURCE_DIR/WebProcess/Geolocation \
  50. $$SOURCE_DIR/WebProcess/IconDatabase \
  51. $$SOURCE_DIR/WebProcess/InjectedBundle \
  52. $$SOURCE_DIR/WebProcess/InjectedBundle/DOM \
  53. $$SOURCE_DIR/WebProcess/InjectedBundle/API/c \
  54. $$SOURCE_DIR/WebProcess/MediaCache \
  55. $$SOURCE_DIR/WebProcess/NetworkInfo \
  56. $$SOURCE_DIR/WebProcess/Notifications \
  57. $$SOURCE_DIR/WebProcess/Plugins \
  58. $$SOURCE_DIR/WebProcess/Plugins/Netscape \
  59. $$SOURCE_DIR/WebProcess/ResourceCache \
  60. $$SOURCE_DIR/WebProcess/Storage \
  61. $$SOURCE_DIR/WebProcess/WebCoreSupport \
  62. $$SOURCE_DIR/WebProcess/WebCoreSupport/qt \
  63. $$SOURCE_DIR/WebProcess/WebPage \
  64. $$SOURCE_DIR/WebProcess/WebPage/CoordinatedGraphics \
  65. $$SOURCE_DIR/WebProcess/qt \
  66. $$SOURCE_DIR/PluginProcess \
  67. # The WebKit2 Qt APIs depend on qwebkitglobal.h, which lives in WebKit
  68. INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WebKit/qt/Api
  69. INCLUDEPATH += $${ROOT_WEBKIT_DIR}/Source/WTF/wtf/qt
  70. INCLUDEPATH += $$WEBKIT2_GENERATED_SOURCES_DIR
  71. linux-*: {
  72. # -lrt is required for shm_open and shm_unlink.
  73. LIBS += -lrt
  74. }
  75. have?(QTQUICK): QT += qml quick
  76. have?(qtlocation):enable?(GEOLOCATION): QT += location
  77. enable?(SECCOMP_FILTERS): PKGCONFIG += libseccomp
  78. CONFIG += c++11