1/* 2 * Copyright (C) 2021 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package { 18 default_team: "trendy_team_aaos_framework", 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22cc_test { 23 name: "VehicleHalAidlHidlCompatibilityTest", 24 team: "trendy_team_aaos_carframework_triage", 25 srcs: ["AidlHidlCompatibilityTest.cpp"], 26 shared_libs: [ 27 "libbinder_ndk", 28 "libhidlbase", 29 ], 30 static_libs: [ 31 "VehicleHalUtils", 32 "android.hardware.automotive.vehicle@2.0", 33 "libgtest", 34 "libgmock", 35 ], 36 defaults: ["VehicleHalDefaults"], 37 test_suites: ["device-tests"], 38 vendor: true, 39} 40 41cc_test { 42 name: "VehiclePropertyAnnotationCppTest", 43 team: "trendy_team_aaos_carframework_triage", 44 srcs: ["VehiclePropertyAnnotationCppTest.cpp"], 45 header_libs: ["IVehicleGeneratedHeaders-V4"], 46 static_libs: [ 47 "VehicleHalUtils", 48 "libgtest", 49 "libgmock", 50 ], 51 defaults: ["VehicleHalInterfaceDefaults"], 52 test_suites: ["general-tests"], 53} 54 55android_test { 56 name: "VehiclePropertyAnnotationJavaTest", 57 team: "trendy_team_aaos_carframework_triage", 58 srcs: [ 59 "VehiclePropertyAnnotationJavaTest.java", 60 ":IVehicleGeneratedJavaFiles-V4", 61 ], 62 static_libs: [ 63 "android.hardware.automotive.vehicle-V4-java", 64 "android.hardware.automotive.vehicle.property-V4-java", 65 "androidx.test.runner", 66 "truth", 67 ], 68 test_suites: ["general-tests"], 69} 70