Don't include WebKit implementation when not building UI bits

This commit is contained in:
Zorg committed 2021-06-06 19:26:25 -07:00
1 parent 7f87d8842e
commit b6956a480d
7 files changed
+28

No files matched your search

+4
View File
@@ -6,6 +6,8 @@
// Copyright © 2020 Sparkle Project. All rights reserved.
//
#if SPARKLE_BUILD_UI_BITS
#import <Foundation/Foundation.h>
#import "SUWebView.h"
@@ -18,3 +20,5 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
#endif
+4
View File
@@ -6,6 +6,8 @@
// Copyright © 2020 Sparkle Project. All rights reserved.
//
#if SPARKLE_BUILD_UI_BITS
#import "SULegacyWebView.h"
#import "SUWebViewCommon.h"
#import "SULog.h"
@@ -159,3 +161,5 @@
}
@end
#endif
+4
View File
@@ -6,6 +6,8 @@
// Copyright © 2020 Sparkle Project. All rights reserved.
//
#if SPARKLE_BUILD_UI_BITS
#import <Foundation/Foundation.h>
#import "SUWebView.h"
@@ -18,3 +20,5 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
#endif
+4
View File
@@ -6,6 +6,8 @@
// Copyright © 2020 Sparkle Project. All rights reserved.
//
#if SPARKLE_BUILD_UI_BITS
#import "SUWKWebView.h"
#import "SUWebViewCommon.h"
#import "SULog.h"
@@ -203,3 +205,5 @@ static WKUserScript *_userScriptWithInjectedStyleSource(NSString *styleSource)
}
@end
#endif
+4
View File
@@ -6,6 +6,8 @@
// Copyright © 2020 Sparkle Project. All rights reserved.
//
#if SPARKLE_BUILD_UI_BITS
#import <Foundation/Foundation.h>
@class NSView;
@@ -27,3 +29,5 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
#endif
+4
View File
@@ -6,6 +6,8 @@
// Copyright © 2020 Sparkle Project. All rights reserved.
//
#if SPARKLE_BUILD_UI_BITS
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@@ -13,3 +15,5 @@ NS_ASSUME_NONNULL_BEGIN
BOOL SUWebViewIsSafeURL(NSURL *url, BOOL *isAboutBlankURL);
NS_ASSUME_NONNULL_END
#endif
+4
View File
@@ -6,6 +6,8 @@
// Copyright © 2020 Sparkle Project. All rights reserved.
//
#if SPARKLE_BUILD_UI_BITS
#import "SUWebViewCommon.h"
@@ -21,3 +23,5 @@ BOOL SUWebViewIsSafeURL(NSURL *url, BOOL *isAboutBlankURL)
return whitelistedSafe;
}
#endif