diff --git a/Package.swift b/Package.swift index 1272c12..95e17d5 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: ["abslWrapper"]) ], targets: [ + .target( + name: "abslWrapper", + 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. +