File tree Expand file tree Collapse file tree 4 files changed +2
-76
lines changed
Expand file tree Collapse file tree 4 files changed +2
-76
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,7 @@ _BASE_FILES = [
88]
99
1010filegroup (
11- name = "bwx_integration_files" ,
12- srcs = _BASE_FILES ,
13- # This is made public for internal use only
14- visibility = ["//visibility:public" ],
15- )
16-
17- filegroup (
18- name = "bwb_integration_files" ,
11+ name = "bazel_integration_files" ,
1912 srcs = _BASE_FILES + [
2013 ":renamed_swiftc_stub" ,
2114 ":rsync_excludes" ,
Original file line number Diff line number Diff line change @@ -54,51 +54,3 @@ def write_bazel_build_script(
5454 )
5555
5656 return output
57-
58- def write_create_xcode_overlay_script (
59- * ,
60- actions ,
61- generator_name ,
62- targets ,
63- template ):
64- """Writes the `create_xcode_overlay.sh` script.
65-
66- Args:
67- actions: `ctx.actions`.
68- generator_name: The name of the `xcodeproj` generator target.
69- targets: A `dict` mapping target ids to `xcode_target`s.
70- template: `xcodeproj/internal/templates/create_xcode_overlay.sh`.
71-
72- Returns:
73- The `File` for `create_xcode_overlay.sh`.
74- """
75- output = actions .declare_file (
76- "{}_bazel_integration_files/create_xcode_overlay.sh" .format (
77- generator_name ,
78- ),
79- )
80-
81- roots = []
82- for xcode_target in targets .values ():
83- generated_header = xcode_target .outputs .swift_generated_header
84- if not generated_header :
85- continue
86-
87- path = generated_header .path
88- build_dir = "$BUILD_DIR/{}" .format (path )
89- bazel_out = "$BAZEL_OUT{}" .format (path [9 :])
90-
91- roots .append ("""\
92- {{"external-contents": "{build_dir}","name": "${{bazel_out_prefix}}{bazel_out}","type": "file"}}\
93- """ .format (bazel_out = bazel_out , build_dir = build_dir ))
94-
95- actions .expand_template (
96- template = template ,
97- output = output ,
98- is_executable = True ,
99- substitutions = {
100- "%roots%" : "," .join (sorted (roots )),
101- },
102- )
103-
104- return output
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -837,7 +837,7 @@ def _xcodeproj_attrs(
837837 cfg = "exec" ,
838838 allow_files = True ,
839839 default = Label (
840- "//xcodeproj/internal/bazel_integration_files:bwb_integration_files " ,
840+ "//xcodeproj/internal/bazel_integration_files" ,
841841 ),
842842 ),
843843 "_contents_xcworkspacedata" : attr .label (
@@ -846,12 +846,6 @@ def _xcodeproj_attrs(
846846 "//xcodeproj/internal/templates:contents.xcworkspacedata" ,
847847 ),
848848 ),
849- "_create_xcode_overlay_script_template" : attr .label (
850- allow_single_file = True ,
851- default = Label (
852- "//xcodeproj/internal/templates:create_xcode_overlay.sh" ,
853- ),
854- ),
855849 "_extension_point_identifiers_parser" : attr .label (
856850 cfg = "exec" ,
857851 default = Label ("//tools/extension_point_identifiers_parser" ),
You can’t perform that action at this time.
0 commit comments