Remove special handling of test_ apexes
Test apexes no longer check to see whether their contents are available so the special handling is no longer necessary. Bug: 142935992 Test: m nothing Change-Id: Iecae7dcbb87908d19c672f74d3c1ed8810d4485b
This commit is contained in:
@@ -2394,8 +2394,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_")
|
||||
|
Reference in New Issue
Block a user