blob: 7686abbb121153a8aa196ed5ecfd8f7c6f0e71c0 [file] [log] [blame]
// 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 {
name: "CtsCarTestCases",
defaults: [
"cts_defaults",
"car-framework-aconfig-libraries",
],
static_libs: [
"android.car.test.utils",
"android.car.testapi",
"androidx.test.core",
"androidx.test.rules",
"android-support-v4",
"car-integration-test-utils-lib",
"compatibility-device-util-axt",
"truth",
"ctstestrunner-axt",
"libprotobuf-java-lite",
"framework-annotations-lib",
"hamcrest-library",
"platform-test-annotations",
"flag-junit",
],
libs: [
"android.test.base",
"android.car-test-stubs",
],
srcs: [
"src/**/*.java",
":cartelemetryservice-proto-srcs",
":rotary-service-proto-source",
":car-service-dump-proto-srcs",
],
// Tag this module as a cts test artifact
test_suites: [
"cts",
"general-tests",
"automotive-tests",
"automotive-general-tests",
],
sdk_version: "test_current",
min_sdk_version: "33", //CTS tests needs to run upto N-2 version to support mainline
target_sdk_version: "34",
per_testcase_directory: true,
certificate: ":cts-testkey1",
data: [
":CtsCarDisplayCompatApp",
],
}