diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-07-13 01:01:20 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-07-13 01:01:20 +0000 |
commit | 785590ffbd16a86132767927a606570975fee9d1 (patch) | |
tree | 52913a925d28a09ab39ee8967b420329b5cb42d5 /java/java.go | |
parent | 74d33e1a724ff26b5e9175fed9664b5387c7744f (diff) | |
parent | 8410eb1551742844c967e3a563c606566d8a9c37 (diff) |
Snap for 7542710 from 8410eb1551742844c967e3a563c606566d8a9c37 to sc-release
Change-Id: Id053266a050dca850d7802f30b4f9d026debe6cc
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 71c1b3324..ca63782ed 100644 --- a/java/java.go +++ b/java/java.go @@ -1283,6 +1283,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 } }) |