[iOS] DumpRenderTree.app fails to link due to undefined classes
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Feb 2015 21:25:43 +0000 (21:25 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 13 Feb 2015 21:25:43 +0000 (21:25 +0000)
<rdar://problem/19831228>

Following r179945, DumpRenderTree.app fails to link due to undefined symbols:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_WebEvent", referenced from:
      objc-class-ref in libDumpRenderTree.a(EventSendingController.o)
  "_OBJC_CLASS_$_WebUndefined", referenced from:
      objc-class-ref in libDumpRenderTree.a(ObjCController.o)

We need to export the classes WebScriptObject and WebEvent.

* bindings/objc/WebScriptObject.h:
* platform/ios/WebEvent.h:

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

Source/WebCore/ChangeLog
Source/WebCore/bindings/objc/WebScriptObject.h
Source/WebCore/platform/ios/WebEvent.h

index ab03d85..90488a3 100644 (file)
@@ -1,3 +1,21 @@
+2015-02-13  Daniel Bates  <dabates@apple.com>
+
+        [iOS] DumpRenderTree.app fails to link due to undefined classes
+        <rdar://problem/19831228>
+
+        Following r179945, DumpRenderTree.app fails to link due to undefined symbols:
+
+        Undefined symbols for architecture x86_64:
+          "_OBJC_CLASS_$_WebEvent", referenced from:
+              objc-class-ref in libDumpRenderTree.a(EventSendingController.o)
+          "_OBJC_CLASS_$_WebUndefined", referenced from:
+              objc-class-ref in libDumpRenderTree.a(ObjCController.o)
+
+        We need to export the classes WebScriptObject and WebEvent.
+
+        * bindings/objc/WebScriptObject.h:
+        * platform/ios/WebEvent.h:
+
 2015-02-13  Andreas Kling  <akling@apple.com>
 
         CachedResource::clearLoader() should self-destruct if nothing else retains the CachedResource.
index b6fc113..2c63df2 100644 (file)
@@ -320,7 +320,7 @@ WEBCORE_EXPORT @interface WebScriptObject : NSObject
     @class WebUndefined
 */
 WEBKIT_CLASS_AVAILABLE_MAC(10_4)
-@interface WebUndefined : NSObject <NSCoding, NSCopying>
+WEBCORE_EXPORT @interface WebUndefined : NSObject <NSCoding, NSCopying>
 
 /*!
     @method undefined
index c76ed84..8edadd6 100644 (file)
@@ -75,7 +75,7 @@ typedef enum {
     WebEventCharacterSetFunctionKeys    = 254,
 } WebEventCharacterSet;
 
-@interface WebEvent : NSObject {
+WEBCORE_EXPORT @interface WebEvent : NSObject {
 @private
     WebEventType _type;
     CFTimeInterval _timestamp;