summaryrefslogtreecommitdiff
path: root/apex/apex_test.go
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2020-05-29 00:45:03 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-05-29 00:45:03 +0000
commit00f5701ade58dd4b9f6e7cfb5d9254bf32aa5616 (patch)
treed8dbd4a3fdf570b50055c5fd58dc5efe04e3bcce /apex/apex_test.go
parent1b2bae1ba518f74eccc129a37ece7d44825d7384 (diff)
parenta62aa2399031a01620775a06dbae53af0cff5a25 (diff)
Merge "apex respects stem of java_library modules"
Diffstat (limited to 'apex/apex_test.go')
-rw-r--r--apex/apex_test.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go
index ced113f2f..29bd087c6 100644
--- a/apex/apex_test.go
+++ b/apex/apex_test.go
@@ -424,6 +424,7 @@ func TestBasicApex(t *testing.T) {
java_library {
name: "myjar",
srcs: ["foo/bar/MyClass.java"],
+ stem: "myjar_stem",
sdk_version: "none",
system_modules: "none",
static_libs: ["myotherjar"],
@@ -478,7 +479,7 @@ func TestBasicApex(t *testing.T) {
// Ensure that both direct and indirect deps are copied into apex
ensureContains(t, copyCmds, "image.apex/lib64/mylib.so")
ensureContains(t, copyCmds, "image.apex/lib64/mylib2.so")
- ensureContains(t, copyCmds, "image.apex/javalib/myjar.jar")
+ ensureContains(t, copyCmds, "image.apex/javalib/myjar_stem.jar")
// .. but not for java libs
ensureNotContains(t, copyCmds, "image.apex/javalib/myotherjar.jar")
ensureNotContains(t, copyCmds, "image.apex/javalib/msharedjar.jar")