Skip to content

Commit 0470e2a

Browse files
google-genai-botcopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 878583767
1 parent 69762db commit 0470e2a

File tree

1 file changed

+57
-0
lines changed

1 file changed

+57
-0
lines changed

GeneratedFirebaseAI/Package.swift

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
// swift-tools-version: 6.1
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
// Copyright 2026 Google LLC
5+
//
6+
// Licensed under the Apache License, Version 2.0 (the "License");
7+
// you may not use this file except in compliance with the License.
8+
// You may obtain a copy of the License at
9+
//
10+
// http://www.apache.org/licenses/LICENSE-2.0
11+
//
12+
// Unless required by applicable law or agreed to in writing, software
13+
// distributed under the License is distributed on an "AS IS" BASIS,
14+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
// See the License for the specific language governing permissions and
16+
// limitations under the License.
17+
18+
import PackageDescription
19+
20+
let package = Package(
21+
name: "GeneratedFirebaseAI",
22+
platforms: [.macOS(.v12), .iOS(.v15), .tvOS(.v15), .watchOS(.v8)],
23+
products: [
24+
.library(
25+
name: "GeneratedFirebaseAI",
26+
targets: ["GeneratedFirebaseAI"])
27+
],
28+
dependencies: [
29+
.package(url: "https://github.com/apple/swift-log", from: "1.6.0"),
30+
.package(url: "https://github.com/firebase/firebase-ios-sdk", from: "12.6.0"),
31+
.package(url: "https://github.com/google/test-server.git", branch: "main"),
32+
],
33+
targets: [
34+
.target(
35+
name: "GeneratedFirebaseAI",
36+
dependencies: [
37+
.product(name: "Logging", package: "swift-log"),
38+
.product(name: "FirebaseCore", package: "firebase-ios-sdk"),
39+
// TODO(daymxn): Before release, investigate releasing the Interop layers for AppCheck/Auth.
40+
.product(name: "FirebaseAppCheck", package: "firebase-ios-sdk"),
41+
.product(name: "FirebaseAuth", package: "firebase-ios-sdk")
42+
]
43+
),
44+
.testTarget(
45+
name: "GeneratedFirebaseAITests",
46+
dependencies: [
47+
"GeneratedFirebaseAI",
48+
.product(name: "TestServer", package: "TestServer")
49+
],
50+
path: "Tests",
51+
exclude: [
52+
"test-server.yml",
53+
"Recordings"
54+
]
55+
),
56+
]
57+
)

0 commit comments

Comments
 (0)