You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.6 KiB
45 lines
1.6 KiB
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "agent_service",
|
|
platforms: [.iOS("16.0")],
|
|
products: [
|
|
.library(name: "agent-service", targets: ["agent_service"])
|
|
],
|
|
dependencies: [
|
|
.package(path: "../../../test/ios/test"),
|
|
.package(path: "../../../ble_service/ios/ble_service"),
|
|
.package(path: "../../../speech/ios/speech"),
|
|
.package(path: "../../../azure_speech/ios/azure_speech"),
|
|
.package(path: "../../../chat_api/ios/chat_api"),
|
|
.package(path: "../../../chat_storage/ios/chat_storage"),
|
|
.package(path: "../../../location_service/ios/location_service"),
|
|
.package(path: "../../../music_service/ios/music_service"),
|
|
.package(path: "../../../music_service/ios/user_portrait")
|
|
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "agent_service",
|
|
dependencies: [
|
|
.product(name: "test", package: "test"),
|
|
.product(name: "ble-service", package: "ble_service"),
|
|
.product(name: "speech", package: "speech"),
|
|
.product(name: "azure-speech", package: "azure_speech"),
|
|
.product(name: "chat-api", package: "chat_api"),
|
|
.product(name: "chat-storage", package: "chat_storage"),
|
|
.product(name: "location-service", package: "location_service"),
|
|
.product(name: "music-service", package: "music_service"),
|
|
.product(name: "user-portrait", package: "user_portrait"),
|
|
],
|
|
path: "Sources/agent_service",
|
|
resources: [
|
|
.copy("Resources/calling.mp3"),
|
|
.copy("Resources/await.mp3"),
|
|
.copy("Resources/start.mp3"),
|
|
.copy("Resources/stop.mp3")
|
|
]
|
|
)
|
|
]
|
|
)
|