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

Commit f53737fa authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Remove special handling of test_ apexes"

parents 643953d1 57380a90
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2395,8 +2395,6 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {

func whitelistedApexAvailable(apex, moduleName string) bool {
	key := apex
	key = strings.Replace(key, "test_", "", 1)

	// Prebuilt modules (e.g. java_import, etc.) have "prebuilt_" prefix added by the build
	// system. Trim the prefix for the check since they are confusing
	moduleName = strings.TrimPrefix(moduleName, "prebuilt_")