File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 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" )
109load ("@rules_java//java/common:java_info.bzl" , "JavaInfo" )
1110load ("@rules_java//java/common:proguard_spec_info.bzl" , "ProguardSpecInfo" )
1211load ("//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 (
You can’t perform that action at this time.
0 commit comments