Restrict java_sdk_library in libs
Instead, the module should specify the submodule it actually depends on. This is a prereq change to removing the java_sdk_library "magic" Test: m nothing --no-skip-soong-tests Bug: 366069293 Change-Id: I9137c079afc7abf201e597e323ae7de415eea0dc
This commit is contained in:
@@ -3241,7 +3241,7 @@ func TestUsesLibraries(t *testing.T) {
|
||||
java_library {
|
||||
name: "static-runtime-helper",
|
||||
srcs: ["a.java"],
|
||||
libs: ["runtime-library"],
|
||||
libs: ["runtime-library.impl"],
|
||||
sdk_version: "current",
|
||||
}
|
||||
|
||||
@@ -3305,7 +3305,7 @@ func TestUsesLibraries(t *testing.T) {
|
||||
name: "app",
|
||||
srcs: ["a.java"],
|
||||
libs: [
|
||||
"qux",
|
||||
"qux.impl",
|
||||
"quuz.stubs"
|
||||
],
|
||||
static_libs: [
|
||||
|
Reference in New Issue
Block a user