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

Commit 379257c8 authored by Zi Wang's avatar Zi Wang Committed by Gerrit Code Review
Browse files

Merge "Address comments from aosp/2777928" into main

parents e94f26e2 74c9a775
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -549,7 +549,8 @@ func (b *BazelModuleBase) shouldConvertWithBp2build(ctx shouldConvertModuleConte
	// the same name are both allowlisted. This cannot be applied to all the *_import
	// module types. For example, android_library_import has to use original module
	// name here otherwise the *-nodeps targets cannot be handled correctly.
	if strings.HasPrefix(p.moduleType, "java_import") {
	// TODO(b/304385140): remove this special casing
	if p.moduleType == "java_import" || p.moduleType == "java_import_host" {
		moduleName = module.Name()
	}