1// Copyright (C) 2020 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_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19java_defaults { 20 name: "cts_app_defaults", 21 defaults: ["cts_defaults"], 22 srcs: ["src/**/*.java"], 23 sdk_version: "test_current", 24 25 static_libs: [ 26 "android.frameworks.automotive.powerpolicy-V1-java", 27 "android.hardware.automotive.vehicle-V2.0-java", 28 "androidx.test.rules", 29 "compatibility-device-util-axt", 30 ], 31 32 libs: ["android.car"], 33} 34 35android_test_helper_app { 36 name: "CtsCarApp", 37 defaults: ["cts_app_defaults"], 38 enforce_uses_libs: false, 39 libs: ["android.car-test-stubs"], 40} 41 42android_test_helper_app { 43 name: "CtsCarWatchdogSharedApp", 44 defaults: ["cts_app_defaults"], 45 manifest: "AndroidManifestWithSharedUserId.xml", 46 enforce_uses_libs: false, 47} 48 49android_test_helper_app { 50 name: "CtsCarWatchdogSecondSharedApp", 51 defaults: ["cts_app_defaults"], 52 manifest: "AndroidManifestWithSharedUserId2.xml", 53 enforce_uses_libs: false, 54} 55