File tree Expand file tree Collapse file tree 8 files changed +0
-54
lines changed Expand file tree Collapse file tree 8 files changed +0
-54
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,6 @@ bzl_library(
126126 srcs = ["py_binary.bzl" ],
127127 deps = [
128128 "//python/private:py_binary_macro_bzl" ,
129- "//python/private:register_extension_info_bzl" ,
130129 ],
131130)
132131
@@ -175,7 +174,6 @@ bzl_library(
175174 srcs = ["py_library.bzl" ],
176175 deps = [
177176 "//python/private:py_library_macro_bzl" ,
178- "//python/private:register_extension_info_bzl" ,
179177 ],
180178)
181179
@@ -208,7 +206,6 @@ bzl_library(
208206 srcs = ["py_test.bzl" ],
209207 deps = [
210208 "//python/private:py_test_macro_bzl" ,
211- "//python/private:register_extension_info_bzl" ,
212209 ],
213210)
214211
Original file line number Diff line number Diff line change @@ -612,11 +612,6 @@ bzl_library(
612612 ],
613613)
614614
615- bzl_library (
616- name = "register_extension_info_bzl" ,
617- srcs = ["register_extension_info.bzl" ],
618- )
619-
620615bzl_library (
621616 name = "repo_utils_bzl" ,
622617 srcs = ["repo_utils.bzl" ],
Original file line number Diff line number Diff line change @@ -44,12 +44,6 @@ REQUIRED_EXEC_GROUP_BUILDERS = {
4444 "py_precompile" : lambda : ruleb .ExecGroup (),
4545}
4646
47- # Backwards compatibility symbol for Google.
48- REQUIRED_EXEC_GROUPS = {
49- k : v ().build ()
50- for k , v in REQUIRED_EXEC_GROUP_BUILDERS .items ()
51- }
52-
5347_STAMP_VALUES = [- 1 , 0 , 1 ]
5448
5549def _precompile_attr_get_effective_value (ctx ):
Original file line number Diff line number Diff line change @@ -1859,7 +1859,3 @@ def cc_configure_features(
18591859 feature_configuration = feature_configuration ,
18601860 requested_features = requested_features ,
18611861 )
1862-
1863- only_exposed_for_google_internal_reason = struct (
1864- create_runfiles_with_build_data = _create_runfiles_with_build_data ,
1865- )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1515"""Public entry point for py_binary."""
1616
1717load ("//python/private:py_binary_macro.bzl" , _py_binary = "py_binary" )
18- load ("//python/private:register_extension_info.bzl" , "register_extension_info" )
1918
2019def py_binary (** attrs ):
2120 """Creates an executable Python program.
@@ -38,8 +37,3 @@ def py_binary(**attrs):
3837 fail ("Python 2 is no longer supported: https://github.com/bazel-contrib/rules_python/issues/886" )
3938
4039 _py_binary (** attrs )
41-
42- register_extension_info (
43- extension = py_binary ,
44- label_regex_for_dep = "{extension_name}" ,
45- )
Original file line number Diff line number Diff line change 1515"""Public entry point for py_library."""
1616
1717load ("//python/private:py_library_macro.bzl" , _py_library = "py_library" )
18- load ("//python/private:register_extension_info.bzl" , "register_extension_info" )
1918
2019def py_library (** attrs ):
2120 """Creates an executable Python program.
@@ -35,8 +34,3 @@ def py_library(**attrs):
3534 fail ("Python 2 is no longer supported: https://github.com/bazel-contrib/rules_python/issues/886" )
3635
3736 _py_library (** attrs )
38-
39- register_extension_info (
40- extension = py_library ,
41- label_regex_for_dep = "{extension_name}" ,
42- )
Original file line number Diff line number Diff line change 1515"""Public entry point for py_test."""
1616
1717load ("//python/private:py_test_macro.bzl" , _py_test = "py_test" )
18- load ("//python/private:register_extension_info.bzl" , "register_extension_info" )
1918
2019def py_test (** attrs ):
2120 """Creates an executable Python program.
@@ -39,8 +38,3 @@ def py_test(**attrs):
3938
4039 # buildifier: disable=native-python
4140 _py_test (** attrs )
42-
43- register_extension_info (
44- extension = py_test ,
45- label_regex_for_dep = "{extension_name}" ,
46- )
You can’t perform that action at this time.
0 commit comments