[chromium] Add <(SHARED_INTERMEDIATE_DIR)/webkit to include path of targets that...
authorjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Jan 2012 01:09:29 +0000 (01:09 +0000)
committerjamesr@google.com <jamesr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Jan 2012 01:09:29 +0000 (01:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=76879

Reviewed by Dirk Pranke.

* WebKit.gyp:

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

Source/WebKit/chromium/ChangeLog
Source/WebKit/chromium/WebKit.gyp

index 29852cd..363845d 100644 (file)
@@ -1,3 +1,12 @@
+2012-01-23  James Robinson  <jamesr@chromium.org>
+
+        [chromium] Add <(SHARED_INTERMEDIATE_DIR)/webkit to include path of targets that depend on WebKit API so they pick up the copied headers in an onion build
+        https://bugs.webkit.org/show_bug.cgi?id=76879
+
+        Reviewed by Dirk Pranke.
+
+        * WebKit.gyp:
+
 2012-01-23  Stephen White  <senorblanco@chromium.org>
 
         Unreviewed, rolling out r105640.
index 5f64596..ace1235 100644 (file)
                             },
                         }],
                     ],
+                }, { # else: inside_chromium_build==0
+                    'direct_dependent_settings': {
+                        'include_dirs': [
+                            '<(SHARED_INTERMEDIATE_DIR)/webkit', # in a chromium-inside-WebKit build, headers in the public WebKit API are copied beneath this directory so includes referencing third_party/WebKit work.
+                        ],
+                    },
                 }],
                 ['use_x11 == 1', {
                     'dependencies': [