Merge "Remove special handling of test_ apexes" am: f53737fadc
am: 784e2e472b
am: 8aa853c134
Change-Id: Ieb79738fb27a51d5c8e379ed7fd71eff53aa2d9c
This commit is contained in:
@@ -2400,8 +2400,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