Skip to content

Commit a81be10

Browse files
cushoncopybara-github
authored andcommitted
Internal change
PiperOrigin-RevId: 868068245
1 parent 71eef33 commit a81be10

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bazel/private/java_lite_proto_library.bzl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
# https://developers.google.com/open-source/licenses/bsd
77
"""A Starlark implementation of the java_lite_proto_library rule."""
88

9-
load("@rules_java//java/common:java_common.bzl", "java_common")
109
load("@rules_java//java/common:java_info.bzl", "JavaInfo")
1110
load("@rules_java//java/common:proguard_spec_info.bzl", "ProguardSpecInfo")
1211
load("//bazel/common:proto_common.bzl", "proto_common")
@@ -118,9 +117,6 @@ def _rule_impl(ctx):
118117
transitive_src_and_runtime_jars = depset(transitive = [dep[JavaProtoAspectInfo].jars for dep in ctx.attr.deps])
119118
transitive_runtime_jars = depset(transitive = [java_info.transitive_runtime_jars])
120119

121-
if hasattr(java_common, "add_constraints"):
122-
java_info = java_common.add_constraints(java_info, constraints = ["android"])
123-
124120
return [
125121
java_info,
126122
DefaultInfo(

0 commit comments

Comments
 (0)