From a70a3da33d3fa3b78565167f417627cd1166bf2f Mon Sep 17 00:00:00 2001 From: Ankit Aggarwal Date: Tue, 21 Mar 2017 21:54:41 +0530 Subject: [PATCH] [PackageLoading] Remove sandbox dir requirement from manifest loader This is no longer needed because we now embed sandbox profile inside SwiftPM. --- Sources/Commands/UserToolchain.swift | 5 ----- Sources/PackageLoading/ManifestLoader.swift | 3 --- Sources/TestSupport/Resources.swift | 4 ---- 3 files changed, 12 deletions(-) diff --git a/Sources/Commands/UserToolchain.swift b/Sources/Commands/UserToolchain.swift index 68362676afbce..506527a503783 100644 --- a/Sources/Commands/UserToolchain.swift +++ b/Sources/Commands/UserToolchain.swift @@ -34,11 +34,6 @@ public struct UserToolchain: Toolchain, ManifestResourceProvider { /// Path to SwiftPM library directory containing runtime libraries. public let libDir: AbsolutePath - /// Path to the directory containing sandbox files. - public var sandboxProfileDir: AbsolutePath { - fatalError() - } - /// Path of the default SDK (a.k.a. "sysroot"), if any. public let defaultSDK: AbsolutePath? diff --git a/Sources/PackageLoading/ManifestLoader.swift b/Sources/PackageLoading/ManifestLoader.swift index c73151c83a2a9..04550b60b4871 100644 --- a/Sources/PackageLoading/ManifestLoader.swift +++ b/Sources/PackageLoading/ManifestLoader.swift @@ -38,9 +38,6 @@ public protocol ManifestResourceProvider { /// The path of the library resources. var libDir: AbsolutePath { get } - - /// The path to the directory containing sandbox profile. - var sandboxProfileDir: AbsolutePath { get } } /// The supported manifest versions. diff --git a/Sources/TestSupport/Resources.swift b/Sources/TestSupport/Resources.swift index 3304b00134ce8..0871a24f588f6 100644 --- a/Sources/TestSupport/Resources.swift +++ b/Sources/TestSupport/Resources.swift @@ -33,10 +33,6 @@ public class Resources: ManifestResourceProvider { return toolchain.libDir } - public var sandboxProfileDir: AbsolutePath { - return toolchain.sandboxProfileDir - } - #if os(macOS) public var sdkPlatformFrameworksPath: AbsolutePath { return toolchain.sdkPlatformFrameworksPath!