Source/WebCore: [Qt][Mac] Buildfix after r95513.
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Sep 2011 14:57:38 +0000 (14:57 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 20 Sep 2011 14:57:38 +0000 (14:57 +0000)
Forwarding headers for WebCore should be generated based on WebCore sources instead of WebKit2.

Rubber-stamped by Andras Becsi.

* DerivedSources.pro:
* WebCore.pro: Add platform/mac/DisplaySleepDisabler.cpp to SOURCES.

Source/WebKit2: [Qt][Mac] Buildfix after r95513.

Rubber-stamped by Andras Becsi.

* Scripts/generate-forwarding-headers.pl: Add mm file supporting.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@95542 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.pro
Source/WebCore/WebCore.pro
Source/WebKit2/ChangeLog
Source/WebKit2/Scripts/generate-forwarding-headers.pl

index 903faba..979c030 100644 (file)
@@ -1,3 +1,13 @@
+2011-09-20  Csaba Osztrogonác  <ossy@webkit.org>
+
+        [Qt][Mac] Buildfix after r95513.
+        Forwarding headers for WebCore should be generated based on WebCore sources instead of WebKit2.
+
+        Rubber-stamped by Andras Becsi.
+
+        * DerivedSources.pro:
+        * WebCore.pro: Add platform/mac/DisplaySleepDisabler.cpp to SOURCES.
+
 2011-09-19  Pavel Feldman  <pfeldman@google.com>
 
         Web Inspector: document Debugger.paused, introduce types for ids in Debugger domain.
index a5e20a9..173294b 100644 (file)
@@ -29,7 +29,7 @@ defineTest(addExtraCompiler) {
 
 mac {
     SRC_ROOT_DIR = $$replace(PWD, /Source/WebCore, "")
-    fwheader_generator.commands = perl $${SRC_ROOT_DIR}/Source/WebKit2/Scripts/generate-forwarding-headers.pl $${SRC_ROOT_DIR}/Source/WebKit2 ../include mac
+    fwheader_generator.commands = perl $${SRC_ROOT_DIR}/Source/WebKit2/Scripts/generate-forwarding-headers.pl $${SRC_ROOT_DIR}/Source/WebCore ../include mac
     fwheader_generator.depends  = $${SRC_ROOT_DIR}/Source/WebKit2/Scripts/generate-forwarding-headers.pl
     generated_files.depends     += fwheader_generator
     QMAKE_EXTRA_TARGETS         += fwheader_generator
index dfd2c00..438e389 100644 (file)
@@ -3063,6 +3063,7 @@ contains(DEFINES, ENABLE_VIDEO=1) {
             platform/mac/WebWindowAnimation.h
 
         SOURCES += \
+            platform/mac/DisplaySleepDisabler.cpp \
             platform/graphics/cg/IntRectCG.cpp \
             platform/graphics/cg/FloatSizeCG.cpp \
             platform/cf/SharedBufferCF.cpp \
index 4091361..c29d0b5 100644 (file)
@@ -1,3 +1,11 @@
+2011-09-20  Csaba Osztrogonác  <ossy@webkit.org>
+
+        [Qt][Mac] Buildfix after r95513.
+
+        Rubber-stamped by Andras Becsi.
+
+        * Scripts/generate-forwarding-headers.pl: Add mm file supporting.
+
 2011-09-20  Gopal Raghavan  <gopal.1.raghavan@nokia.com>
 
         [Qt] QDesktopWebView missing loadProgress tests
index 96c25da..cbdfc99 100755 (executable)
@@ -64,7 +64,7 @@ foreach (@frameworks) {
 sub collectNeededHeaders {
     my $filePath = $File::Find::name;
     my $file = $_;
-    if ($filePath =~ '\.h$|\.cpp$|\.c$') {
+    if ($filePath =~ '\.h$|\.cpp$|\.c$|\.mm$') {
         open(FILE, "<$file") or die "Could not open $filePath.\n";
         while (<FILE>) {
            if (m/^#.*<$framework\/(.*\.h)/) {