[Chromium] Fix inclusion of pch .cpp in webcore_platform and webcore_rendering
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jan 2013 22:49:35 +0000 (22:49 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 23 Jan 2013 22:49:35 +0000 (22:49 +0000)
https://bugs.webkit.org/show_bug.cgi?id=107700

Patch by Scott Graham <scottmg@chromium.org> on 2013-01-23
Reviewed by Dirk Pranke.

No new tests, Chromium should link on VS 2012.

* WebCore.gyp/WebCore.gyp:

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

Source/WebCore/ChangeLog
Source/WebCore/WebCore.gyp/WebCore.gyp

index 24f03a5..fedda00 100644 (file)
@@ -1,3 +1,14 @@
+2013-01-23  Scott Graham  <scottmg@chromium.org>
+
+        [Chromium] Fix inclusion of pch .cpp in webcore_platform and webcore_rendering
+        https://bugs.webkit.org/show_bug.cgi?id=107700
+
+        Reviewed by Dirk Pranke.
+
+        No new tests, Chromium should link on VS 2012.
+
+        * WebCore.gyp/WebCore.gyp:
+
 2013-01-23  Jun Jiang  <jun.a.jiang@intel.com>
 
         Avoid unnecessary format conversion for tex{Sub}Image2D() for ImageData of WebGL
index 6c688b5..4a7d078 100644 (file)
             ['include', 'platform/graphics/opentype/OpenTypeSanitizer\\.cpp$'],
           ],
         }],
+        ['OS=="win" and chromium_win_pch==1', {
+          'sources/': [
+            ['include', '<(win_pch_dir)/WinPrecompile.cpp'],
+          ],
+        }],
         ['OS=="android"', {
           'sources/': [
             ['include', 'platform/chromium/ClipboardChromiumLinux\\.cpp$'],
             ['exclude', 'Win\\.cpp$'],
           ],
         }],
+        ['OS=="win" and chromium_win_pch==1', {
+          'sources/': [
+            ['include', '<(win_pch_dir)/WinPrecompile.cpp'],
+          ],
+        }],
         ['OS=="mac"', {
           'sources/': [
             # RenderThemeChromiumSkia is not used on mac since RenderThemeChromiumMac