[Chromium] Attempt to fix the component build
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Mar 2012 00:00:52 +0000 (00:00 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 30 Mar 2012 00:00:52 +0000 (00:00 +0000)
https://bugs.webkit.org/show_bug.cgi?id=82676

Unreviewed.

Now that we're implementing some of the WEBKIT_EXPORT symbols in
WebCore/platform/chromium/support, we need to tell the build system
that we want to actually export these symbols.

* WebCore.gyp/WebCore.gyp:

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

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

index 909d398..a6b157c 100644 (file)
@@ -1,3 +1,16 @@
+2012-03-29  Adam Barth  <abarth@webkit.org>
+
+        [Chromium] Attempt to fix the component build
+        https://bugs.webkit.org/show_bug.cgi?id=82676
+
+        Unreviewed.
+
+        Now that we're implementing some of the WEBKIT_EXPORT symbols in
+        WebCore/platform/chromium/support, we need to tell the build system
+        that we want to actually export these symbols.
+
+        * WebCore.gyp/WebCore.gyp:
+
 2012-03-29  Nate Chapin  <japhet@chromium.org>
 
         Simplify reporting a main resource error to DocumentLoader and
 2012-03-29  Nate Chapin  <japhet@chromium.org>
 
         Simplify reporting a main resource error to DocumentLoader and
index 1b444f0..eb00208 100644 (file)
         ['exclude', 'platform/text/TextEncodingDetectorNone\\.cpp$'],
       ],
       'conditions': [
         ['exclude', 'platform/text/TextEncodingDetectorNone\\.cpp$'],
       ],
       'conditions': [
+        ['inside_chromium_build==1', {
+            'conditions': [
+                ['component=="shared_library"', {
+                    'defines': [
+                        'WEBKIT_DLL',
+                    ],
+                }],
+            ],
+        }],
         ['use_x11 == 1', {
           'sources/': [
             # Cherry-pick files excluded by the broader regular expressions above.
         ['use_x11 == 1', {
           'sources/': [
             # Cherry-pick files excluded by the broader regular expressions above.