blob: d4594ed714524b593eaa624cf2900866868fb521 [file] [log] [blame]
// Copyright (C) 2008 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_test_helper_app {
name: "CtsAppTestStubs",
defaults: ["cts_support_defaults"],
libs: [
"android.test.runner",
"telephony-common",
"voip-common",
"org.apache.http.legacy",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ctstestserver",
"mockito-target-minus-junit4",
"androidx.legacy_legacy-support-v4",
"androidx.test.core",
"testng",
"CtsAppTestStubsShared",
],
srcs: [
"src/**/*.java",
"src/**/*.kt",
"src/android/app/stubs/ISecondary.aidl",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
"sts",
],
additional_manifests: ["ProviderAndroidManifest.xml"],
platform_apis: true,
}
android_test_helper_app {
name: "CtsAppTestStubsApp1",
defaults: ["cts_support_defaults"],
libs: [
"android.test.runner",
"telephony-common",
"voip-common",
"org.apache.http.legacy",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ctstestserver",
"mockito-target-minus-junit4",
"androidx.legacy_legacy-support-v4",
"androidx.test.core",
"CtsAppTestStubsShared",
],
srcs: [
"src/**/*.java",
"src/android/app/stubs/ISecondary.aidl",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
"sts",
],
platform_apis: true,
aaptflags: [
"--rename-manifest-package com.android.app1",
],
}
android_test {
name: "CtsAppTestStubsApp2",
defaults: ["cts_support_defaults"],
libs: [
"android.test.runner",
"telephony-common",
"voip-common",
"org.apache.http.legacy",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ctstestserver",
"mockito-target-minus-junit4",
"androidx.legacy_legacy-support-v4",
"androidx.test.core",
"CtsAppTestStubsShared",
],
srcs: [
"src/**/*.java",
"src/android/app/stubs/ISecondary.aidl",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
"sts",
],
platform_apis: true,
aaptflags: [
"--rename-manifest-package com.android.app2",
],
}
android_test_helper_app {
name: "CtsAppTestStubsApp3",
defaults: ["cts_support_defaults"],
libs: [
"android.test.runner",
"telephony-common",
"voip-common",
"org.apache.http.legacy",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ctstestserver",
"mockito-target-minus-junit4",
"androidx.legacy_legacy-support-v4",
"androidx.test.core",
"CtsAppTestStubsShared",
],
srcs: [
"src/**/*.java",
"src/android/app/stubs/ISecondary.aidl",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
"sts",
],
platform_apis: true,
aaptflags: [
"--rename-manifest-package com.android.app3",
],
}
android_test_helper_app {
name: "CtsAppTestStubsApi30",
defaults: ["cts_support_defaults"],
libs: [
"android.test.runner",
"telephony-common",
"voip-common",
"org.apache.http.legacy",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ctstestserver",
"mockito-target-minus-junit4",
"androidx.legacy_legacy-support-v4",
"androidx.test.core",
"CtsAppTestStubsShared",
],
srcs: [
"src/**/*.java",
"src/android/app/stubs/ISecondary.aidl",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
"sts",
],
platform_apis: true,
target_sdk_version: "30",
aaptflags: [
"--rename-manifest-package com.android.app4",
"--debug-mode",
],
}