From 97ca1a2a600b9926b51bfd0a9e98e2bae5e5c08a Mon Sep 17 00:00:00 2001 From: Nick Cooke Date: Thu, 29 Feb 2024 17:17:35 -0500 Subject: [PATCH] [abseil] Update abseil to fix firebase-ios-sdk/#12441 --- Package.swift | 14 ++++++++++---- absl-Wrapper/Resources/PrivacyInfo.xcprivacy | 14 ++++++++++++++ absl-Wrapper/empty.m | 16 ++++++++++++++++ absl-Wrapper/include/empty.h | 16 ++++++++++++++++ 4 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 absl-Wrapper/Resources/PrivacyInfo.xcprivacy create mode 100644 absl-Wrapper/empty.m create mode 100644 absl-Wrapper/include/empty.h diff --git a/Package.swift b/Package.swift index 1272c12..a8c20d2 100644 --- a/Package.swift +++ b/Package.swift @@ -19,13 +19,19 @@ import PackageDescription let package = Package( name: "abseil", products: [ - .library(name: "abseil", targets: ["abseil"]) + .library(name: "abseil", targets: ["absl-Wrapper"]) ], targets: [ + .target( + name: "absl-Wrapper", + dependencies: ["absl"], + path: "absl-Wrapper", + resources: [.process("Resources/PrivacyInfo.xcprivacy")] + ), .binaryTarget( - name: "abseil", - url: "https://dl.google.com/firebase/ios/bin/abseil/1.2022062300.0/abseil.zip", - checksum: "15d896b7fd5dea5982594327bd2759a6ef6863a14d6aa6ffb72957f4064569ba" + name: "absl", + url: "https://dl.google.com/firebase/ios/bin/abseil/1.2022062300.1/absl.zip", + checksum: "7dfcd4d9597feb6602939c9fa6bbedcf1304015ae4ff9d2ee2e40dd4f75cbb72" ) ] ) diff --git a/absl-Wrapper/Resources/PrivacyInfo.xcprivacy b/absl-Wrapper/Resources/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..2621e4f --- /dev/null +++ b/absl-Wrapper/Resources/PrivacyInfo.xcprivacy @@ -0,0 +1,14 @@ + + + + + NSPrivacyTracking + + NSPrivacyCollectedDataTypes + + NSPrivacyTrackingDomains + + NSPrivacyAccessedAPITypes + + + \ No newline at end of file diff --git a/absl-Wrapper/empty.m b/absl-Wrapper/empty.m new file mode 100644 index 0000000..acb4773 --- /dev/null +++ b/absl-Wrapper/empty.m @@ -0,0 +1,16 @@ +// Copyright 2024 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. + +// This file is intentionally empty. + diff --git a/absl-Wrapper/include/empty.h b/absl-Wrapper/include/empty.h new file mode 100644 index 0000000..acb4773 --- /dev/null +++ b/absl-Wrapper/include/empty.h @@ -0,0 +1,16 @@ +// Copyright 2024 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. + +// This file is intentionally empty. +