Merge "Remove special handling of test_ apexes" am: f53737fadc

Change-Id: I7ad41c7fb7408fd484efbe930689437c6900cd08
This commit is contained in:
Automerger Merge Worker 2020-03-11 20:25:08 +00:00
commit 784e2e472b

View file

@ -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_")