mirror of
https://github.com/firebase/leveldb
synced 2026-11-09 22:25:58 +05:45
[leveldb] Add privacy manifest for SPM / CocoaPods (#9)
* [leveldb] Add privacy manifest for SPM / CocoaPods * Exclude files that became problematic after bumping to STV 5.3
This commit is contained in:
1 parent
6e0967097a
commit
174a4b51cb
3 files changed
+34
-1
No files matched your search
+4
-1
@@ -1,4 +1,4 @@
|
||||
// swift-tools-version:5.0
|
||||
// swift-tools-version:5.3
|
||||
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||
|
||||
import PackageDescription
|
||||
@@ -50,6 +50,8 @@ let package = Package(
|
||||
"util/no_destructor_test.cc",
|
||||
"util/status_test.cc",
|
||||
"db/c_test.c",
|
||||
"port/README.md",
|
||||
"port/port_config.h.in",
|
||||
],
|
||||
sources: [
|
||||
"db/",
|
||||
@@ -58,6 +60,7 @@ let package = Package(
|
||||
"util/",
|
||||
"include/",
|
||||
],
|
||||
resources: [.process("Resources/PrivacyInfo.xcprivacy")],
|
||||
publicHeadersPath: "include",
|
||||
cSettings: [
|
||||
.define("LEVELDB_IS_BIG_ENDIAN", to: "0"),
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<?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>NSPrivacyTrackingDomains</key>
|
||||
<array>
|
||||
</array>
|
||||
<key>NSPrivacyCollectedDataTypes</key>
|
||||
<array>
|
||||
</array>
|
||||
<key>NSPrivacyAccessedAPITypes</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>NSPrivacyAccessedAPIType</key>
|
||||
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
||||
<key>NSPrivacyAccessedAPITypeReasons</key>
|
||||
<array>
|
||||
<string>C617.1</string>
|
||||
</array>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -58,6 +58,10 @@ Pod::Spec.new do |s|
|
||||
"util/testutil.cc"
|
||||
]
|
||||
|
||||
s.resource_bundle = {
|
||||
"#{s.module_name}_Privacy" => 'Resources/PrivacyInfo.xcprivacy'
|
||||
}
|
||||
|
||||
s.library = 'c++'
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user