Merge "Remove special handling of test_ apexes" am: f53737fadc
Change-Id: I7ad41c7fb7408fd484efbe930689437c6900cd08
This commit is contained in:
@@ -2395,8 +2395,6 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
|||||||
|
|
||||||
func whitelistedApexAvailable(apex, moduleName string) bool {
|
func whitelistedApexAvailable(apex, moduleName string) bool {
|
||||||
key := apex
|
key := apex
|
||||||
key = strings.Replace(key, "test_", "", 1)
|
|
||||||
|
|
||||||
// Prebuilt modules (e.g. java_import, etc.) have "prebuilt_" prefix added by the build
|
// 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
|
// system. Trim the prefix for the check since they are confusing
|
||||||
moduleName = strings.TrimPrefix(moduleName, "prebuilt_")
|
moduleName = strings.TrimPrefix(moduleName, "prebuilt_")
|
||||||
|
Reference in New Issue
Block a user