mirror of
https://github.com/abseil/abseil-cpp.git
synced 2026-06-06 13:24:31 +08:00
add xcprivacy to all subspecs
This commit is contained in:
@@ -47,6 +47,11 @@ Pod::Spec.new do |s|
|
||||
s.osx.deployment_target = '10.11'
|
||||
s.tvos.deployment_target = '9.0'
|
||||
s.watchos.deployment_target = '2.0'
|
||||
s.subspec 'xcprivacy' do |ss|
|
||||
ss.resource_bundles = {
|
||||
ss.module_name => 'PrivacyInfo.xcprivacy',
|
||||
}
|
||||
end
|
||||
"""
|
||||
|
||||
# Rule object representing the rule of Bazel BUILD.
|
||||
@@ -191,6 +196,9 @@ def write_podspec_rule(f, rule, depth):
|
||||
name = get_spec_name(dep.replace(":", "/"))
|
||||
f.write("{indent}{var}.dependency '{dep}'\n".format(
|
||||
indent=indent, var=spec_var, dep=name))
|
||||
# Writes dependency to xcprivacy
|
||||
f.write("{indent}{var}.dependency '{dep}'\n".format(
|
||||
indent=indent, var=spec_var, dep="abseil/xcprivacy"))
|
||||
|
||||
|
||||
def write_indented_list(f, leading, values):
|
||||
|
||||
Reference in New Issue
Block a user