@@ -104,30 +104,18 @@ bzl_library(
104
104
deps = [":py_internal_bzl" ],
105
105
)
106
106
107
- bzl_library (
108
- name = "common_bazel_bzl" ,
109
- srcs = ["common_bazel.bzl" ],
110
- deps = [
111
- ":attributes_bzl" ,
112
- ":common_bzl" ,
113
- ":py_cc_link_params_info_bzl" ,
114
- ":py_internal_bzl" ,
115
- ":py_interpreter_program_bzl" ,
116
- ":toolchain_types_bzl" ,
117
- "@bazel_skylib//lib:paths" ,
118
- ],
119
- )
120
-
121
107
bzl_library (
122
108
name = "common_bzl" ,
123
109
srcs = ["common.bzl" ],
124
110
deps = [
125
111
":cc_helper_bzl" ,
112
+ ":py_cc_link_params_info_bzl" ,
126
113
":py_info_bzl" ,
127
114
":py_internal_bzl" ,
128
115
":reexports_bzl" ,
129
116
":rules_cc_srcs_bzl" ,
130
117
":semantics_bzl" ,
118
+ "@bazel_skylib//lib:paths" ,
131
119
],
132
120
)
133
121
@@ -199,6 +187,18 @@ bzl_library(
199
187
srcs = ["normalize_name.bzl" ],
200
188
)
201
189
190
+ bzl_library (
191
+ name = "precompile_bzl" ,
192
+ srcs = ["precompile.bzl" ],
193
+ deps = [
194
+ ":attributes_bzl" ,
195
+ ":py_internal_bzl" ,
196
+ ":py_interpreter_program_bzl" ,
197
+ ":toolchain_types_bzl" ,
198
+ "@bazel_skylib//lib:paths" ,
199
+ ],
200
+ )
201
+
202
202
bzl_library (
203
203
name = "python_bzl" ,
204
204
srcs = ["python.bzl" ],
@@ -265,8 +265,8 @@ bzl_library(
265
265
name = "py_binary_macro_bzl" ,
266
266
srcs = ["py_binary_macro.bzl" ],
267
267
deps = [
268
- ":common_bzl" ,
269
268
":py_binary_rule_bzl" ,
269
+ ":py_executable_bzl" ,
270
270
],
271
271
)
272
272
@@ -275,7 +275,7 @@ bzl_library(
275
275
srcs = ["py_binary_rule.bzl" ],
276
276
deps = [
277
277
":attributes_bzl" ,
278
- ":py_executable_bazel_bzl " ,
278
+ ":py_executable_bzl " ,
279
279
":semantics_bzl" ,
280
280
"@bazel_skylib//lib:dicts" ,
281
281
],
@@ -343,20 +343,6 @@ bzl_library(
343
343
],
344
344
)
345
345
346
- bzl_library (
347
- name = "py_executable_bazel_bzl" ,
348
- srcs = ["py_executable_bazel.bzl" ],
349
- deps = [
350
- ":attributes_bzl" ,
351
- ":common_bazel_bzl" ,
352
- ":common_bzl" ,
353
- ":py_executable_bzl" ,
354
- ":py_internal_bzl" ,
355
- ":py_runtime_info_bzl" ,
356
- ":semantics_bzl" ,
357
- ],
358
- )
359
-
360
346
bzl_library (
361
347
name = "py_executable_bzl" ,
362
348
srcs = ["py_executable.bzl" ],
@@ -365,6 +351,7 @@ bzl_library(
365
351
":cc_helper_bzl" ,
366
352
":common_bzl" ,
367
353
":flags_bzl" ,
354
+ ":precompile_bzl" ,
368
355
":py_cc_link_params_info_bzl" ,
369
356
":py_executable_info_bzl" ,
370
357
":py_info_bzl" ,
@@ -373,6 +360,7 @@ bzl_library(
373
360
":rules_cc_srcs_bzl" ,
374
361
":toolchain_types_bzl" ,
375
362
"@bazel_skylib//lib:dicts" ,
363
+ "@bazel_skylib//lib:paths" ,
376
364
"@bazel_skylib//lib:structs" ,
377
365
"@bazel_skylib//rules:common_settings" ,
378
366
],
@@ -431,8 +419,8 @@ bzl_library(
431
419
name = "py_library_rule_bzl" ,
432
420
srcs = ["py_library_rule.bzl" ],
433
421
deps = [
434
- ":common_bazel_bzl" ,
435
422
":common_bzl" ,
423
+ ":precompile_bzl" ,
436
424
":py_library_bzl" ,
437
425
],
438
426
)
@@ -508,7 +496,7 @@ bzl_library(
508
496
name = "py_test_macro_bzl" ,
509
497
srcs = ["py_test_macro.bzl" ],
510
498
deps = [
511
- ":common_bazel_bzl " ,
499
+ ":py_executable_bzl " ,
512
500
":py_test_rule_bzl" ,
513
501
],
514
502
)
@@ -519,7 +507,7 @@ bzl_library(
519
507
deps = [
520
508
":attributes_bzl" ,
521
509
":common_bzl" ,
522
- ":py_executable_bazel_bzl " ,
510
+ ":py_executable_bzl " ,
523
511
":semantics_bzl" ,
524
512
"@bazel_skylib//lib:dicts" ,
525
513
],
0 commit comments