Merge "Set targetSdkVersion to 10000 for MTS tests targeting current" am: 0264058aea
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2164782 Change-Id: Ifff15aa2a63aed775150aa6d6147e6300633cbfb Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
12
java/app.go
12
java/app.go
@@ -971,6 +971,18 @@ func (a *AndroidTest) InstallInTestcases() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
type androidTestApp interface {
|
||||
includedInTestSuite(searchPrefix string) bool
|
||||
}
|
||||
|
||||
func (a *AndroidTest) includedInTestSuite(searchPrefix string) bool {
|
||||
return android.PrefixInList(a.testProperties.Test_suites, searchPrefix)
|
||||
}
|
||||
|
||||
func (a *AndroidTestHelperApp) includedInTestSuite(searchPrefix string) bool {
|
||||
return android.PrefixInList(a.appTestHelperAppProperties.Test_suites, searchPrefix)
|
||||
}
|
||||
|
||||
func (a *AndroidTest) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
var configs []tradefed.Config
|
||||
if a.appTestProperties.Instrumentation_target_package != nil {
|
||||
|
Reference in New Issue
Block a user