Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/ChangeLog b/ChangeLog
- index abfef18..b2f9865 100644
- --- a/ChangeLog
- +++ b/ChangeLog
- @@ -1,5 +1,16 @@
- 2011-03-01 Andras Becsi <abecsi@webkit.org>
- + Reviewed by NOBODY (OOPS!).
- +
- + [Qt] Clean up the project files and move common options to WebKit.pri.
- +
- + Mac related changes suggested by Prasanth Ullattil <prasanth.ullattil@nokia.com>
- +
- + * Source/WebKit.pri: Common options should be here.
- + Also move Mac options to this file to fix the Mac build.
- +
- +2011-03-01 Andras Becsi <abecsi@webkit.org>
- +
- Unreviewed build fix.
- [Qt] Fix minimal build.
- diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
- index 5f9b7bc..958c1cf 100644
- --- a/Source/JavaScriptCore/ChangeLog
- +++ b/Source/JavaScriptCore/ChangeLog
- @@ -1,3 +1,13 @@
- +2011-03-01 Andras Becsi <abecsi@webkit.org>
- +
- + Reviewed by NOBODY (OOPS!).
- +
- + [Qt] Clean up the project files and move common options to WebKit.pri.
- +
- + * JavaScriptCore.pri: Move options also needed in WebCore into WebKit.pri.
- + * JavaScriptCore.pro: Deduplicate options.
- + * jsc.pro: Ditto.
- +
- 2011-03-01 Adam Barth <abarth@webkit.org>
- Reviewed by Eric Seidel.
- diff --git a/Source/JavaScriptCore/JavaScriptCore.pri b/Source/JavaScriptCore/JavaScriptCore.pri
- index f28aff1..391c74f 100644
- --- a/Source/JavaScriptCore/JavaScriptCore.pri
- +++ b/Source/JavaScriptCore/JavaScriptCore.pri
- @@ -18,8 +18,6 @@ CONFIG(standalone_package) {
- isEmpty(JSC_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = generated
- }
- -CONFIG(standalone_package): DEFINES *= NDEBUG
- -
- JAVASCRIPTCORE_INCLUDEPATH = \
- $$PWD \
- $$PWD/.. \
- diff --git a/Source/JavaScriptCore/JavaScriptCore.pro b/Source/JavaScriptCore/JavaScriptCore.pro
- index 8835a6c..e41f04d 100644
- --- a/Source/JavaScriptCore/JavaScriptCore.pro
- +++ b/Source/JavaScriptCore/JavaScriptCore.pro
- @@ -16,20 +16,6 @@ CONFIG += depend_includepath
- contains(QT_CONFIG, embedded):CONFIG += embedded
- -CONFIG(QTDIR_build) {
- - # Make sure we compile both debug and release on mac when inside Qt.
- - # This line was extracted from qbase.pri instead of including the whole file
- - win32|mac:!macx-xcode:CONFIG += debug_and_release
- -} else {
- - !CONFIG(release, debug|release) {
- - OBJECTS_DIR = obj/debug
- - } else { # Release
- - OBJECTS_DIR = obj/release
- - }
- - # Make sure that build_all follows the build_all config in WebCore
- - mac:contains(QT_CONFIG, qt_framework):!CONFIG(webkit_no_framework):!build_pass:CONFIG += build_all
- -}
- -
- # WebCore adds these config only when in a standalone build.
- # qbase.pri takes care of that when in a QTDIR_build
- # Here we add the config for both cases since we don't include qbase.pri
- @@ -42,14 +28,6 @@ CONFIG(QTDIR_build) {
- CONFIG += no_debug_info
- }
- -# Pick up 3rdparty libraries from INCLUDE/LIB just like with MSVC
- -win32-g++* {
- - TMPPATH = $$quote($$(INCLUDE))
- - QMAKE_INCDIR_POST += $$split(TMPPATH,";")
- - TMPPATH = $$quote($$(LIB))
- - QMAKE_LIBDIR_POST += $$split(TMPPATH,";")
- -}
- -
- *-g++*:QMAKE_CXXFLAGS_RELEASE -= -O2
- *-g++*:QMAKE_CXXFLAGS_RELEASE += -O3
- diff --git a/Source/JavaScriptCore/jsc.pro b/Source/JavaScriptCore/jsc.pro
- index 7275219..a550c48 100644
- --- a/Source/JavaScriptCore/jsc.pro
- +++ b/Source/JavaScriptCore/jsc.pro
- @@ -15,11 +15,6 @@ unix:!mac:!symbian:CONFIG += link_pkgconfig
- QMAKE_RPATHDIR += $$OUTPUT_DIR/lib
- -!CONFIG(release, debug|release) {
- - OBJECTS_DIR = obj/debug
- -} else { # Release
- - OBJECTS_DIR = obj/release
- -}
- OBJECTS_DIR_WTR = $$OBJECTS_DIR$${QMAKE_DIR_SEP}
- include($$PWD/JavaScriptCore.pri)
- prependJavaScriptCoreLib(.)
- diff --git a/Source/JavaScriptCore/qt/ChangeLog b/Source/JavaScriptCore/qt/ChangeLog
- index 7a20ffb..2ed4d46 100644
- --- a/Source/JavaScriptCore/qt/ChangeLog
- +++ b/Source/JavaScriptCore/qt/ChangeLog
- @@ -1,3 +1,11 @@
- +2011-03-01 Andras Becsi <abecsi@webkit.org>
- +
- + Reviewed by NOBODY (OOPS!).
- +
- + [Qt] Clean up the project files and move common options to WebKit.pri.
- +
- + * api/QtScript.pro: Deduplicate options.
- +
- 2011-02-24 Andras Becsi <abecsi@webkit.org>
- Reviewed by Laszlo Gombos.
- diff --git a/Source/JavaScriptCore/qt/api/QtScript.pro b/Source/JavaScriptCore/qt/api/QtScript.pro
- index 77a55b7..22e8b0c 100644
- --- a/Source/JavaScriptCore/qt/api/QtScript.pro
- +++ b/Source/JavaScriptCore/qt/api/QtScript.pro
- @@ -7,11 +7,6 @@ INCLUDEPATH += $$PWD
- CONFIG += building-libs
- isEmpty(JSC_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = ../../generated
- -!CONFIG(release, debug|release) {
- - OBJECTS_DIR = obj/debug
- -} else { # Release
- - OBJECTS_DIR = obj/release
- -}
- isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../..
- include($$PWD/../../../WebKit.pri)
- diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
- index 89b5fde..33035e2 100644
- --- a/Source/WebCore/ChangeLog
- +++ b/Source/WebCore/ChangeLog
- @@ -1,3 +1,14 @@
- +2011-03-01 Andras Becsi <abecsi@webkit.org>
- +
- + Reviewed by NOBODY (OOPS!).
- +
- + [Qt] Clean up the project files and move common options to WebKit.pri.
- +
- + No new tests needed.
- +
- + * WebCore.pri: Move common options to WebKit.pri.
- + * WebCore.pro: Ditto.
- +
- 2011-03-01 Steve Block <steveblock@google.com>
- Reviewed by Pavel Feldman.
- diff --git a/Source/WebCore/WebCore.pri b/Source/WebCore/WebCore.pri
- index 6b856b5..8f3f43d 100644
- --- a/Source/WebCore/WebCore.pri
- +++ b/Source/WebCore/WebCore.pri
- @@ -26,12 +26,6 @@ CONFIG(standalone_package) {
- } else {
- isEmpty(WC_GENERATED_SOURCES_DIR):WC_GENERATED_SOURCES_DIR = ../WebCore/generated
- isEmpty(JSC_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = ../JavaScriptCore/generated
- -
- - !CONFIG(release, debug|release) {
- - OBJECTS_DIR = obj/debug
- - } else { # Release
- - OBJECTS_DIR = obj/release
- - }
- }
- V8_DIR = "$$[QT_INSTALL_PREFIX]/src/3rdparty/v8"
- @@ -315,14 +309,6 @@ win32-* {
- LIBS += -lgdi32
- LIBS += -lole32
- LIBS += -luser32
- -
- - # Pick up 3rdparty libraries from INCLUDE/LIB just like with MSVC
- - win32-g++* {
- - TMPPATH = $$quote($$(INCLUDE))
- - QMAKE_INCDIR_POST += $$split(TMPPATH,";")
- - TMPPATH = $$quote($$(LIB))
- - QMAKE_LIBDIR_POST += $$split(TMPPATH,";")
- - }
- }
- # Remove whole program optimizations due to miscompilations
- diff --git a/Source/WebCore/WebCore.pro b/Source/WebCore/WebCore.pro
- index 65df85e..458d6a2 100644
- --- a/Source/WebCore/WebCore.pro
- +++ b/Source/WebCore/WebCore.pro
- @@ -3,8 +3,8 @@ CONFIG += building-libs
- CONFIG += depend_includepath
- isEmpty(OUTPUT_DIR): OUTPUT_DIR = ..
- -include($$PWD/WebCore.pri)
- include($$PWD/../WebKit.pri)
- +include($$PWD/WebCore.pri)
- include($$PWD/../JavaScriptCore/JavaScriptCore.pri)
- TEMPLATE = lib
- diff --git a/Source/WebKit.pri b/Source/WebKit.pri
- index e87a33b..51d13f0 100644
- --- a/Source/WebKit.pri
- +++ b/Source/WebKit.pri
- @@ -3,8 +3,24 @@
- # Detect that we are building as a standalone package by the presence of
- # either the generated files directory or as part of the Qt package through
- # QTDIR_build
- -CONFIG(QTDIR_build): CONFIG += standalone_package
- -else:exists($$PWD/WebCore/generated): CONFIG += standalone_package
- +CONFIG(QTDIR_build) {
- + CONFIG += standalone_package
- + # Make sure we compile both debug and release on mac when inside Qt.
- + # This line was extracted from qbase.pri instead of including the whole file
- + win32|mac:!macx-xcode:CONFIG += debug_and_release
- +} else {
- + !CONFIG(release, debug|release) {
- + OBJECTS_DIR = obj/debug
- + } else { # Release
- + OBJECTS_DIR = obj/release
- + DEFINES *= NDEBUG
- + }
- + exists($$PWD/WebCore/generated):CONFIG += standalone_package
- + # Make sure that build_all follows the build_all config in WebCore
- + mac:contains(QT_CONFIG, qt_framework):!CONFIG(webkit_no_framework):!build_pass:CONFIG += build_all
- +}
- +
- +CONFIG(standalone_package): DEFINES *= NDEBUG
- CONFIG += depend_includepath
- DEPENDPATH += $$OUT_PWD
- @@ -62,6 +78,14 @@ webkit2 {
- INCLUDEPATH += $$PWD/WebKit2/
- }
- +# Pick up 3rdparty libraries from INCLUDE/LIB just like with MSVC
- +win32-g++* {
- + TMPPATH = $$quote($$(INCLUDE))
- + QMAKE_INCDIR_POST += $$split(TMPPATH,";")
- + TMPPATH = $$quote($$(LIB))
- + QMAKE_LIBDIR_POST += $$split(TMPPATH,";")
- +}
- +
- CONFIG -= warn_on
- *-g++*:QMAKE_CXXFLAGS += -Wall -Wextra -Wreturn-type -fno-strict-aliasing -Wcast-align -Wchar-subscripts -Wformat-security -Wreturn-type -Wno-unused-parameter -Wno-sign-compare -Wno-switch -Wno-switch-enum -Wundef -Wmissing-noreturn -Winit-self
- @@ -114,8 +138,8 @@ symbian|maemo5|maemo6 {
- contains(QT_CONFIG, modular):!contains(QT_CONFIG, uitools)|disable_uitools: DEFINES *= QT_NO_UITOOLS
- !contains(QT_CONFIG, modular) {
- - $$QT.phonon.includes = $QMAKE_INCDIR_QT/phonon
- - $$QT.phonon.libs = $$QMAKE_LIBDIR_QT
- + QT.phonon.includes = $$QMAKE_INCDIR_QT/phonon
- + QT.phonon.libs = $$QMAKE_LIBDIR_QT
- }
- # Disable a few warnings on Windows. The warnings are also
- diff --git a/Source/WebKit/qt/ChangeLog b/Source/WebKit/qt/ChangeLog
- index ea31fd7..2b63ac1 100644
- --- a/Source/WebKit/qt/ChangeLog
- +++ b/Source/WebKit/qt/ChangeLog
- @@ -1,3 +1,11 @@
- +2011-03-01 Andras Becsi <abecsi@webkit.org>
- +
- + Reviewed by NOBODY (OOPS!).
- +
- + [Qt] Clean up the project files and move common options to WebKit.pri.
- +
- + * QtWebKit.pro: Move common options to WebKit.pri.
- +
- 2011-03-01 Aparna Nandyal <aparna.nand@wipro.com>
- Reviewed by Simon Hausmann.
- diff --git a/Source/WebKit/qt/QtWebKit.pro b/Source/WebKit/qt/QtWebKit.pro
- index 99c19f7..4b7bb05 100644
- --- a/Source/WebKit/qt/QtWebKit.pro
- +++ b/Source/WebKit/qt/QtWebKit.pro
- @@ -23,12 +23,6 @@ CONFIG(standalone_package) {
- isEmpty(WEBKIT2_GENERATED_SOURCES_DIR):JSC_GENERATED_SOURCES_DIR = ../../JavaScriptCore/generated
- isEmpty(WC_GENERATED_SOURCES_DIR):WC_GENERATED_SOURCES_DIR = ../../WebCore/generated
- isEmpty(WC_GENERATED_SOURCES_DIR):WEBKIT2_GENERATED_SOURCES_DIR = ../../WebKit2/generated
- -
- - !CONFIG(release, debug|release) {
- - OBJECTS_DIR = obj/debug
- - } else { # Release
- - OBJECTS_DIR = obj/release
- - }
- }
- include($$PWD/Api/headers.pri)
- diff --git a/Source/WebKit2/ChangeLog b/Source/WebKit2/ChangeLog
- index 52bb6c8..dc7d74e 100644
- --- a/Source/WebKit2/ChangeLog
- +++ b/Source/WebKit2/ChangeLog
- @@ -1,3 +1,11 @@
- +2011-03-01 Andras Becsi <abecsi@webkit.org>
- +
- + Reviewed by NOBODY (OOPS!).
- +
- + [Qt] Clean up the project files and move common options to WebKit.pri.
- +
- + * WebKit2.pro: Deduplicate options.
- +
- 2011-03-01 Juha Savolainen <juha.savolainen@weego.fi>
- Reviewed by Andreas Kling.
- diff --git a/Source/WebKit2/WebKit2.pro b/Source/WebKit2/WebKit2.pro
- index 1df1fe7..e8d59e6 100644
- --- a/Source/WebKit2/WebKit2.pro
- +++ b/Source/WebKit2/WebKit2.pro
- @@ -15,13 +15,6 @@ CONFIG += staticlib
- TARGET = $$WEBKIT2_TARGET
- DESTDIR = $$WEBKIT2_DESTDIR
- -!CONFIG(release, debug|release) {
- - OBJECTS_DIR = obj/debug
- -} else { # Release
- - OBJECTS_DIR = obj/release
- - DEFINES += NDEBUG
- -}
- -
- # Build both debug and release configurations
- mac: CONFIG += build_all
- diff --git a/Tools/ChangeLog b/Tools/ChangeLog
- index 911269c..d43891e 100644
- --- a/Tools/ChangeLog
- +++ b/Tools/ChangeLog
- @@ -1,3 +1,12 @@
- +2011-03-01 Andras Becsi <abecsi@webkit.org>
- +
- + Reviewed by NOBODY (OOPS!).
- +
- + [Qt] Clean up the project files and move common options to WebKit.pri.
- +
- + * WebKitTestRunner/qt/WebKitTestRunner.pro: Deduplicate.
- +
- +
- 2011-03-01 Adam Roben <aroben@apple.com>
- Skip another multiprocessing test on Windows
- diff --git a/Tools/WebKitTestRunner/qt/WebKitTestRunner.pro b/Tools/WebKitTestRunner/qt/WebKitTestRunner.pro
- index 1172eea..d6579a4 100644
- --- a/Tools/WebKitTestRunner/qt/WebKitTestRunner.pro
- +++ b/Tools/WebKitTestRunner/qt/WebKitTestRunner.pro
- @@ -8,12 +8,6 @@ GENERATED_SOURCES_DIR = ../generated
- include(../../../Source/WebKit.pri)
- -!CONFIG(release, debug|release) {
- - OBJECTS_DIR = obj/debug
- -} else { # Release
- - OBJECTS_DIR = obj/release
- -}
- -
- DEFINES += USE_SYSTEM_MALLOC=1
- INCLUDEPATH += \
Add Comment
Please, Sign In to add comment