Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion absl/abseil.podspec.gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
s.tvos.deployment_target = '12.0'
s.watchos.deployment_target = '4.0'
s.visionos.deployment_target = '1.0'
s.exclude_files = [ 'absl/time/internal/cctz/src/*_win.cc' ]
s.subspec 'xcprivacy' do |ss|
ss.resource_bundles = {
ss.module_name => 'PrivacyInfo.xcprivacy',
Expand Down Expand Up @@ -189,7 +190,11 @@ def write_podspec_rule(f, rule, depth):
# Since CocoaPods treats header_files a bit differently from bazel,
# this won't generate a header_files field so that all source_files
# are considered as header files.
srcs = sorted(set(rule.hdrs + rule.textual_hdrs + rule.srcs))
srcs = [
s
for s in sorted(set(rule.hdrs + rule.textual_hdrs + rule.srcs))
if not s.endswith("_win.cc")
]
write_indented_list(
f, "{indent}{var}.source_files = ".format(indent=indent, var=spec_var),
srcs)
Expand Down