Files
Nick Cooke 9d5e9f0567 infra: C++ 17 compatible 1.83.1 release (Firebase 13) (#24)
* infra: C++ 17 compatible 1.83.1-pre_rc0- #17

* Update Package.swift

* Update Package.swift
2026-09-18 10:37:03 -04:00

78 lines
2.3 KiB
Swift

// swift-tools-version:5.6
// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
import PackageDescription
let package = Package(
name: "gRPC",
products: [
.library(
name: "gRPC-Core",
targets: ["grpcWrapper"]
),
.library(
name: "gRPC-C++",
targets: ["grpcppWrapper"]
),
],
dependencies: [
.package(
url: "https://github.com/google/abseil-cpp-binary.git",
"1.2025051202.0" ..< "1.2025051300.0"
)
],
targets: [
.target(
name: "grpcWrapper",
dependencies: ["grpc"],
path: "grpc-Wrapper",
resources: [.process("Resources/PrivacyInfo.xcprivacy")]
),
.target(
name: "opensslWrapper",
dependencies: ["openssl_grpc"],
path: "openssl-grpc-Wrapper",
resources: [.process("Resources/PrivacyInfo.xcprivacy")]
),
.target(
name: "grpcppWrapper",
dependencies: [
"grpcpp",
"grpcWrapper",
"opensslWrapper",
.product(name: "abseil", package: "abseil-cpp-binary"),
],
path: "grpcpp-Wrapper",
resources: [.process("Resources/PrivacyInfo.xcprivacy")]
),
.binaryTarget(
name: "grpc",
url: "https://dl.google.com/firebase/ios/bin/grpc/1.83.1/rc0/grpc.zip",
checksum: "1f9551447b6a7969364aa8e4b0bbd2e73ba3470d3a29f429d08c807cbd6bd25f"
),
.binaryTarget(
name: "grpcpp",
url: "https://dl.google.com/firebase/ios/bin/grpc/1.83.1/rc0/grpcpp.zip",
checksum: "777afb52397b3a2302e4d225346c2d3f7b11a352411ddadc440d0db3c59bf9dd"
),
.binaryTarget(
name: "openssl_grpc",
url: "https://dl.google.com/firebase/ios/bin/grpc/1.83.1/rc0/openssl_grpc.zip",
checksum: "8d33c1998a0e5df87b761b636da8cac33315d3a38ba9a310a960e62a874cf2c9"
)
]
)