blob: 7b6a53b88c693ee004a439d5306f2536f1ff4854 [file] [log] [blame]
// Copyright (C) 2018 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 {
name: "CtsPackageInstallTestCases",
sdk_version: "test_current",
srcs: ["src/**/*.kt"],
exclude_srcs: [
"src/android/packageinstaller/install/cts/ExternalSourcesTestAppOpDenied.kt",
"src/android/packageinstaller/install/cts/ExternalSourcesTestAppOpDefault.kt",
],
static_libs: [
"ub-uiautomator",
"androidx.test.rules",
"androidx.test.ext.junit",
"compatibility-device-util-axt",
"androidx.legacy_legacy-support-v4",
"platform-test-annotations",
"truth",
"cts-install-lib",
"kotlin-test",
"Nene",
"Harrier",
],
test_suites: [
"cts",
"general-tests",
],
data: [
":CtsEmptyTestApp",
":CtsEmptyTestAppV2",
":CtsEmptyInstallerApp",
":CtsEmptyTestApp_FullScreenIntent",
],
java_resources: [
":HelloWorldSdk1",
":HelloWorldUsingSdk1",
],
per_testcase_directory: true,
}