aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah Shi <hannahshisfb@gmail.com>2024-02-07 10:25:40 -0800
committerGitHub <noreply@github.com>2024-02-07 13:25:40 -0500
commit3ab97e7212bff931a201c794fa1331960158bbfa (patch)
tree66fbdc8951f0595c79d9ee498732b98bc9601ed2
parent4a2c63365eff8823a5221db86ef490e828306f9d (diff)
downloadabseil-cpp-3ab97e7212bff931a201c794fa1331960158bbfa.tar.gz
Backport Apple Privacy Manifest (#1613)
-rw-r--r--PrivacyInfo.xcprivacy14
-rwxr-xr-xabsl/abseil.podspec.gen.py3
2 files changed, 17 insertions, 0 deletions
diff --git a/PrivacyInfo.xcprivacy b/PrivacyInfo.xcprivacy
new file mode 100644
index 00000000..6af16412
--- /dev/null
+++ b/PrivacyInfo.xcprivacy
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>NSPrivacyTracking</key>
+ <false/>
+ <key>NSPrivacyCollectedDataTypes</key>
+ <array/>
+ <key>NSPrivacyTrackingDomains</key>
+ <array/>
+ <key>NSPrivacyAccessedAPITypes</key>
+ <array/>
+</dict>
+</plist>
diff --git a/absl/abseil.podspec.gen.py b/absl/abseil.podspec.gen.py
index 63752980..c83edbfe 100755
--- a/absl/abseil.podspec.gen.py
+++ b/absl/abseil.podspec.gen.py
@@ -30,6 +30,9 @@ Pod::Spec.new do |s|
:git => 'https://github.com/abseil/abseil-cpp.git',
:tag => '${tag}',
}
+ s.resource_bundles = {
+ s.module_name => 'PrivacyInfo.xcprivacy',
+ }
s.module_name = 'absl'
s.header_mappings_dir = 'absl'
s.header_dir = 'absl'