[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

andreas.kling at nokia.com andreas.kling at nokia.com
Wed Dec 22 15:54:06 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 5b578eeaaf6fe122bf7934361fc4e7f47740b427
Author: andreas.kling at nokia.com <andreas.kling at nokia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Nov 16 11:56:18 2010 +0000

    2010-11-16  Andreas Kling  <kling at webkit.org>
    
            Reviewed by Kenneth Rohde Christiansen.
    
            [Qt] Add 'valgrind' build mode
    
            Passing CONFIG+=valgrind to qmake will now build WebKit in a way
            suitable for debugging with Valgrind.
    
            Original patch by Christian Sejersen.
    
            * WebKit.pri:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72079 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/ChangeLog b/ChangeLog
index 05ef0b7..aea7586 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2010-11-16  Andreas Kling  <kling at webkit.org>
+
+        Reviewed by Kenneth Rohde Christiansen.
+
+        [Qt] Add 'valgrind' build mode
+
+        Passing CONFIG+=valgrind to qmake will now build WebKit in a way
+        suitable for debugging with Valgrind.
+
+        Original patch by Christian Sejersen.
+
+        * WebKit.pri:
+
 2010-11-15  Patrick Gansterer  <paroga at webkit.org>
 
         Reviewed by Andreas Kling.
diff --git a/WebKit.pri b/WebKit.pri
index 5fb5a55..fe13872 100644
--- a/WebKit.pri
+++ b/WebKit.pri
@@ -86,6 +86,15 @@ symbian {
     QMAKE_CXXFLAGS.ARMCC += $$RVCT_COMMON_CXXFLAGS
 }
 
+valgrind {
+    contains(JAVASCRIPTCORE_JIT,yes): error("'JAVASCRIPTCORE_JIT=yes' not supported with valgrind")
+    QMAKE_CXXFLAGS += -g
+    QMAKE_LFLAGS += -g
+    DEFINES += USE_SYSTEM_MALLOC
+    DEFINES += ENABLE_JIT=0
+    JAVASCRIPTCORE_JIT = no
+}
+
 ##### Defaults for some mobile platforms
 symbian|maemo5|maemo6 {
     CONFIG += disable_uitools

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list