Changeset 121958 in webkit
- Timestamp:
- Jul 6, 2012 6:10:45 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r121957 r121958 1 2012-07-06 Oswald Buddenhagen <oswald.buddenhagen@nokia.com> 2 3 [Qt] Switch to new-style Qt 5 configure tests 4 5 Use explicit project file action instead of syncqt magic. 6 7 https://bugs.webkit.org/show_bug.cgi?id=90461 8 9 Reviewed by Tor Arne Vestbø. 10 11 * WebCore.pri: 12 1 13 2012-07-06 Pavel Feldman <pfeldman@chromium.org> 2 14 -
trunk/Source/WebCore/WebCore.pri
r121882 r121958 236 236 haveQt(5) { 237 237 # Qt5 allows us to use config tests to check for the presence of these libraries 238 con tains(config_test_libjpeg, yes){238 config_libjpeg { 239 239 DEFINES += WTF_USE_LIBJPEG=1 240 240 LIBS += -ljpeg … … 242 242 warning("JPEG library not found! QImageDecoder will decode JPEG images.") 243 243 } 244 con tains(config_test_libpng, yes){244 config_libpng { 245 245 DEFINES += WTF_USE_LIBPNG=1 246 246 LIBS += -lpng … … 248 248 warning("PNG library not found! QImageDecoder will decode PNG images.") 249 249 } 250 con tains(config_test_libwebp, yes){250 config_libwebp { 251 251 DEFINES += WTF_USE_WEBP=1 252 252 LIBS += -lwebp -
trunk/Tools/ChangeLog
r121941 r121958 1 2012-07-06 Oswald Buddenhagen <oswald.buddenhagen@nokia.com> 2 3 [Qt] Switch to new-style Qt 5 configure tests 4 5 Use explicit project file action instead of syncqt magic. 6 7 https://bugs.webkit.org/show_bug.cgi?id=90461 8 9 Reviewed by Tor Arne Vestbø. 10 11 * Scripts/webkitdirs.pm: 12 (buildQMakeProjects): 13 * qmake/configure.pri: Copied from Tools/qmake/configure.pro. 14 * qmake/configure.pro: 15 * qmake/mkspecs/features/default_pre.prf: 16 * qmake/mkspecs/features/features.prf: 17 * qmake/sync.profile: Removed. 18 1 19 2012-07-05 Jason Liu <jason.liu@torchmobile.com.cn> 2 20 -
trunk/Tools/Scripts/webkitdirs.pm
r121785 r121958 2374 2374 File::Path::mkpath($dir); 2375 2375 chdir $dir or die "Failed to cd into " . $dir . "\n"; 2376 2377 # After removing WebKitBuild directory, we have to call qtFeatureDefaults()2378 # to run config tests and generate the removed Tools/qmake/.qmake.cache again.2379 qtFeatureDefaults(\@buildArgs, \$qconfigs);2380 2376 #} 2381 2377 -
trunk/Tools/Tools.pro
r121854 r121958 36 36 $$files(Scripts/webkitperl/*.p[l|m], true) \ 37 37 qmake/README \ 38 qmake/configure.pro \ 39 qmake/sync.profile \ 38 qmake/configure.* \ 40 39 qmake/qt_webkit.pri \ 41 40 qmake/config.tests/README \ -
trunk/Tools/qmake/configure.pri
r121957 r121958 6 6 # ------------------------------------------------------------------- 7 7 8 # Will compute features based on command line arguments, config tests, 9 # dependency availability, and defaults. 8 haveQt(5) { 9 load(configure) 10 QMAKE_CONFIG_TESTS_DIR = $$PWD/config.tests 11 12 CONFIG_TESTS = \ 13 fontconfig \ 14 gccdepends \ 15 libpng \ 16 libjpeg \ 17 libwebp \ 18 libxml2 \ 19 libxslt \ 20 libzlib 21 22 for(test, CONFIG_TESTS): qtCompileTest($$test) 23 } 24 10 25 load(features) 11 12 # Compute delta13 CONFIG -= $$BASE_CONFIG14 DEFINES -= $$BASE_DEFINES15 16 message(CONFIG: $$CONFIG)17 message(DEFINES: $$DEFINES)18 error("Done computing defaults") -
trunk/Tools/qmake/configure.pro
r121777 r121958 8 8 # Will compute features based on command line arguments, config tests, 9 9 # dependency availability, and defaults. 10 load(features)10 include(configure.pri) 11 11 12 12 # Compute delta -
trunk/Tools/qmake/mkspecs/features/default_pre.prf
r121856 r121958 45 45 QTDIR=$$old_qtdir 46 46 47 # Load results of config tests (only supported in Qt 5) 48 haveQt(5): include($${ROOT_BUILD_DIR}/Tools/qmake/.qmake.cache, , true) 49 50 unix:contains(config_test_gccdepends, yes) { 47 unix:config_gccdepends { 51 48 # We have a compiler that supports the -MD option (and neither 52 49 # teambuilder nor icecream is messing up the .d file output). -
trunk/Tools/qmake/mkspecs/features/features.prf
r121847 r121958 48 48 # We need fontconfig to set up the test fonts for DumpRenderTree and WebKitTestRunner. 49 49 haveQt(5) { 50 con tains(config_test_fontconfig, yes):!mac {50 config_fontconfig:!mac { 51 51 DEFINES += HAVE_FONTCONFIG=1 52 52 } … … 60 60 # We need libxml2 config test to determine to use libxml2 or not 61 61 !contains(DEFINES, WTF_USE_LIBXML2=.) { 62 haveQt(5):contains(config_test_libxml2, yes): DEFINES += WTF_USE_LIBXML2=162 config_libxml2: DEFINES += WTF_USE_LIBXML2=1 63 63 } 64 64 65 65 # We need libxslt config test to determine to use libxslt or not 66 66 !contains(DEFINES, ENABLE_XSLT=.) { 67 haveQt(5):contains(config_test_libxslt, yes): DEFINES += ENABLE_XSLT=167 config_libxslt: DEFINES += ENABLE_XSLT=1 68 68 } 69 69 70 70 # We need libzlib config test to determine to use enable websocket extension or not 71 71 !contains(DEFINES, WTF_USE_ZLIB=.) { 72 haveQt(5):contains(config_test_libzlib, yes): DEFINES += WTF_USE_ZLIB=172 config_libzlib: DEFINES += WTF_USE_ZLIB=1 73 73 } 74 74
Note: See TracChangeset
for help on using the changeset viewer.