summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Liz Kammer <eakammer@google.com> 2021-12-14 19:10:27 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2021-12-14 19:10:27 +0000
commitb7d18efca041120e834f7f213076ab0ee24bd11b (patch)
treed457daf86f425963f1a93239c719eb6ee7581009
parent92344259c5b964361da62dd6c2572e50940515b2 (diff)
parentbbabe6f3eb460ca6986bcffcd234aa77bc6e0510 (diff)
Merge "Ensure reported unconverted deps are unique"
-rw-r--r--android/module.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/module.go b/android/module.go
index 6c7fc6505..189781a83 100644
--- a/android/module.go
+++ b/android/module.go
@@ -1290,7 +1290,7 @@ func (b *baseModuleContext) AddUnconvertedBp2buildDep(dep string) {
// GetUnconvertedBp2buildDeps returns the list of module names of this module's direct dependencies that
// were not converted to Bazel.
func (m *ModuleBase) GetUnconvertedBp2buildDeps() []string {
- return m.commonProperties.UnconvertedBp2buildDeps
+ return FirstUniqueStrings(m.commonProperties.UnconvertedBp2buildDeps)
}
func (m *ModuleBase) AddJSONData(d *map[string]interface{}) {