diff options
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 4 |
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 } }) |