diff options
Diffstat (limited to 'src/3rdparty/webkit/WebKit.pro')
-rw-r--r-- | src/3rdparty/webkit/WebKit.pro | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/src/3rdparty/webkit/WebKit.pro b/src/3rdparty/webkit/WebKit.pro index 3c6b1a7..6d466e2 100644 --- a/src/3rdparty/webkit/WebKit.pro +++ b/src/3rdparty/webkit/WebKit.pro @@ -5,19 +5,17 @@ include(WebKit.pri) SUBDIRS += \ JavaScriptCore \ - WebCore \ - WebKitTools/QtLauncher + WebCore -!CONFIG(standalone_package) { - SUBDIRS += JavaScriptCore/jsc.pro \ - WebKit/qt/tests \ - WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro - - !win32:!symbian { - SUBDIRS += WebKitTools/DumpRenderTree/qt/ImageDiff.pro - SUBDIRS += WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro - } +# If the source exists, built it +exists($$PWD/WebKitTools/QtLauncher): SUBDIRS += WebKitTools/QtLauncher +exists($$PWD/JavaScriptCore/jsc.pro): SUBDIRS += JavaScriptCore/jsc.pro +exists($$PWD/WebKit/qt/tests): SUBDIRS += WebKit/qt/tests +exists($$PWD/WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/DumpRenderTree.pro +!win32:!symbian { + exists($$PWD/WebKitTools/DumpRenderTree/qt/ImageDiff.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/ImageDiff.pro + exists($$PWD/WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro): SUBDIRS += WebKitTools/DumpRenderTree/qt/TestNetscapePlugin/TestNetscapePlugin.pro } build-qtscript { |