forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrules_apple_py.patch
More file actions
191 lines (173 loc) · 6.1 KB
/
rules_apple_py.patch
File metadata and controls
191 lines (173 loc) · 6.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
diff --git a/BUILD b/BUILD
index 2a69b280..0d7f1687 100644
--- a/BUILD
+++ b/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
exports_files(["LICENSE"])
diff --git a/apple/testing/default_runner/BUILD b/apple/testing/default_runner/BUILD
index 0bedc521..a3f7b08d 100644
--- a/apple/testing/default_runner/BUILD
+++ b/apple/testing/default_runner/BUILD
@@ -23,6 +23,7 @@ load(
"//apple/testing/default_runner:watchos_test_runner.bzl",
"watchos_test_runner",
)
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
licenses(["notice"])
diff --git a/tools/alticonstool/BUILD b/tools/alticonstool/BUILD
index 7922cc75..e4d32ec9 100644
--- a/tools/alticonstool/BUILD
+++ b/tools/alticonstool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/bitcode_strip/BUILD b/tools/bitcode_strip/BUILD
index 53cf078e..9307f4ed 100644
--- a/tools/bitcode_strip/BUILD
+++ b/tools/bitcode_strip/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_library(
diff --git a/tools/bundletool/BUILD b/tools/bundletool/BUILD
index 37674a6d..7537c56b 100644
--- a/tools/bundletool/BUILD
+++ b/tools/bundletool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/clangrttool/BUILD b/tools/clangrttool/BUILD
index d9da4073..973cf8f9 100644
--- a/tools/clangrttool/BUILD
+++ b/tools/clangrttool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/codesigningtool/BUILD b/tools/codesigningtool/BUILD
index a8ffb8d0..ea3b0e14 100644
--- a/tools/codesigningtool/BUILD
+++ b/tools/codesigningtool/BUILD
@@ -1,4 +1,5 @@
load("@build_bazel_apple_support//rules:toolchain_substitution.bzl", "toolchain_substitution")
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
licenses(["notice"])
diff --git a/tools/dossier_codesigningtool/BUILD b/tools/dossier_codesigningtool/BUILD
index 37cdab19..b19cb18a 100644
--- a/tools/dossier_codesigningtool/BUILD
+++ b/tools/dossier_codesigningtool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/imported_dynamic_framework_processor/BUILD b/tools/imported_dynamic_framework_processor/BUILD
index 339f14a3..4de74089 100644
--- a/tools/imported_dynamic_framework_processor/BUILD
+++ b/tools/imported_dynamic_framework_processor/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/local_provisioning_profile_finder/BUILD b/tools/local_provisioning_profile_finder/BUILD
index 2d1aab45..e631c585 100644
--- a/tools/local_provisioning_profile_finder/BUILD
+++ b/tools/local_provisioning_profile_finder/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
py_binary(
name = "local_provisioning_profile_finder",
srcs = ["local_provisioning_profile_finder.py"],
diff --git a/tools/plisttool/BUILD b/tools/plisttool/BUILD
index 2102ad9b..6c7c47f4 100644
--- a/tools/plisttool/BUILD
+++ b/tools/plisttool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/provisioning_profile_tool/BUILD b/tools/provisioning_profile_tool/BUILD
index a36c5123..d022ae28 100644
--- a/tools/provisioning_profile_tool/BUILD
+++ b/tools/provisioning_profile_tool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/swift_stdlib_tool/BUILD b/tools/swift_stdlib_tool/BUILD
index 024c6828..fcd0cc78 100644
--- a/tools/swift_stdlib_tool/BUILD
+++ b/tools/swift_stdlib_tool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/versiontool/BUILD b/tools/versiontool/BUILD
index ba04a6e9..a31f7c65 100644
--- a/tools/versiontool/BUILD
+++ b/tools/versiontool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/wrapper_common/BUILD b/tools/wrapper_common/BUILD
index 435e55d4..6e7c149c 100644
--- a/tools/wrapper_common/BUILD
+++ b/tools/wrapper_common/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_library(
diff --git a/tools/xcarchivetool/BUILD b/tools/xcarchivetool/BUILD
index e7cfd3fa..4390c9a9 100644
--- a/tools/xcarchivetool/BUILD
+++ b/tools/xcarchivetool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
py_binary(
name = "make_xcarchive",
srcs = ["make_xcarchive.py"],
diff --git a/tools/xcframework_processor_tool/BUILD b/tools/xcframework_processor_tool/BUILD
index 0aabfe52..12992f09 100644
--- a/tools/xcframework_processor_tool/BUILD
+++ b/tools/xcframework_processor_tool/BUILD
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
licenses(["notice"])
py_binary(
diff --git a/tools/xctoolrunner/BUILD b/tools/xctoolrunner/BUILD
index 6831fff3..d80260f7 100644
--- a/tools/xctoolrunner/BUILD
+++ b/tools/xctoolrunner/BUILD
@@ -1,3 +1,4 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
load("//tools:binary_env.bzl", "binary_env")
licenses(["notice"])
diff --git a/tools/xctrunnertool/BUILD.bazel b/tools/xctrunnertool/BUILD.bazel
index b385cba3..aabc15c0 100644
--- a/tools/xctrunnertool/BUILD.bazel
+++ b/tools/xctrunnertool/BUILD.bazel
@@ -1,3 +1,5 @@
+load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")
+
py_library(
name = "lib",
srcs = glob(["lib/*.py"]),