Skip to content

Commit 0cfebe6

Browse files
Google APIscopybara-github
authored andcommitted
chore: Remove monolith generator rules for Java and Python
Committer: @miraleung PiperOrigin-RevId: 377087379
1 parent a5f96d0 commit 0cfebe6

1 file changed

Lines changed: 0 additions & 32 deletions

File tree

repository_rules.bzl

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -147,28 +147,6 @@ def switched_rules_by_language(
147147
"@gapic_generator_java//rules_java_gapic:java_gapic_pkg.bzl",
148148
)
149149

150-
# Removed the legacy rules once monolith generator is decommissioned
151-
rules["java_gapic_library_legacy"] = _switch(
152-
java and grpc and gapic,
153-
"@com_google_api_codegen//rules_gapic/java:java_gapic.bzl",
154-
"java_gapic_library",
155-
)
156-
rules["java_resource_name_proto_library_legacy"] = _switch(
157-
java and grpc and gapic,
158-
"@com_google_api_codegen//rules_gapic/java:java_gapic.bzl",
159-
"java_resource_name_proto_library",
160-
)
161-
rules["java_gapic_test_legacy"] = _switch(
162-
java and grpc and gapic,
163-
"@com_google_api_codegen//rules_gapic/java:java_gapic.bzl",
164-
"java_gapic_test",
165-
)
166-
rules["java_gapic_assembly_gradle_pkg_legacy"] = _switch(
167-
java and grpc and gapic,
168-
"@com_google_api_codegen//rules_gapic/java:java_gapic_pkg.bzl",
169-
"java_gapic_assembly_gradle_pkg",
170-
)
171-
172150
#
173151
# Python
174152
#
@@ -188,16 +166,6 @@ def switched_rules_by_language(
188166
python and grpc and gapic,
189167
"@gapic_generator_python//rules_python_gapic:py_gapic_pkg.bzl",
190168
)
191-
rules["py_gapic_library_legacy"] = _switch(
192-
python and grpc and gapic,
193-
"@com_google_api_codegen//rules_gapic/python:py_gapic.bzl",
194-
"py_gapic_library",
195-
)
196-
rules["py_gapic_assembly_pkg_legacy"] = _switch(
197-
python and grpc and gapic,
198-
"@com_google_api_codegen//rules_gapic/python:py_gapic_pkg.bzl",
199-
"py_gapic_assembly_pkg",
200-
)
201169

202170
#
203171
# Go

0 commit comments

Comments
 (0)