From bbabe6f3eb460ca6986bcffcd234aa77bc6e0510 Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Mon, 13 Dec 2021 15:09:04 -0500 Subject: [PATCH] Ensure reported unconverted deps are unique Test: m bp2build Change-Id: I4a260d1f2ff9f6fd39c55c447466618fcdef52c7 --- android/module.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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{}) {