Yu Shan | e4923de | 2021-09-21 16:21:54 -0700 | [diff] [blame] | 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 | |
| 17 | package { |
Aditya Choudhary | 04ef212 | 2024-02-02 14:00:43 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_aaos_framework", |
Yu Shan | e4923de | 2021-09-21 16:21:54 -0700 | [diff] [blame] | 19 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 20 | } |
| 21 | |
| 22 | cc_test { |
| 23 | name: "VehicleHalAidlHidlCompatibilityTest", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 24 | srcs: ["AidlHidlCompatibilityTest.cpp"], |
Yu Shan | e4923de | 2021-09-21 16:21:54 -0700 | [diff] [blame] | 25 | shared_libs: [ |
| 26 | "libbinder_ndk", |
| 27 | "libhidlbase", |
| 28 | ], |
| 29 | static_libs: [ |
Yu Shan | 75d311d | 2022-02-09 12:01:43 -0800 | [diff] [blame] | 30 | "VehicleHalUtils", |
Yu Shan | e4923de | 2021-09-21 16:21:54 -0700 | [diff] [blame] | 31 | "android.hardware.automotive.vehicle@2.0", |
| 32 | "libgtest", |
| 33 | "libgmock", |
| 34 | ], |
| 35 | defaults: ["VehicleHalDefaults"], |
Yu Shan | eb76652 | 2021-09-27 15:15:46 -0700 | [diff] [blame] | 36 | test_suites: ["device-tests"], |
Yu Shan | e4923de | 2021-09-21 16:21:54 -0700 | [diff] [blame] | 37 | vendor: true, |
| 38 | } |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 39 | |
| 40 | cc_test { |
| 41 | name: "VehiclePropertyAnnotationCppTest", |
| 42 | srcs: ["VehiclePropertyAnnotationCppTest.cpp"], |
Yu Shan | 14404f2 | 2024-06-11 00:11:22 +0000 | [diff] [blame] | 43 | header_libs: ["IVehicleGeneratedHeaders-V3"], |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 44 | defaults: ["VehicleHalInterfaceDefaults"], |
| 45 | test_suites: ["general-tests"], |
| 46 | } |
| 47 | |
| 48 | android_test { |
| 49 | name: "VehiclePropertyAnnotationJavaTest", |
| 50 | srcs: [ |
| 51 | "VehiclePropertyAnnotationJavaTest.java", |
Yu Shan | 72594ce | 2024-04-26 14:49:04 -0700 | [diff] [blame] | 52 | ":IVehicleGeneratedJavaFiles-V3", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 53 | ], |
| 54 | static_libs: [ |
shrikar | 1e8a0ef | 2023-09-27 20:00:07 +0000 | [diff] [blame] | 55 | "android.hardware.automotive.vehicle-V3-java", |
Eva Chen | b36d24d | 2023-08-10 16:34:50 -0700 | [diff] [blame] | 56 | "android.hardware.automotive.vehicle.property-V3-java", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 57 | "androidx.test.runner", |
Krzysztof KosiĆski | 13de1b6 | 2023-10-07 00:48:10 +0000 | [diff] [blame] | 58 | "truth", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 59 | ], |
| 60 | test_suites: ["general-tests"], |
| 61 | } |