File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ build_flags = {
2323 doc = """
2424Configuration for enabling XCFramework import rules use the xcframework_processor_tool to
2525parse the XCFramework bundle Info.plist file. See apple/internal/apple_xcframework_import.bzl
26+ """ ,
27+ default = False ,
28+ ),
29+ "disable_swift_stdlib_binary_thinning" : struct (
30+ doc = """
31+ Disables binary thinning for Swift stdlib binaries, matching the most recent Xcode handling for
32+ Swift support dylibs.
2633""" ,
2734 default = False ,
2835 ),
Original file line number Diff line number Diff line change @@ -97,6 +97,9 @@ def _swift_dylib_action(
9797 if strip_bitcode :
9898 swift_stdlib_tool_args .add ("--strip_bitcode" )
9999
100+ if platform_prerequisites .build_settings .disable_swift_stdlib_binary_thinning :
101+ swift_stdlib_tool_args .add ("--disable_binary_thinning" )
102+
100103 apple_support .run (
101104 actions = actions ,
102105 apple_fragment = platform_prerequisites .apple_fragment ,
You can’t perform that action at this time.
0 commit comments