Revert D27328277: add macOS deps to shared libraries

Differential Revision:
D27328277 (7c44d4d4f0)

Original commit changeset: f22d1e9f6a54

fbshipit-source-id: bc893df5ba5a0bd9d47eeab4ff345e7c5047da9b
This commit is contained in:
Xiangxin Sun
2021-03-29 20:10:33 -07:00
committed by Facebook GitHub Bot
parent 2bae11e132
commit a783c0d691
24 changed files with 5 additions and 444 deletions

View File

@@ -5,14 +5,7 @@
* LICENSE file in the root directory of this source tree.
*/
#import <TargetConditionals.h>
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#elif TARGET_OS_OSX
#import <AppKit/AppKit.h>
#import <Foundation/Foundation.h>
#endif
@protocol SKSonarValueCoder
@@ -27,11 +20,7 @@ class SKObject {
SKObject(CGRect rect);
SKObject(CGSize size);
SKObject(CGPoint point);
#if TARGET_OS_IPHONE
SKObject(UIEdgeInsets insets);
#elif TARGET_OS_OSX
SKObject(NSEdgeInsets insets);
#endif
SKObject(CGAffineTransform transform);
SKObject(id<SKSonarValueCoder> value);
SKObject(id value);
@@ -49,11 +38,7 @@ class SKMutableObject : public SKObject {
SKMutableObject(CGRect rect) : SKObject(rect) {}
SKMutableObject(CGSize size) : SKObject(size){};
SKMutableObject(CGPoint point) : SKObject(point){};
#if TARGET_OS_IPHONE
SKMutableObject(UIEdgeInsets insets) : SKObject(insets){};
#elif TARGET_OS_OSX
SKMutableObject(NSEdgeInsets insets) : SKObject(insets){};
#endif
SKMutableObject(CGAffineTransform transform) : SKObject(transform){};
SKMutableObject(id<SKSonarValueCoder> value) : SKObject(value){};
SKMutableObject(id value) : SKObject(value){};