Title: [270666] trunk/Source
Revision
270666
Author
[email protected]
Date
2020-12-10 21:21:26 -0800 (Thu, 10 Dec 2020)

Log Message

[Mac] Create a format reader plug-in for WebM
https://bugs.webkit.org/show_bug.cgi?id=218908
<rdar://problem/71373264>

Reviewed by Eric Carlson.

Source/WebCore/PAL:

* pal/spi/cocoa/MediaToolboxSPI.h: Defined SPI for MTPluginFormatReader.

Source/WebKit:

Added a new bundle target that builds a MediaToolbox format reader
plug-in and installs it in the WebContent and GPU XPC service bundles.
The plug-in does nothing for now, but in follow-up patches will learn
how to read WebM containers.

* Configurations/MediaFormatReader.xcconfig: Added.
* MediaFormatReaderPlugIn/Info.plist: Added. Defines a CMClassImplementations array
specifying the plug-in factory function and the supported media types / extensions.
* MediaFormatReaderPlugIn/MediaFormatReaderPlugIn.cpp: Added.
* WebKit.xcodeproj/project.pbxproj:

Source/WTF:

* wtf/PlatformHave.h: Defined HAVE_MT_PLUGIN_FORMAT_READER.

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (270665 => 270666)


--- trunk/Source/WTF/ChangeLog	2020-12-11 04:20:19 UTC (rev 270665)
+++ trunk/Source/WTF/ChangeLog	2020-12-11 05:21:26 UTC (rev 270666)
@@ -1,3 +1,13 @@
+2020-12-10  Andy Estes  <[email protected]>
+
+        [Mac] Create a format reader plug-in for WebM
+        https://bugs.webkit.org/show_bug.cgi?id=218908
+        <rdar://problem/71373264>
+
+        Reviewed by Eric Carlson.
+
+        * wtf/PlatformHave.h: Defined HAVE_MT_PLUGIN_FORMAT_READER.
+
 2020-12-10  Geoffrey Garen  <[email protected]>
 
         Unreviewed, re-landing r270132.

Modified: trunk/Source/WTF/wtf/PlatformHave.h (270665 => 270666)


--- trunk/Source/WTF/wtf/PlatformHave.h	2020-12-11 04:20:19 UTC (rev 270665)
+++ trunk/Source/WTF/wtf/PlatformHave.h	2020-12-11 05:21:26 UTC (rev 270666)
@@ -796,3 +796,9 @@
 #if __has_include(<AuthenticationServicesCore/ASCAuthorizationPresenter.h>)
 #define HAVE_ASC_AUTH_UI 1
 #endif
+
+#if PLATFORM(MAC)
+#if !defined(HAVE_MT_PLUGIN_FORMAT_READER)
+#define HAVE_MT_PLUGIN_FORMAT_READER 1
+#endif
+#endif

Modified: trunk/Source/WebCore/PAL/ChangeLog (270665 => 270666)


--- trunk/Source/WebCore/PAL/ChangeLog	2020-12-11 04:20:19 UTC (rev 270665)
+++ trunk/Source/WebCore/PAL/ChangeLog	2020-12-11 05:21:26 UTC (rev 270666)
@@ -1,3 +1,13 @@
+2020-12-10  Andy Estes  <[email protected]>
+
+        [Mac] Create a format reader plug-in for WebM
+        https://bugs.webkit.org/show_bug.cgi?id=218908
+        <rdar://problem/71373264>
+
+        Reviewed by Eric Carlson.
+
+        * pal/spi/cocoa/MediaToolboxSPI.h: Defined SPI for MTPluginFormatReader.
+
 2020-12-07  Don Olmstead  <[email protected]>
 
         [CMake] Remove WEBKIT_WRAP_SOURCELIST

Modified: trunk/Source/WebCore/PAL/pal/spi/cocoa/MediaToolboxSPI.h (270665 => 270666)


--- trunk/Source/WebCore/PAL/pal/spi/cocoa/MediaToolboxSPI.h	2020-12-11 04:20:19 UTC (rev 270665)
+++ trunk/Source/WebCore/PAL/pal/spi/cocoa/MediaToolboxSPI.h	2020-12-11 05:21:26 UTC (rev 270666)
@@ -27,8 +27,25 @@
 
 #if USE(MEDIATOOLBOX)
 
+#if HAVE(MT_PLUGIN_FORMAT_READER)
+#if USE(APPLE_INTERNAL_SDK)
+#include <MediaToolbox/MTPluginFormatReader.h>
+#else
+
+#include <CoreMedia/CMBase.h>
+
+enum {
+    kMTPluginFormatReaderError_InternalFailure = -16504,
+};
+
+typedef struct OpaqueMTPluginByteSource* MTPluginByteSourceRef;
+typedef struct OpaqueMTPluginFormatReader* MTPluginFormatReaderRef;
+
+#endif
+#endif // HAVE(MT_PLUGIN_FORMAT_READER)
+
 // FIXME (68673547): Use actual <MediaToolbox/FigPhoto.h> and FigPhotoContainerFormat enum when we weak-link instead of soft-link MediaToolbox and CoreMedia.
 #define kPALFigPhotoContainerFormat_HEIF 0
 #define kPALFigPhotoContainerFormat_JFIF 1
 
-#endif
+#endif // USE(MEDIATOOLBOX)

Modified: trunk/Source/WebKit/ChangeLog (270665 => 270666)


--- trunk/Source/WebKit/ChangeLog	2020-12-11 04:20:19 UTC (rev 270665)
+++ trunk/Source/WebKit/ChangeLog	2020-12-11 05:21:26 UTC (rev 270666)
@@ -1,3 +1,22 @@
+2020-12-10  Andy Estes  <[email protected]>
+
+        [Mac] Create a format reader plug-in for WebM
+        https://bugs.webkit.org/show_bug.cgi?id=218908
+        <rdar://problem/71373264>
+
+        Reviewed by Eric Carlson.
+
+        Added a new bundle target that builds a MediaToolbox format reader
+        plug-in and installs it in the WebContent and GPU XPC service bundles.
+        The plug-in does nothing for now, but in follow-up patches will learn
+        how to read WebM containers.
+
+        * Configurations/MediaFormatReader.xcconfig: Added.
+        * MediaFormatReaderPlugIn/Info.plist: Added. Defines a CMClassImplementations array
+        specifying the plug-in factory function and the supported media types / extensions.
+        * MediaFormatReaderPlugIn/MediaFormatReaderPlugIn.cpp: Added.
+        * WebKit.xcodeproj/project.pbxproj:
+
 2020-12-10  Chris Dumez  <[email protected]>
 
         [GPUProcess] Cut in half amount of IPC needed to do WebAudio

Modified: trunk/Source/WebKit/Configurations/BaseXPCService.xcconfig (270665 => 270666)


--- trunk/Source/WebKit/Configurations/BaseXPCService.xcconfig	2020-12-11 04:20:19 UTC (rev 270665)
+++ trunk/Source/WebKit/Configurations/BaseXPCService.xcconfig	2020-12-11 05:21:26 UTC (rev 270666)
@@ -37,7 +37,7 @@
 APP_ICON_Release = WebKit.icns;
 APP_ICON_Production = ;
 
-EXCLUDED_SOURCE_FILE_NAMES[sdk=embedded*] = $(EXCLUDED_SOURCE_FILE_NAMES_$(CONFIGURATION)) *.xib;
+EXCLUDED_SOURCE_FILE_NAMES[sdk=embedded*] = $(EXCLUDED_SOURCE_FILE_NAMES_$(CONFIGURATION)) *.xib MediaFormatReader.bundle;
 EXCLUDED_SOURCE_FILE_NAMES[sdk=macos*] = $(EXCLUDED_SOURCE_FILE_NAMES_$(CONFIGURATION));
 EXCLUDED_SOURCE_FILE_NAMES_Production = WebKit.icns;
 

Added: trunk/Source/WebKit/Configurations/MediaFormatReader.xcconfig (0 => 270666)


--- trunk/Source/WebKit/Configurations/MediaFormatReader.xcconfig	                        (rev 0)
+++ trunk/Source/WebKit/Configurations/MediaFormatReader.xcconfig	2020-12-11 05:21:26 UTC (rev 270666)
@@ -0,0 +1,32 @@
+// Copyright (C) 2020 Apple Inc. All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without
+// modification, are permitted provided that the following conditions
+// are met:
+// 1. Redistributions of source code must retain the above copyright
+//    notice, this list of conditions and the following disclaimer.
+// 2. Redistributions in binary form must reproduce the above copyright
+//    notice, this list of conditions and the following disclaimer in the
+//    documentation and/or other materials provided with the distribution.
+//
+// THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
+// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+// PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
+// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
+// OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+#include "BaseTarget.xcconfig"
+
+EXCLUDED_SOURCE_FILE_NAMES[sdk=embedded*] = *;
+INFOPLIST_FILE = MediaFormatReaderPlugIn/Info.plist;
+OTHER_LDFLAGS = $(inherited) -allowable_client MediaToolbox;
+PRODUCT_BUNDLE_IDENTIFIER = com.apple.$(PRODUCT_NAME:rfc1034identifier);
+PRODUCT_NAME = $(TARGET_NAME);
+SKIP_INSTALL = YES;
+WRAPPER_EXTENSION = bundle;

Added: trunk/Source/WebKit/MediaFormatReaderPlugIn/Info.plist (0 => 270666)


--- trunk/Source/WebKit/MediaFormatReaderPlugIn/Info.plist	                        (rev 0)
+++ trunk/Source/WebKit/MediaFormatReaderPlugIn/Info.plist	2020-12-11 05:21:26 UTC (rev 270666)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+	<key>CFBundleDevelopmentRegion</key>
+	<string>$(DEVELOPMENT_LANGUAGE)</string>
+	<key>CFBundleExecutable</key>
+	<string>$(EXECUTABLE_NAME)</string>
+	<key>CFBundleIdentifier</key>
+	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+	<key>CFBundleInfoDictionaryVersion</key>
+	<string>6.0</string>
+	<key>CFBundleName</key>
+	<string>$(PRODUCT_NAME)</string>
+	<key>CFBundlePackageType</key>
+	<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
+	<key>CFBundleShortVersionString</key>
+	<string>1.0</string>
+	<key>CFBundleVersion</key>
+	<string>1</string>
+	<key>CMClassImplementations</key>
+	<array>
+		<dict>
+			<key>CMClassID</key>
+			<string>com.apple.mediatoolbox.pluginformatreader</string>
+			<key>CMClassImplementationID</key>
+			<string>com.apple.mediatoolbox.pluginformatreader.webkit</string>
+			<key>CMClassImplementationName</key>
+			<string>WebKit Media Format Reader</string>
+			<key>CMClassImplementationVersion</key>
+			<integer>1</integer>
+			<key>CMCopyright</key>
+			<string>Copyright (C) 2020 Apple Inc.</string>
+			<key>CMExecutableArchitectures</key>
+			<array>
+				<string>arm64e</string>
+				<string>x86_64</string>
+			</array>
+			<key>CMFactoryFunction</key>
+			<string>CreateMediaFormatReaderInstance</string>
+			<key>CMManufacturer</key>
+			<string>Apple</string>
+			<key>CMMatchingInfo</key>
+			<dict>
+				<key>MTFileNameExtensionArray</key>
+				<array>
+					<string>webm</string>
+				</array>
+				<key>MTMaxDirectoryAscents</key>
+				<integer>0</integer>
+				<key>MTMaxDirectoryDescents</key>
+				<integer>0</integer>
+				<key>MTUTTypeArray</key>
+				<array>
+					<string>org.webmproject.webm</string>
+				</array>
+			</dict>
+		</dict>
+	</array>
+</dict>
+</plist>

Copied: trunk/Source/WebKit/MediaFormatReaderPlugIn/MediaFormatReaderPlugIn.cpp (from rev 270665, trunk/Source/WebCore/PAL/pal/spi/cocoa/MediaToolboxSPI.h) (0 => 270666)


--- trunk/Source/WebKit/MediaFormatReaderPlugIn/MediaFormatReaderPlugIn.cpp	                        (rev 0)
+++ trunk/Source/WebKit/MediaFormatReaderPlugIn/MediaFormatReaderPlugIn.cpp	2020-12-11 05:21:26 UTC (rev 270666)
@@ -0,0 +1,40 @@
+/*
+ * Copyright (C) 2020 Apple Inc. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ *    notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ *    notice, this list of conditions and the following disclaimer in the
+ *    documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
+ * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
+ * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+ * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
+ * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ * THE POSSIBILITY OF SUCH DAMAGE.
+ */
+
+#include "config.h"
+
+#if HAVE(MT_PLUGIN_FORMAT_READER)
+
+#include <pal/spi/cocoa/MediaToolboxSPI.h>
+
+extern "C" WTF_EXPORT_DECLARATION OSStatus CreateMediaFormatReaderInstance(MTPluginByteSourceRef, CFAllocatorRef, CFDictionaryRef, MTPluginFormatReaderRef*);
+
+OSStatus CreateMediaFormatReaderInstance(MTPluginByteSourceRef, CFAllocatorRef, CFDictionaryRef, MTPluginFormatReaderRef* formatReader)
+{
+    *formatReader = nullptr;
+    return kMTPluginFormatReaderError_InternalFailure;
+}
+
+#endif // HAVE(MT_PLUGIN_FORMAT_READER)

Modified: trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj (270665 => 270666)


--- trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj	2020-12-11 04:20:19 UTC (rev 270665)
+++ trunk/Source/WebKit/WebKit.xcodeproj/project.pbxproj	2020-12-11 05:21:26 UTC (rev 270666)
@@ -1541,7 +1541,10 @@
 		A118A9F31908B8EA00F7C92B /* _WKNSFileManagerExtras.h in Headers */ = {isa = PBXBuildFile; fileRef = A118A9F11908B8EA00F7C92B /* _WKNSFileManagerExtras.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		A13B3DA2207F39DE0090C58D /* MobileWiFiSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = A13B3DA1207F39DE0090C58D /* MobileWiFiSPI.h */; };
 		A13DC682207AA6B20066EF72 /* WKApplicationStateTrackingView.h in Headers */ = {isa = PBXBuildFile; fileRef = A13DC680207AA6B20066EF72 /* WKApplicationStateTrackingView.h */; };
+		A15797642582B1DB00528236 /* MediaFormatReader.bundle in Copy Plug-ins */ = {isa = PBXBuildFile; fileRef = A16E66002581930800EE1749 /* MediaFormatReader.bundle */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
 		A15EEDE61E301CEE000069B0 /* WKPasswordView.h in Headers */ = {isa = PBXBuildFile; fileRef = A15EEDE41E301CEE000069B0 /* WKPasswordView.h */; };
+		A16E66752581A44800EE1749 /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8DC2EF5B0486A6940098B216 /* WebKit.framework */; };
+		A16E66872581A4F700EE1749 /* MediaFormatReaderPlugIn.cpp in Sources */ = {isa = PBXBuildFile; fileRef = A16E66862581A4F700EE1749 /* MediaFormatReaderPlugIn.cpp */; };
 		A175C44A21AA3171000037D0 /* ArgumentCodersCocoa.h in Headers */ = {isa = PBXBuildFile; fileRef = A175C44921AA3170000037D0 /* ArgumentCodersCocoa.h */; };
 		A1798B3E222D97A2000764BD /* PaymentAuthorizationPresenter.h in Headers */ = {isa = PBXBuildFile; fileRef = A1798B3D222D97A2000764BD /* PaymentAuthorizationPresenter.h */; };
 		A1798B43222D98DF000764BD /* PaymentAuthorizationViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = A1798B3F222D98B6000764BD /* PaymentAuthorizationViewController.h */; };
@@ -1561,6 +1564,8 @@
 		A1E688701F6E2BAB007006A6 /* QuarantineSPI.h in Headers */ = {isa = PBXBuildFile; fileRef = A1E6886F1F6E2BAB007006A6 /* QuarantineSPI.h */; };
 		A1EA02381DABFF7E0096021F /* WKContextMenuListener.h in Headers */ = {isa = PBXBuildFile; fileRef = A1EA02361DABFF7E0096021F /* WKContextMenuListener.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		A1EA02401DAC31DB0096021F /* WebContextMenuListenerProxy.h in Headers */ = {isa = PBXBuildFile; fileRef = A1EA023E1DAC31DB0096021F /* WebContextMenuListenerProxy.h */; };
+		A1EF36C02581F76F0090B02A /* MediaFormatReader.bundle in Copy Plug-ins */ = {isa = PBXBuildFile; fileRef = A16E66002581930800EE1749 /* MediaFormatReader.bundle */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
+		A1EF36D52581F7EB0090B02A /* MediaFormatReader.bundle in Copy Plug-ins */ = {isa = PBXBuildFile; fileRef = A16E66002581930800EE1749 /* MediaFormatReader.bundle */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
 		A1FB68241F6E518200C43F9F /* WKCrashReporter.h in Headers */ = {isa = PBXBuildFile; fileRef = A1FB68221F6E518200C43F9F /* WKCrashReporter.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		A513F5402154A5D700662841 /* WebPageInspectorController.h in Headers */ = {isa = PBXBuildFile; fileRef = A513F53E2154A5CC00662841 /* WebPageInspectorController.h */; };
 		A518B5D21FE1D55B00F9FA28 /* WKInspectorWKWebView.h in Headers */ = {isa = PBXBuildFile; fileRef = A518B5D01FE1D55B00F9FA28 /* WKInspectorWKWebView.h */; };
@@ -2099,6 +2104,34 @@
 			remoteGlobalIDString = 5742A2E52535613F00B7BA14;
 			remoteInfo = WebAuthentication;
 		};
+		A15797402582AE7300528236 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = 8DC2EF4F0486A6940098B216;
+			remoteInfo = WebKit;
+		};
+		A15797422582AE9B00528236 /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = A16E65FF2581930800EE1749;
+			remoteInfo = MediaFormatReader;
+		};
+		A1EF36D02581F7A70090B02A /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = A16E65FF2581930800EE1749;
+			remoteInfo = MediaFormatReader;
+		};
+		A1EF36D22581F7C50090B02A /* PBXContainerItemProxy */ = {
+			isa = PBXContainerItemProxy;
+			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
+			proxyType = 1;
+			remoteGlobalIDString = A16E65FF2581930800EE1749;
+			remoteInfo = MediaFormatReader;
+		};
 		BC8283D416B4C01F00A278FE /* PBXContainerItemProxy */ = {
 			isa = PBXContainerItemProxy;
 			containerPortal = 0867D690FE84028FC02AAC07 /* Project object */;
@@ -2231,6 +2264,39 @@
 			name = "Copy Plug-in Sandbox Profiles";
 			runOnlyForDeploymentPostprocessing = 0;
 		};
+		A15797632582B1A500528236 /* Copy Plug-ins */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = "";
+			dstSubfolderSpec = 13;
+			files = (
+				A15797642582B1DB00528236 /* MediaFormatReader.bundle in Copy Plug-ins */,
+			);
+			name = "Copy Plug-ins";
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		A1EF36BF2581F73B0090B02A /* Copy Plug-ins */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = "";
+			dstSubfolderSpec = 13;
+			files = (
+				A1EF36C02581F76F0090B02A /* MediaFormatReader.bundle in Copy Plug-ins */,
+			);
+			name = "Copy Plug-ins";
+			runOnlyForDeploymentPostprocessing = 0;
+		};
+		A1EF36D42581F7D70090B02A /* Copy Plug-ins */ = {
+			isa = PBXCopyFilesBuildPhase;
+			buildActionMask = 2147483647;
+			dstPath = "";
+			dstSubfolderSpec = 13;
+			files = (
+				A1EF36D52581F7EB0090B02A /* MediaFormatReader.bundle in Copy Plug-ins */,
+			);
+			name = "Copy Plug-ins";
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		A7AADA1519395CC3003EA1C7 /* CopyFiles */ = {
 			isa = PBXCopyFilesBuildPhase;
 			buildActionMask = 2147483647;
@@ -4827,6 +4893,10 @@
 		A13DC681207AA6B20066EF72 /* WKApplicationStateTrackingView.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; name = WKApplicationStateTrackingView.mm; path = ios/WKApplicationStateTrackingView.mm; sourceTree = "<group>"; };
 		A15EEDE31E301CEE000069B0 /* WKPasswordView.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = WKPasswordView.mm; path = ios/WKPasswordView.mm; sourceTree = "<group>"; };
 		A15EEDE41E301CEE000069B0 /* WKPasswordView.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = WKPasswordView.h; path = ios/WKPasswordView.h; sourceTree = "<group>"; };
+		A16E66002581930800EE1749 /* MediaFormatReader.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MediaFormatReader.bundle; sourceTree = BUILT_PRODUCTS_DIR; };
+		A16E66022581930800EE1749 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
+		A16E66362581937600EE1749 /* MediaFormatReader.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = MediaFormatReader.xcconfig; sourceTree = "<group>"; };
+		A16E66862581A4F700EE1749 /* MediaFormatReaderPlugIn.cpp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.cpp; path = MediaFormatReaderPlugIn.cpp; sourceTree = "<group>"; };
 		A175C44921AA3170000037D0 /* ArgumentCodersCocoa.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ArgumentCodersCocoa.h; sourceTree = "<group>"; };
 		A175C44B21AA331B000037D0 /* ArgumentCodersCocoa.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = ArgumentCodersCocoa.mm; sourceTree = "<group>"; };
 		A1798B3D222D97A2000764BD /* PaymentAuthorizationPresenter.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PaymentAuthorizationPresenter.h; sourceTree = "<group>"; };
@@ -5779,6 +5849,14 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
+		A16E65FD2581930800EE1749 /* Frameworks */ = {
+			isa = PBXFrameworksBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				A16E66752581A44800EE1749 /* WebKit.framework in Frameworks */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		BC8283AE16B4BF7700A278FE /* Frameworks */ = {
 			isa = PBXFrameworksBuildPhase;
 			buildActionMask = 2147483647;
@@ -5818,6 +5896,7 @@
 				5742A2F72535613F00B7BA14 /* com.apple.WebKit.WebAuthn.xpc */,
 				372EBB462017E64300085064 /* com.apple.WebKit.WebContent.Development.xpc */,
 				BC3DE46615A91763008D26FC /* com.apple.WebKit.WebContent.xpc */,
+				A16E66002581930800EE1749 /* MediaFormatReader.bundle */,
 				1AC25FB012A48EA700BD2671 /* PluginProcessShim.dylib */,
 				8DC2EF5B0486A6940098B216 /* WebKit.framework */,
 			);
@@ -5989,6 +6068,7 @@
 				C0CE72DB1247E8F700BC0EC4 /* DerivedSources.make */,
 				1A1D2117191D996C0001619F /* MigrateHeadersFromWebKitLegacy.make */,
 				1A1D2116191D995C0001619F /* postprocess-framework-headers.sh */,
+				A16E66012581930800EE1749 /* MediaFormatReaderPlugIn */,
 				BC2E6E74114196F000A63B1E /* Platform */,
 				1AADDF4B10D82AF000D3D63D /* Shared */,
 				BC032DC310F438260058C15A /* UIProcess */,
@@ -6190,6 +6270,7 @@
 				1A4F976B100E7B6600637A18 /* DebugRelease.xcconfig */,
 				1A4F976C100E7B6600637A18 /* FeatureDefines.xcconfig */,
 				2D9FB22A237523FB0049F936 /* GPUService.xcconfig */,
+				A16E66362581937600EE1749 /* MediaFormatReader.xcconfig */,
 				BC8283AB16B4BEAD00A278FE /* NetworkService.xcconfig */,
 				A1EDD2DB1884B96400BBFE98 /* PluginProcessShim.xcconfig */,
 				BC8283F416B4FC5300A278FE /* PluginService.xcconfig */,
@@ -9207,6 +9288,15 @@
 			path = cocoa;
 			sourceTree = "<group>";
 		};
+		A16E66012581930800EE1749 /* MediaFormatReaderPlugIn */ = {
+			isa = PBXGroup;
+			children = (
+				A16E66022581930800EE1749 /* Info.plist */,
+				A16E66862581A4F700EE1749 /* MediaFormatReaderPlugIn.cpp */,
+			);
+			path = MediaFormatReaderPlugIn;
+			sourceTree = "<group>";
+		};
 		A182D5B11BE6BCF40087A7CC /* ios */ = {
 			isa = PBXGroup;
 			children = (
@@ -12535,6 +12625,7 @@
 				2D9FB21B237523830049F936 /* Sources */,
 				2D9FB21E237523830049F936 /* Frameworks */,
 				2D9FB221237523830049F936 /* Resources */,
+				A15797632582B1A500528236 /* Copy Plug-ins */,
 				2D9FB222237523830049F936 /* Unlock keychain */,
 				2D9FB223237523830049F936 /* Process GPU entitlements */,
 			);
@@ -12543,6 +12634,7 @@
 			dependencies = (
 				2D9FB217237523830049F936 /* PBXTargetDependency */,
 				2D9FB219237523830049F936 /* PBXTargetDependency */,
+				A15797432582AE9B00528236 /* PBXTargetDependency */,
 			);
 			name = GPU;
 			productName = Networking;
@@ -12556,6 +12648,7 @@
 				372EBB3B2017E64300085064 /* Sources */,
 				372EBB3D2017E64300085064 /* Frameworks */,
 				372EBB402017E64300085064 /* Resources */,
+				A1EF36BF2581F73B0090B02A /* Copy Plug-ins */,
 				7AFCBD5520B8917D00F55C9C /* Process WebContent entitlements */,
 			);
 			buildRules = (
@@ -12563,6 +12656,7 @@
 			dependencies = (
 				E1AC2E3420F7B99E00B0897D /* PBXTargetDependency */,
 				372EBB392017E64300085064 /* PBXTargetDependency */,
+				A1EF36D12581F7A70090B02A /* PBXTargetDependency */,
 			);
 			name = WebContent.Development;
 			productName = WebKit2Service;
@@ -12637,6 +12731,23 @@
 			productReference = 8DC2EF5B0486A6940098B216 /* WebKit.framework */;
 			productType = "com.apple.product-type.framework";
 		};
+		A16E65FF2581930800EE1749 /* MediaFormatReader */ = {
+			isa = PBXNativeTarget;
+			buildConfigurationList = A16E66062581930800EE1749 /* Build configuration list for PBXNativeTarget "MediaFormatReader" */;
+			buildPhases = (
+				A16E65FC2581930800EE1749 /* Sources */,
+				A16E65FD2581930800EE1749 /* Frameworks */,
+			);
+			buildRules = (
+			);
+			dependencies = (
+				A15797412582AE7300528236 /* PBXTargetDependency */,
+			);
+			name = MediaFormatReader;
+			productName = MediaFormatReader;
+			productReference = A16E66002581930800EE1749 /* MediaFormatReader.bundle */;
+			productType = "com.apple.product-type.bundle";
+		};
 		BC3DE46515A91763008D26FC /* WebContent */ = {
 			isa = PBXNativeTarget;
 			buildConfigurationList = BC3DE47615A91764008D26FC /* Build configuration list for PBXNativeTarget "WebContent" */;
@@ -12644,6 +12755,7 @@
 				BC3DE46215A91763008D26FC /* Sources */,
 				BCDC308D15FDB99A006B6695 /* Frameworks */,
 				BC3DE46415A91763008D26FC /* Resources */,
+				A1EF36D42581F7D70090B02A /* Copy Plug-ins */,
 				7AFCBD5420B8911D00F55C9C /* Process WebContent entitlements */,
 				4157853721279CC600DD3800 /* Copy Custom WebContent Resources to Framework Private Headers */,
 			);
@@ -12652,6 +12764,7 @@
 			dependencies = (
 				E1AC2E3220F7B99B00B0897D /* PBXTargetDependency */,
 				375E0633191EA909004E3CAF /* PBXTargetDependency */,
+				A1EF36D32581F7C50090B02A /* PBXTargetDependency */,
 			);
 			name = WebContent;
 			productName = WebKit2Service;
@@ -12716,6 +12829,9 @@
 					942DB232257EE6D4009BD80A = {
 						CreatedOnToolsVersion = 12.4;
 					};
+					A16E65FF2581930800EE1749 = {
+						CreatedOnToolsVersion = 12.4;
+					};
 					E1AC2E2720F7B94C00B0897D = {
 						CreatedOnToolsVersion = 9.3;
 						ProvisioningStyle = Automatic;
@@ -12739,6 +12855,7 @@
 				8DC2EF4F0486A6940098B216 /* WebKit */,
 				2D7DEBD821269C6B00B9F73C /* Generate Unified Sources */,
 				C0CE72851247E66800BC0EC4 /* Derived Sources */,
+				A16E65FF2581930800EE1749 /* MediaFormatReader */,
 				1AC25FAF12A48EA700BD2671 /* PluginProcessShim */,
 				BC3DE46515A91763008D26FC /* WebContent */,
 				372EBB382017E64300085064 /* WebContent.Development */,
@@ -13861,6 +13978,14 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
+		A16E65FC2581930800EE1749 /* Sources */ = {
+			isa = PBXSourcesBuildPhase;
+			buildActionMask = 2147483647;
+			files = (
+				A16E66872581A4F700EE1749 /* MediaFormatReaderPlugIn.cpp in Sources */,
+			);
+			runOnlyForDeploymentPostprocessing = 0;
+		};
 		BC3DE46215A91763008D26FC /* Sources */ = {
 			isa = PBXSourcesBuildPhase;
 			buildActionMask = 2147483647;
@@ -13961,6 +14086,26 @@
 			target = 5742A2E52535613F00B7BA14 /* WebAuthn */;
 			targetProxy = 5742A2F92535619D00B7BA14 /* PBXContainerItemProxy */;
 		};
+		A15797412582AE7300528236 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = 8DC2EF4F0486A6940098B216 /* WebKit */;
+			targetProxy = A15797402582AE7300528236 /* PBXContainerItemProxy */;
+		};
+		A15797432582AE9B00528236 /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = A16E65FF2581930800EE1749 /* MediaFormatReader */;
+			targetProxy = A15797422582AE9B00528236 /* PBXContainerItemProxy */;
+		};
+		A1EF36D12581F7A70090B02A /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = A16E65FF2581930800EE1749 /* MediaFormatReader */;
+			targetProxy = A1EF36D02581F7A70090B02A /* PBXContainerItemProxy */;
+		};
+		A1EF36D32581F7C50090B02A /* PBXTargetDependency */ = {
+			isa = PBXTargetDependency;
+			target = A16E65FF2581930800EE1749 /* MediaFormatReader */;
+			targetProxy = A1EF36D22581F7C50090B02A /* PBXContainerItemProxy */;
+		};
 		BC8283D516B4C01F00A278FE /* PBXTargetDependency */ = {
 			isa = PBXTargetDependency;
 			target = BC8283B016B4BF7700A278FE /* Networking */;
@@ -14248,6 +14393,27 @@
 			};
 			name = Production;
 		};
+		A16E66032581930800EE1749 /* Debug */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = A16E66362581937600EE1749 /* MediaFormatReader.xcconfig */;
+			buildSettings = {
+			};
+			name = Debug;
+		};
+		A16E66042581930800EE1749 /* Release */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = A16E66362581937600EE1749 /* MediaFormatReader.xcconfig */;
+			buildSettings = {
+			};
+			name = Release;
+		};
+		A16E66052581930800EE1749 /* Production */ = {
+			isa = XCBuildConfiguration;
+			baseConfigurationReference = A16E66362581937600EE1749 /* MediaFormatReader.xcconfig */;
+			buildSettings = {
+			};
+			name = Production;
+		};
 		A7AADA1119395CA9003EA1C7 /* Debug */ = {
 			isa = XCBuildConfiguration;
 			baseConfigurationReference = 37E83D401B37D27B002079EE /* SandboxProfiles.xcconfig */;
@@ -14491,6 +14657,16 @@
 			defaultConfigurationIsVisible = 0;
 			defaultConfigurationName = Production;
 		};
+		A16E66062581930800EE1749 /* Build configuration list for PBXNativeTarget "MediaFormatReader" */ = {
+			isa = XCConfigurationList;
+			buildConfigurations = (
+				A16E66032581930800EE1749 /* Debug */,
+				A16E66042581930800EE1749 /* Release */,
+				A16E66052581930800EE1749 /* Production */,
+			);
+			defaultConfigurationIsVisible = 0;
+			defaultConfigurationName = Production;
+		};
 		A7AADA1419395CA9003EA1C7 /* Build configuration list for PBXAggregateTarget "Sandbox Profiles" */ = {
 			isa = XCConfigurationList;
 			buildConfigurations = (
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to