You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

155 lines
4.2 KiB

// Copyright (C) 2016 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: "CtsDeviceAndProfileOwnerApp23",
defaults: ["cts_defaults"],
platform_apis: true,
srcs: ["src/**/*.java"],
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ub-uiautomator",
"cts-security-test-support-library",
"androidx.legacy_legacy-support-v4",
"cts-devicepolicy-suspensionchecker",
"devicepolicy-deviceside-common",
"ShortcutManagerTestUtils",
"MetricsRecorder",
"statsdprotolite",
],
resource_dirs: ["res"],
asset_dirs: ["assets"],
// tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
"mts",
],
manifest: "api23/AndroidManifest.xml",
}
android_test_helper_app {
name: "CtsDeviceAndProfileOwnerApp25",
defaults: ["cts_defaults"],
platform_apis: true,
min_sdk_version: "30",
target_sdk_version: "25",
srcs: ["src/**/*.java"],
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ub-uiautomator",
"cts-security-test-support-library",
"androidx.legacy_legacy-support-v4",
"cts-devicepolicy-suspensionchecker",
"devicepolicy-deviceside-common",
"ShortcutManagerTestUtils",
"MetricsRecorder",
"statsdprotolite",
],
resource_dirs: ["res"],
asset_dirs: ["assets"],
// tag this module as a cts test artifact
test_suites: [
"arcts",
"cts",
"general-tests",
"mts",
],
manifest: "api25/AndroidManifest.xml",
}
android_test_helper_app {
name: "CtsDeviceAndProfileOwnerApp30",
defaults: ["cts_defaults"],
platform_apis: true,
srcs: ["src/**/*.java"],
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ub-uiautomator",
"cts-security-test-support-library",
"androidx.legacy_legacy-support-v4",
"cts-devicepolicy-suspensionchecker",
"devicepolicy-deviceside-common",
"ShortcutManagerTestUtils",
"MetricsRecorder",
"statsdprotolite",
],
resource_dirs: ["res"],
asset_dirs: ["assets"],
// tag this module as a cts test artifact
test_suites: [
"arcts",
"cts",
"general-tests",
"mts",
],
manifest: "api30/AndroidManifest.xml",
}
android_test_helper_app {
name: "CtsDeviceAndProfileOwnerApp",
defaults: [
"cts_defaults",
"mts-target-sdk-version-current",
],
platform_apis: true,
min_sdk_version: "30",
srcs: ["src/**/*.java"],
libs: [
"android.test.runner",
"android.test.base",
],
static_libs: [
"compatibility-device-util-axt",
"ctstestrunner-axt",
"ub-uiautomator",
"cts-security-test-support-library",
"androidx.legacy_legacy-support-v4",
"cts-devicepolicy-suspensionchecker",
"devicepolicy-deviceside-common",
"ShortcutManagerTestUtils",
"MetricsRecorder",
"statsdprotolite",
],
resource_dirs: ["res"],
asset_dirs: ["assets"],
// tag this module as a cts test artifact
test_suites: [
"arcts",
"cts",
"general-tests",
"mts",
],
manifest: "latest/AndroidManifest.xml",
}