diff --git a/submodules/ManagedFile/Package.swift b/submodules/ManagedFile/Package.swift new file mode 100644 index 0000000000..cb1e71c0d3 --- /dev/null +++ b/submodules/ManagedFile/Package.swift @@ -0,0 +1,28 @@ +// swift-tools-version:5.5 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "ManagedFile", + platforms: [.macOS(.v10_11)], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "ManagedFile", + targets: ["ManagedFile"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "ManagedFile", + dependencies: [], + path: ".", + exclude: ["BUILD"]), + ] +) diff --git a/submodules/Postbox/Package.swift b/submodules/Postbox/Package.swift index cc6ef02c84..5b5c81e392 100644 --- a/submodules/Postbox/Package.swift +++ b/submodules/Postbox/Package.swift @@ -19,6 +19,7 @@ let package = Package( .package(name: "Crc32", path: "../Crc32"), .package(name: "sqlcipher", path: "../sqlcipher"), .package(name: "StringTransliteration", path: "../StringTransliteration"), + .package(name: "ManagedFile", path: "../ManagedFile"), .package(name: "SSignalKit", path: "../SSignalKit"), ], targets: [ @@ -28,6 +29,7 @@ let package = Package( name: "Postbox", dependencies: [.product(name: "MurMurHash32", package: "MurMurHash32", condition: nil), .product(name: "SwiftSignalKit", package: "SSignalKit", condition: nil), + .product(name: "ManagedFile", package: "ManagedFile", condition: nil), .product(name: "sqlcipher", package: "sqlcipher", condition: nil), .product(name: "StringTransliteration", package: "StringTransliteration", condition: nil), .product(name: "Crc32", package: "Crc32", condition: nil)], diff --git a/submodules/YuvConversion/Package.swift b/submodules/YuvConversion/Package.swift new file mode 100644 index 0000000000..c3c9f861f3 --- /dev/null +++ b/submodules/YuvConversion/Package.swift @@ -0,0 +1,32 @@ +// swift-tools-version:5.5 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "YuvConversion", + platforms: [.macOS(.v10_11)], + products: [ + // Products define the executables and libraries a package produces, and make them visible to other packages. + .library( + name: "YuvConversion", + targets: ["YuvConversion"]), + ], + dependencies: [ + // Dependencies declare other packages that this package depends on. + // .package(url: /* package url */, from: "1.0.0"), + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages this package depends on. + .target( + name: "YuvConversion", + dependencies: [], + path: ".", + exclude: ["BUILD"], + publicHeadersPath: "PublicHeaders", + cSettings: [ + .headerSearchPath("PublicHeaders") + ]), + ] +)