summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2021-07-23 16:46:13 +0000
committerScott Lobdell <slobdell@google.com>2021-07-23 16:46:13 +0000
commitfb28141c02a8c7c057e83fa4811ba01ac386d385 (patch)
treef6035de9046c1786db70e63db36e9bc5f397e749 /java/java.go
parent637b9803b5ebd3c416d4bc5128141f77e75fe11b (diff)
parent785590ffbd16a86132767927a606570975fee9d1 (diff)
Merge SP1A.210715.002
Change-Id: Ia181a44eac8483258ec9c0ec84b3eb5f3c3b255d
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go
index 185a44d99..91eb734c3 100644
--- a/java/java.go
+++ b/java/java.go
@@ -1284,6 +1284,10 @@ func (j *Import) GenerateAndroidBuildActions(ctx android.ModuleContext) {
// Save away the `deapexer` module on which this depends, if any.
if tag == android.DeapexerTag {
+ if deapexerModule != nil {
+ ctx.ModuleErrorf("Ambiguous duplicate deapexer module dependencies %q and %q",
+ deapexerModule.Name(), module.Name())
+ }
deapexerModule = module
}
})