Add support for java_test_helper_app.
Bug: 142712057 Bug: 138429615 Test: apex_test passes, tried building an apex with a test app. Change-Id: Ib75bd48042d8b1fe102038bef08cd1be708e996d
This commit is contained in:
@@ -1060,6 +1060,8 @@ func (a *apexBundle) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
return true // track transitive dependencies
|
||||
} else if ap, ok := child.(*java.AndroidAppImport); ok {
|
||||
filesInfo = append(filesInfo, apexFileForAndroidApp(ctx, ap, pkgName))
|
||||
} else if ap, ok := child.(*java.AndroidTestHelperApp); ok {
|
||||
filesInfo = append(filesInfo, apexFileForAndroidApp(ctx, ap, pkgName))
|
||||
} else {
|
||||
ctx.PropertyErrorf("apps", "%q is not an android_app module", depName)
|
||||
}
|
||||
|
Reference in New Issue
Block a user