blob: a87af0239720ae8d1c8414beb6bfdd001405fb6c [file] [log] [blame]
Yu Shane4923de2021-09-21 16:21:54 -07001/*
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 {
Aditya Choudhary04ef2122024-02-02 14:00:43 +000018 default_team: "trendy_team_aaos_framework",
Yu Shane4923de2021-09-21 16:21:54 -070019 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22cc_test {
23 name: "VehicleHalAidlHidlCompatibilityTest",
Eric Jeong0fcaf8c2025-01-10 11:35:51 -080024 team: "trendy_team_aaos_carframework_triage",
Yu Shan63e24d72022-06-24 17:53:32 +000025 srcs: ["AidlHidlCompatibilityTest.cpp"],
Yu Shane4923de2021-09-21 16:21:54 -070026 shared_libs: [
27 "libbinder_ndk",
28 "libhidlbase",
29 ],
30 static_libs: [
Yu Shan75d311d2022-02-09 12:01:43 -080031 "VehicleHalUtils",
Yu Shane4923de2021-09-21 16:21:54 -070032 "android.hardware.automotive.vehicle@2.0",
33 "libgtest",
34 "libgmock",
35 ],
36 defaults: ["VehicleHalDefaults"],
Yu Shaneb766522021-09-27 15:15:46 -070037 test_suites: ["device-tests"],
Yu Shane4923de2021-09-21 16:21:54 -070038 vendor: true,
39}
Yu Shan63e24d72022-06-24 17:53:32 +000040
41cc_test {
42 name: "VehiclePropertyAnnotationCppTest",
Eric Jeong0fcaf8c2025-01-10 11:35:51 -080043 team: "trendy_team_aaos_carframework_triage",
Yu Shan63e24d72022-06-24 17:53:32 +000044 srcs: ["VehiclePropertyAnnotationCppTest.cpp"],
Yu Shan6f2d0502024-04-26 12:26:22 -070045 header_libs: ["IVehicleGeneratedHeaders-V4"],
Yu Shan63e24d72022-06-24 17:53:32 +000046 defaults: ["VehicleHalInterfaceDefaults"],
47 test_suites: ["general-tests"],
48}
49
50android_test {
51 name: "VehiclePropertyAnnotationJavaTest",
Eric Jeong0fcaf8c2025-01-10 11:35:51 -080052 team: "trendy_team_aaos_carframework_triage",
Yu Shan63e24d72022-06-24 17:53:32 +000053 srcs: [
54 "VehiclePropertyAnnotationJavaTest.java",
Yu Shan6f2d0502024-04-26 12:26:22 -070055 ":IVehicleGeneratedJavaFiles-V4",
Yu Shan63e24d72022-06-24 17:53:32 +000056 ],
57 static_libs: [
shrikar00283f82024-11-12 19:04:25 +000058 "android.hardware.automotive.vehicle-V4-java",
Yu Shan6f2d0502024-04-26 12:26:22 -070059 "android.hardware.automotive.vehicle.property-V4-java",
Yu Shan63e24d72022-06-24 17:53:32 +000060 "androidx.test.runner",
Krzysztof KosiƄski13de1b62023-10-07 00:48:10 +000061 "truth",
Yu Shan63e24d72022-06-24 17:53:32 +000062 ],
63 test_suites: ["general-tests"],
64}