1// Copyright (C) 2021 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 default_team: "trendy_team_aaos_framework", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "CtsCarBuiltinApiTestCases", 22 defaults: ["cts_defaults"], 23 test_suites: [ 24 "cts", 25 "general-tests", 26 "automotive-tests", 27 "automotive-general-tests", 28 ], 29 30 srcs: [ 31 "src/**/*.java", 32 "src/**/*.aidl", 33 ], 34 resource_dirs: ["res"], 35 libs: [ 36 "android.car", 37 "android.car.builtin", 38 "android.test.base", 39 ], 40 static_libs: [ 41 "android.car.feature-aconfig-java", 42 "android.car.test.utils", 43 "androidx.test.rules", 44 "androidx.test.ext.truth", 45 "compatibility-device-util-axt", 46 "ctstestrunner-axt", 47 "cts-wm-util", 48 "Harrier", 49 ], 50 sdk_version: "module_current", 51 min_sdk_version: "33", //CTS tests needs to run upto N-2 version to support mainline 52 target_sdk_version: "34", 53 data: [ 54 ":CtsCarBuiltinSimpleApp", 55 ], 56 per_testcase_directory: true, 57 certificate: ":cts-testkey1", 58} 59