Skip to content

Commit

Permalink
[PackageLoading] Remove sandbox dir requirement from manifest loader
Browse files Browse the repository at this point in the history
This is no longer needed because we now embed sandbox profile inside
SwiftPM.
  • Loading branch information
aciidgh committed Mar 21, 2017
1 parent 1d0df7c commit a70a3da
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
5 changes: 0 additions & 5 deletions Sources/Commands/UserToolchain.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
3 changes: 0 additions & 3 deletions Sources/PackageLoading/ManifestLoader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 0 additions & 4 deletions Sources/TestSupport/Resources.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit a70a3da

Please sign in to comment.