Skip to content

Commit

Permalink
Unreviewed, reverting 278232@main.
Browse files Browse the repository at this point in the history
  • Loading branch information
webkit-commit-queue authored and emw-apple committed May 2, 2024
1 parent bcd2464 commit e93b6c1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 161 deletions.
9 changes: 1 addition & 8 deletions Source/WebKit/Configurations/WebKitSwift.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,7 @@ SWIFT_OBJC_INTEROP_MODE = objcxx;
SWIFT_VERSION = 5.0;

CLANG_INSTRUMENT_FOR_OPTIMIZATION_PROFILING = NO; // Disable PGO profile generation
OTHER_LDFLAGS = $(inherited) $(SOURCE_VERSION_LDFLAGS) $(FRAMEWORK_LDFLAGS_$(WK_PLATFORM_NAME));

FRAMEWORK_LDFLAGS_xros = -framework LinearMediaKit;
FRAMEWORK_LDFLAGS_xrsimulator = -framework LinearMediaKit;

// Use handwritten SPI modules on public SDKs.
SWIFT_INCLUDE_PATHS = $(SWIFT_INCLUDE_PATHS_$(USE_INTERNAL_SDK));
SWIFT_INCLUDE_PATHS_ = $(SRCROOT)/Platform/spi/visionos $(inherited);
OTHER_LDFLAGS = $(inherited) $(SOURCE_VERSION_LDFLAGS);

WEBKITSWIFT_HEADERS_FOLDER_PATH = $(WK_LIBRARY_HEADERS_FOLDER_PATH)/WebKitSwift;

Expand Down
151 changes: 0 additions & 151 deletions Source/WebKit/Platform/spi/visionos/LinearMediaKit.swiftinterface

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#if defined(TARGET_OS_VISION) && TARGET_OS_VISION

#import <UIKit/UIKit.h>
#import <wtf/Platform.h>
#import <wtf/spi/darwin/XPCSPI.h>

NS_ASSUME_NONNULL_BEGIN

Expand Down
1 change: 1 addition & 0 deletions Source/WebKit/WebKitSwift/WebKitSwift.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
*/

#import <WebKitSwift/LinearMediaKitExtras.h>
#import <WebKitSwift/LinearMediaKitSPI.h>
#import <WebKitSwift/WKSLinearMediaPlayer.h>
#import <WebKitSwift/WKSLinearMediaTypes.h>
#import <WebKitSwift/WKSPreviewWindowController.h>
Expand Down

0 comments on commit e93b6c1

Please sign in to comment.