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(
126
126
srcs = ["py_binary.bzl" ],
127
127
deps = [
128
128
"//python/private:py_binary_macro_bzl" ,
129
- "//python/private:register_extension_info_bzl" ,
130
129
],
131
130
)
132
131
@@ -175,7 +174,6 @@ bzl_library(
175
174
srcs = ["py_library.bzl" ],
176
175
deps = [
177
176
"//python/private:py_library_macro_bzl" ,
178
- "//python/private:register_extension_info_bzl" ,
179
177
],
180
178
)
181
179
@@ -208,7 +206,6 @@ bzl_library(
208
206
srcs = ["py_test.bzl" ],
209
207
deps = [
210
208
"//python/private:py_test_macro_bzl" ,
211
- "//python/private:register_extension_info_bzl" ,
212
209
],
213
210
)
214
211
Original file line number Diff line number Diff line change @@ -612,11 +612,6 @@ bzl_library(
612
612
],
613
613
)
614
614
615
- bzl_library (
616
- name = "register_extension_info_bzl" ,
617
- srcs = ["register_extension_info.bzl" ],
618
- )
619
-
620
615
bzl_library (
621
616
name = "repo_utils_bzl" ,
622
617
srcs = ["repo_utils.bzl" ],
Original file line number Diff line number Diff line change @@ -44,12 +44,6 @@ REQUIRED_EXEC_GROUP_BUILDERS = {
44
44
"py_precompile" : lambda : ruleb .ExecGroup (),
45
45
}
46
46
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
-
53
47
_STAMP_VALUES = [- 1 , 0 , 1 ]
54
48
55
49
def _precompile_attr_get_effective_value (ctx ):
Original file line number Diff line number Diff line change @@ -1859,7 +1859,3 @@ def cc_configure_features(
1859
1859
feature_configuration = feature_configuration ,
1860
1860
requested_features = requested_features ,
1861
1861
)
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 15
15
"""Public entry point for py_binary."""
16
16
17
17
load ("//python/private:py_binary_macro.bzl" , _py_binary = "py_binary" )
18
- load ("//python/private:register_extension_info.bzl" , "register_extension_info" )
19
18
20
19
def py_binary (** attrs ):
21
20
"""Creates an executable Python program.
@@ -38,8 +37,3 @@ def py_binary(**attrs):
38
37
fail ("Python 2 is no longer supported: https://github.com/bazel-contrib/rules_python/issues/886" )
39
38
40
39
_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 15
15
"""Public entry point for py_library."""
16
16
17
17
load ("//python/private:py_library_macro.bzl" , _py_library = "py_library" )
18
- load ("//python/private:register_extension_info.bzl" , "register_extension_info" )
19
18
20
19
def py_library (** attrs ):
21
20
"""Creates an executable Python program.
@@ -35,8 +34,3 @@ def py_library(**attrs):
35
34
fail ("Python 2 is no longer supported: https://github.com/bazel-contrib/rules_python/issues/886" )
36
35
37
36
_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 15
15
"""Public entry point for py_test."""
16
16
17
17
load ("//python/private:py_test_macro.bzl" , _py_test = "py_test" )
18
- load ("//python/private:register_extension_info.bzl" , "register_extension_info" )
19
18
20
19
def py_test (** attrs ):
21
20
"""Creates an executable Python program.
@@ -39,8 +38,3 @@ def py_test(**attrs):
39
38
40
39
# buildifier: disable=native-python
41
40
_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