Title: [291419] trunk/Source/WebGPU
Revision
291419
Author
mmaxfi...@apple.com
Date
2022-03-17 10:21:29 -0700 (Thu, 17 Mar 2022)

Log Message

[WebGPU] Delete unnecessary C files from CommandLinePlayground
https://bugs.webkit.org/show_bug.cgi?id=238005

Reviewed by Kimmo Kinnunen.

The reason the C files existed was because Swift wouldn't import a block within
a struct if the block didn't have the __unsafe_unretained attribute. This patch
adds the attribute and moves the C code to be in the same file as the rest of the
playground.

* CommandLinePlayground/CommandLinePlayground-Bridging-Header.h: Removed.
* CommandLinePlayground/Utilities.c: Removed.
* CommandLinePlayground/Utilities.h: Removed.
* CommandLinePlayground/config.h: Removed.
* CommandLinePlayground/main.swift:
(dispatchWork(_:)):
* WebGPU.xcodeproj/project.pbxproj:
* WebGPU/Buffer.mm:
* WebGPU/CommandEncoder.mm:
* WebGPU/WebGPUExt.h:

Modified Paths

Removed Paths

Diff

Modified: trunk/Source/WebGPU/ChangeLog (291418 => 291419)


--- trunk/Source/WebGPU/ChangeLog	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/ChangeLog	2022-03-17 17:21:29 UTC (rev 291419)
@@ -1,5 +1,28 @@
 2022-03-17  Myles C. Maxfield  <mmaxfi...@apple.com>
 
+        [WebGPU] Delete unnecessary C files from CommandLinePlayground
+        https://bugs.webkit.org/show_bug.cgi?id=238005
+
+        Reviewed by Kimmo Kinnunen.
+
+        The reason the C files existed was because Swift wouldn't import a block within
+        a struct if the block didn't have the __unsafe_unretained attribute. This patch
+        adds the attribute and moves the C code to be in the same file as the rest of the
+        playground.
+
+        * CommandLinePlayground/CommandLinePlayground-Bridging-Header.h: Removed.
+        * CommandLinePlayground/Utilities.c: Removed.
+        * CommandLinePlayground/Utilities.h: Removed.
+        * CommandLinePlayground/config.h: Removed.
+        * CommandLinePlayground/main.swift:
+        (dispatchWork(_:)):
+        * WebGPU.xcodeproj/project.pbxproj:
+        * WebGPU/Buffer.mm:
+        * WebGPU/CommandEncoder.mm:
+        * WebGPU/WebGPUExt.h:
+
+2022-03-17  Myles C. Maxfield  <mmaxfi...@apple.com>
+
         [WebGPU] Mark unchanging class members as const
         https://bugs.webkit.org/show_bug.cgi?id=237998
 

Deleted: trunk/Source/WebGPU/CommandLinePlayground/CommandLinePlayground-Bridging-Header.h (291418 => 291419)


--- trunk/Source/WebGPU/CommandLinePlayground/CommandLinePlayground-Bridging-Header.h	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/CommandLinePlayground/CommandLinePlayground-Bridging-Header.h	2022-03-17 17:21:29 UTC (rev 291419)
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2022 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.
- */
-
-#import "Utilities.h"

Deleted: trunk/Source/WebGPU/CommandLinePlayground/Utilities.c (291418 => 291419)


--- trunk/Source/WebGPU/CommandLinePlayground/Utilities.c	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/CommandLinePlayground/Utilities.c	2022-03-17 17:21:29 UTC (rev 291419)
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2022 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 "config.h"
-#include "Utilities.h"
-
-#include <WebGPU/WebGPUExt.h>
-#include <dispatch/dispatch.h>
-
-// rdar://90268765 Swift can't see the WGPUInstanceCocoaDescriptor type, so this has to be done in C.
-WGPUInstance createDefaultInstance(void)
-{
-    WGPUInstanceCocoaDescriptor instanceCocoaDescriptor = {
-        {
-            NULL,
-            (WGPUSType)WGPUSTypeExtended_InstanceCocoaDescriptor,
-        },
-        ^(WGPUWorkItem workItem)
-        {
-            dispatch_async(dispatch_get_main_queue(), workItem);
-        },
-    };
-
-    WGPUInstanceDescriptor instanceDescriptor = {
-        &instanceCocoaDescriptor.chain,
-    };
-
-    return wgpuCreateInstance(&instanceDescriptor);
-}

Deleted: trunk/Source/WebGPU/CommandLinePlayground/Utilities.h (291418 => 291419)


--- trunk/Source/WebGPU/CommandLinePlayground/Utilities.h	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/CommandLinePlayground/Utilities.h	2022-03-17 17:21:29 UTC (rev 291419)
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2022 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.
- */
-
-#pragma once
-
-#include <WebGPU/WebGPU.h>
-
-WGPUInstance createDefaultInstance(void);

Deleted: trunk/Source/WebGPU/CommandLinePlayground/config.h (291418 => 291419)


--- trunk/Source/WebGPU/CommandLinePlayground/config.h	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/CommandLinePlayground/config.h	2022-03-17 17:21:29 UTC (rev 291419)
@@ -1,26 +0,0 @@
-/*
- * Copyright (c) 2022 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.
- */
-
-#pragma once

Modified: trunk/Source/WebGPU/CommandLinePlayground/main.swift (291418 => 291419)


--- trunk/Source/WebGPU/CommandLinePlayground/main.swift	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/CommandLinePlayground/main.swift	2022-03-17 17:21:29 UTC (rev 291419)
@@ -26,7 +26,12 @@
 import Foundation
 import WebGPU
 
-let instance = createDefaultInstance()
+func dispatchWork(callback: (() -> Void)?) {
+    DispatchQueue.main.async(execute: callback!)
+}
+var instanceCocoaDescriptor = WGPUInstanceCocoaDescriptor(chain: WGPUChainedStruct(next: nil, sType: WGPUSType(WGPUSTypeExtended_InstanceCocoaDescriptor.rawValue)), scheduleWorkBlock: dispatchWork)
+var instanceDescriptor = WGPUInstanceDescriptor(nextInChain: &instanceCocoaDescriptor.chain)
+let instance = wgpuCreateInstance(&instanceDescriptor)
 defer {
     wgpuInstanceRelease(instance)
 }

Modified: trunk/Source/WebGPU/WebGPU/Buffer.mm (291418 => 291419)


--- trunk/Source/WebGPU/WebGPU/Buffer.mm	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/WebGPU/Buffer.mm	2022-03-17 17:21:29 UTC (rev 291419)
@@ -28,7 +28,6 @@
 
 #import "APIConversions.h"
 #import "Device.h"
-#import "Utilities.h"
 #import <wtf/StdLibExtras.h>
 
 namespace WebGPU {

Modified: trunk/Source/WebGPU/WebGPU/CommandEncoder.mm (291418 => 291419)


--- trunk/Source/WebGPU/WebGPU/CommandEncoder.mm	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/WebGPU/CommandEncoder.mm	2022-03-17 17:21:29 UTC (rev 291419)
@@ -33,7 +33,6 @@
 #import "Device.h"
 #import "QuerySet.h"
 #import "RenderPassEncoder.h"
-#import "Utilities.h"
 
 namespace WebGPU {
 

Modified: trunk/Source/WebGPU/WebGPU/WebGPUExt.h (291418 => 291419)


--- trunk/Source/WebGPU/WebGPU/WebGPUExt.h	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/WebGPU/WebGPUExt.h	2022-03-17 17:21:29 UTC (rev 291419)
@@ -54,9 +54,11 @@
     // The API contract is: callers must call WebGPU's functions in a non-racey way with respect
     // to each other. This scheduleWorkBlock will execute on a background thread, and it must
     // schedule the block it's passed to be run in a non-racey way with regards to all the other
-    // WebGPU calls. It's fine to pass NULL here, but if you do, you must periodically call
+    // WebGPU calls. If calls to scheduleWorkBlock are ordered (e.g. multiple calls on the same
+    // thread), then the work that is scheduled must also be ordered in the same order.
+    // It's fine to pass NULL here, but if you do, you must periodically call
     // wgpuInstanceProcessEvents() to synchronously run the queued callbacks.
-    WGPUScheduleWorkBlock scheduleWorkBlock;
+    __unsafe_unretained WGPUScheduleWorkBlock scheduleWorkBlock;
 } WGPUInstanceCocoaDescriptor;
 
 typedef struct WGPUShaderModuleCompilationHint {

Modified: trunk/Source/WebGPU/WebGPU.xcodeproj/project.pbxproj (291418 => 291419)


--- trunk/Source/WebGPU/WebGPU.xcodeproj/project.pbxproj	2022-03-17 17:19:22 UTC (rev 291418)
+++ trunk/Source/WebGPU/WebGPU.xcodeproj/project.pbxproj	2022-03-17 17:21:29 UTC (rev 291419)
@@ -15,8 +15,8 @@
 		1C5319C527BDC72700CD127E /* WebGPU.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1CEBD7E32716AFBA00A5254D /* WebGPU.framework */; };
 		1C582FF927E04131009B40F0 /* CommandsMixin.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C582FF727E04131009B40F0 /* CommandsMixin.mm */; };
 		1C582FFA27E04131009B40F0 /* CommandsMixin.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C582FF827E04131009B40F0 /* CommandsMixin.h */; };
+		1C58301827E16823009B40F0 /* APIConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C58301727E16823009B40F0 /* APIConversions.h */; };
 		1C5ACA94273A41C20095F8D5 /* Instance.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C5ACA92273A41C20095F8D5 /* Instance.mm */; };
-		1C58301827E16823009B40F0 /* APIConversions.h in Headers */ = {isa = PBXBuildFile; fileRef = 1C58301727E16823009B40F0 /* APIConversions.h */; };
 		1C5ACAB6273A426D0095F8D5 /* RenderPipeline.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C5ACA98273A426D0095F8D5 /* RenderPipeline.mm */; };
 		1C5ACABB273A426D0095F8D5 /* Buffer.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C5ACA9D273A426D0095F8D5 /* Buffer.mm */; };
 		1C5ACABD273A426D0095F8D5 /* QuerySet.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C5ACA9F273A426D0095F8D5 /* QuerySet.mm */; };
@@ -42,7 +42,6 @@
 		1C5ACAE9273A55FD0095F8D5 /* Sampler.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C5ACAE8273A55FD0095F8D5 /* Sampler.mm */; };
 		1C5ACAEB273A560D0095F8D5 /* TextureView.mm in Sources */ = {isa = PBXBuildFile; fileRef = 1C5ACAEA273A560D0095F8D5 /* TextureView.mm */; };
 		1CBAB0922718CCA0006080BB /* _javascript_Core.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1CBAB0912718CCA0006080BB /* _javascript_Core.framework */; };
-		1CC5B9FE27DFEB0400C77B3B /* Utilities.c in Sources */ = {isa = PBXBuildFile; fileRef = 1CC5B9FD27DFEB0400C77B3B /* Utilities.c */; };
 		1CEBD7E72716AFBA00A5254D /* WebGPU.h in Headers */ = {isa = PBXBuildFile; fileRef = 1CEBD7E62716AFBA00A5254D /* WebGPU.h */; settings = {ATTRIBUTES = (Public, ); }; };
 		1CEBD7F82716B34400A5254D /* WGSL.h in Headers */ = {isa = PBXBuildFile; fileRef = 1CEBD7F72716B34400A5254D /* WGSL.h */; settings = {ATTRIBUTES = (Public, ); }; };
 		1CEBD8032716BF8200A5254D /* WGSL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 1CEBD8022716BF8200A5254D /* WGSL.cpp */; };
@@ -132,14 +131,13 @@
 		1C023D472744916D001DB734 /* WGSLUnitTests.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = WGSLUnitTests.xcconfig; sourceTree = "<group>"; };
 		1C023D4A274495B9001DB734 /* _javascript_Core.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = _javascript_Core.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		1C2CEDED271E8A7300EDC16F /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
-		1C2FC0EC27DFF44C00C72337 /* config.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = config.h; sourceTree = "<group>"; };
 		1C5319BD27BDC6CB00CD127E /* CommandLinePlayground */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = CommandLinePlayground; sourceTree = BUILT_PRODUCTS_DIR; };
 		1C5319BF27BDC6CC00CD127E /* main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = main.swift; sourceTree = "<group>"; };
 		1C5319CA27BDD70000CD127E /* CommandLinePlayground.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = CommandLinePlayground.xcconfig; sourceTree = "<group>"; };
 		1C582FF727E04131009B40F0 /* CommandsMixin.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = CommandsMixin.mm; sourceTree = "<group>"; };
 		1C582FF827E04131009B40F0 /* CommandsMixin.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CommandsMixin.h; sourceTree = "<group>"; };
+		1C58301727E16823009B40F0 /* APIConversions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = APIConversions.h; sourceTree = "<group>"; };
 		1C5ACA92273A41C20095F8D5 /* Instance.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = Instance.mm; sourceTree = "<group>"; };
-		1C58301727E16823009B40F0 /* APIConversions.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = APIConversions.h; sourceTree = "<group>"; };
 		1C5ACA96273A426D0095F8D5 /* Surface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Surface.h; sourceTree = "<group>"; };
 		1C5ACA97273A426D0095F8D5 /* SwapChain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SwapChain.h; sourceTree = "<group>"; };
 		1C5ACA98273A426D0095F8D5 /* RenderPipeline.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = RenderPipeline.mm; sourceTree = "<group>"; };
@@ -188,9 +186,6 @@
 		1CBAB0912718CCA0006080BB /* _javascript_Core.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = _javascript_Core.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		1CC0C8C9273A7D8900D0B481 /* WebGPU.modulemap */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.module-map"; path = WebGPU.modulemap; sourceTree = "<group>"; };
 		1CC0C8CA273A819100D0B481 /* Version.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Version.xcconfig; sourceTree = "<group>"; };
-		1CC5B9FB27DFEB0400C77B3B /* CommandLinePlayground-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "CommandLinePlayground-Bridging-Header.h"; sourceTree = "<group>"; };
-		1CC5B9FC27DFEB0400C77B3B /* Utilities.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Utilities.h; sourceTree = "<group>"; };
-		1CC5B9FD27DFEB0400C77B3B /* Utilities.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = Utilities.c; sourceTree = "<group>"; };
 		1CEBD7E32716AFBA00A5254D /* WebGPU.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WebGPU.framework; sourceTree = BUILT_PRODUCTS_DIR; };
 		1CEBD7E62716AFBA00A5254D /* WebGPU.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WebGPU.h; sourceTree = "<group>"; };
 		1CEBD7F22716B2CC00A5254D /* libwgsl.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libwgsl.a; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -291,11 +286,7 @@
 		1C5319BE27BDC6CB00CD127E /* CommandLinePlayground */ = {
 			isa = PBXGroup;
 			children = (
-				1CC5B9FB27DFEB0400C77B3B /* CommandLinePlayground-Bridging-Header.h */,
-				1C2FC0EC27DFF44C00C72337 /* config.h */,
 				1C5319BF27BDC6CC00CD127E /* main.swift */,
-				1CC5B9FD27DFEB0400C77B3B /* Utilities.c */,
-				1CC5B9FC27DFEB0400C77B3B /* Utilities.h */,
 			);
 			path = CommandLinePlayground;
 			sourceTree = "<group>";
@@ -719,7 +710,6 @@
 			buildActionMask = 2147483647;
 			files = (
 				1C5319C027BDC6CC00CD127E /* main.swift in Sources */,
-				1CC5B9FE27DFEB0400C77B3B /* Utilities.c in Sources */,
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 		};
@@ -818,7 +808,6 @@
 					"@executable_path/Frameworks",
 					"@loader_path/Frameworks",
 				);
-				SWIFT_OBJC_BRIDGING_HEADER = "CommandLinePlayground/CommandLinePlayground-Bridging-Header.h";
 				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
 				SWIFT_VERSION = 5.0;
 			};
@@ -834,7 +823,6 @@
 					"@executable_path/Frameworks",
 					"@loader_path/Frameworks",
 				);
-				SWIFT_OBJC_BRIDGING_HEADER = "CommandLinePlayground/CommandLinePlayground-Bridging-Header.h";
 				SWIFT_VERSION = 5.0;
 			};
 			name = Release;
@@ -849,7 +837,6 @@
 					"@executable_path/Frameworks",
 					"@loader_path/Frameworks",
 				);
-				SWIFT_OBJC_BRIDGING_HEADER = "CommandLinePlayground/CommandLinePlayground-Bridging-Header.h";
 				SWIFT_VERSION = 5.0;
 			};
 			name = Production;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to