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", |
Eric Jeong | 0fcaf8c | 2025-01-10 11:35:51 -0800 | [diff] [blame] | 24 | team: "trendy_team_aaos_carframework_triage", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 25 | srcs: ["AidlHidlCompatibilityTest.cpp"], |
Yu Shan | e4923de | 2021-09-21 16:21:54 -0700 | [diff] [blame] | 26 | shared_libs: [ |
| 27 | "libbinder_ndk", |
| 28 | "libhidlbase", |
| 29 | ], |
| 30 | static_libs: [ |
Yu Shan | 75d311d | 2022-02-09 12:01:43 -0800 | [diff] [blame] | 31 | "VehicleHalUtils", |
Yu Shan | e4923de | 2021-09-21 16:21:54 -0700 | [diff] [blame] | 32 | "android.hardware.automotive.vehicle@2.0", |
| 33 | "libgtest", |
| 34 | "libgmock", |
| 35 | ], |
| 36 | defaults: ["VehicleHalDefaults"], |
Yu Shan | eb76652 | 2021-09-27 15:15:46 -0700 | [diff] [blame] | 37 | test_suites: ["device-tests"], |
Yu Shan | e4923de | 2021-09-21 16:21:54 -0700 | [diff] [blame] | 38 | vendor: true, |
| 39 | } |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 40 | |
| 41 | cc_test { |
| 42 | name: "VehiclePropertyAnnotationCppTest", |
Eric Jeong | 0fcaf8c | 2025-01-10 11:35:51 -0800 | [diff] [blame] | 43 | team: "trendy_team_aaos_carframework_triage", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 44 | srcs: ["VehiclePropertyAnnotationCppTest.cpp"], |
Yu Shan | 6f2d050 | 2024-04-26 12:26:22 -0700 | [diff] [blame] | 45 | header_libs: ["IVehicleGeneratedHeaders-V4"], |
Yu Shan | 9df1215 | 2025-01-14 14:16:40 -0800 | [diff] [blame^] | 46 | static_libs: [ |
| 47 | "libgtest", |
| 48 | "libgmock", |
| 49 | ], |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 50 | defaults: ["VehicleHalInterfaceDefaults"], |
| 51 | test_suites: ["general-tests"], |
| 52 | } |
| 53 | |
| 54 | android_test { |
| 55 | name: "VehiclePropertyAnnotationJavaTest", |
Eric Jeong | 0fcaf8c | 2025-01-10 11:35:51 -0800 | [diff] [blame] | 56 | team: "trendy_team_aaos_carframework_triage", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 57 | srcs: [ |
| 58 | "VehiclePropertyAnnotationJavaTest.java", |
Yu Shan | 6f2d050 | 2024-04-26 12:26:22 -0700 | [diff] [blame] | 59 | ":IVehicleGeneratedJavaFiles-V4", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 60 | ], |
| 61 | static_libs: [ |
shrikar | 00283f8 | 2024-11-12 19:04:25 +0000 | [diff] [blame] | 62 | "android.hardware.automotive.vehicle-V4-java", |
Yu Shan | 6f2d050 | 2024-04-26 12:26:22 -0700 | [diff] [blame] | 63 | "android.hardware.automotive.vehicle.property-V4-java", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 64 | "androidx.test.runner", |
Krzysztof KosiĆski | 13de1b6 | 2023-10-07 00:48:10 +0000 | [diff] [blame] | 65 | "truth", |
Yu Shan | 63e24d7 | 2022-06-24 17:53:32 +0000 | [diff] [blame] | 66 | ], |
| 67 | test_suites: ["general-tests"], |
| 68 | } |