Merge "Ensure reported unconverted deps are unique" am: b7d18efca0

Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1920688

Change-Id: Ib3bbba471921e136929f72cb6086f1b3a79b883c
This commit is contained in:
Liz Kammer
2021-12-14 19:32:38 +00:00
committed by Automerger Merge Worker

View File

@@ -1290,7 +1290,7 @@ func (b *baseModuleContext) AddUnconvertedBp2buildDep(dep string) {
// GetUnconvertedBp2buildDeps returns the list of module names of this module's direct dependencies that // GetUnconvertedBp2buildDeps returns the list of module names of this module's direct dependencies that
// were not converted to Bazel. // were not converted to Bazel.
func (m *ModuleBase) GetUnconvertedBp2buildDeps() []string { func (m *ModuleBase) GetUnconvertedBp2buildDeps() []string {
return m.commonProperties.UnconvertedBp2buildDeps return FirstUniqueStrings(m.commonProperties.UnconvertedBp2buildDeps)
} }
func (m *ModuleBase) AddJSONData(d *map[string]interface{}) { func (m *ModuleBase) AddJSONData(d *map[string]interface{}) {