summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Jihoon Kang <jihoonkang@google.com> 2024-09-11 23:44:44 +0000
committer Jihoon Kang <jihoonkang@google.com> 2024-09-19 21:44:20 +0000
commit125efc6c3055d05e3114736cde1e57e9e3f4bad8 (patch)
tree8eb578386abc22550631b22f534275aa505875a1 /java/java_test.go
parentd72360f84bbba72c2fe91dd8991185c7451710e0 (diff)
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
Diffstat (limited to 'java/java_test.go')
-rw-r--r--java/java_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java_test.go b/java/java_test.go
index c13db3e30..e0fd0f24e 100644
--- a/java/java_test.go
+++ b/java/java_test.go
@@ -670,7 +670,7 @@ func TestPrebuilts(t *testing.T) {
java_library {
name: "foo",
srcs: ["a.java", ":stubs-source"],
- libs: ["bar", "sdklib"],
+ libs: ["bar", "sdklib.stubs"],
static_libs: ["baz"],
}