Revert "Restrict java_sdk_library in libs"

This reverts commit 125efc6c30.

Reason for revert: b/368606825

Change-Id: Ia24f637db202f24be2ee13c7fe78e19a69576ffa
This commit is contained in:
Jihoon Kang
2024-09-20 17:09:09 +00:00
committed by Gerrit Code Review
parent 125efc6c30
commit 33cbd37c00
7 changed files with 264 additions and 195 deletions

View File

@@ -3241,7 +3241,7 @@ func TestUsesLibraries(t *testing.T) {
java_library {
name: "static-runtime-helper",
srcs: ["a.java"],
libs: ["runtime-library.impl"],
libs: ["runtime-library"],
sdk_version: "current",
}
@@ -3305,7 +3305,7 @@ func TestUsesLibraries(t *testing.T) {
name: "app",
srcs: ["a.java"],
libs: [
"qux.impl",
"qux",
"quuz.stubs"
],
static_libs: [