Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2eb670a8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Make the names of 'soong_config_module_type_import' modules unique."...

Merge "Make the names of 'soong_config_module_type_import' modules unique." into rvc-dev am: a6ffd8b1 am: 7f2f26d9 am: 8d3ad8b4

Change-Id: Ica6b09a6bc2db043ec8fd3cc2930ad8d768e4321
parents 5c50db19 8d3ad8b4
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -122,7 +122,10 @@ func soongConfigModuleTypeImportFactory() Module {
}

func (m *soongConfigModuleTypeImport) Name() string {
	return "soong_config_module_type_import_" + soongconfig.CanonicalizeToProperty(m.properties.From)
	// The generated name is non-deterministic, but it does not
	// matter because this module does not emit any rules.
	return soongconfig.CanonicalizeToProperty(m.properties.From) +
		"soong_config_module_type_import_" + fmt.Sprintf("%p", m)
}

func (*soongConfigModuleTypeImport) Nameless()                                 {}