blob: f517df801875a4a3571dce9b032a7c8aa6c082aa [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",
Yu Shan63e24d72022-06-24 17:53:32 +000024 srcs: ["AidlHidlCompatibilityTest.cpp"],
Yu Shane4923de2021-09-21 16:21:54 -070025 shared_libs: [
26 "libbinder_ndk",
27 "libhidlbase",
28 ],
29 static_libs: [
Yu Shan75d311d2022-02-09 12:01:43 -080030 "VehicleHalUtils",
Yu Shane4923de2021-09-21 16:21:54 -070031 "android.hardware.automotive.vehicle@2.0",
32 "libgtest",
33 "libgmock",
34 ],
35 defaults: ["VehicleHalDefaults"],
Yu Shaneb766522021-09-27 15:15:46 -070036 test_suites: ["device-tests"],
Yu Shane4923de2021-09-21 16:21:54 -070037 vendor: true,
38}
Yu Shan63e24d72022-06-24 17:53:32 +000039
40cc_test {
41 name: "VehiclePropertyAnnotationCppTest",
42 srcs: ["VehiclePropertyAnnotationCppTest.cpp"],
Yu Shan14404f22024-06-11 00:11:22 +000043 header_libs: ["IVehicleGeneratedHeaders-V3"],
Yu Shan63e24d72022-06-24 17:53:32 +000044 defaults: ["VehicleHalInterfaceDefaults"],
45 test_suites: ["general-tests"],
46}
47
48android_test {
49 name: "VehiclePropertyAnnotationJavaTest",
50 srcs: [
51 "VehiclePropertyAnnotationJavaTest.java",
Yu Shan72594ce2024-04-26 14:49:04 -070052 ":IVehicleGeneratedJavaFiles-V3",
Yu Shan63e24d72022-06-24 17:53:32 +000053 ],
54 static_libs: [
shrikar1e8a0ef2023-09-27 20:00:07 +000055 "android.hardware.automotive.vehicle-V3-java",
Eva Chenb36d24d2023-08-10 16:34:50 -070056 "android.hardware.automotive.vehicle.property-V3-java",
Yu Shan63e24d72022-06-24 17:53:32 +000057 "androidx.test.runner",
Krzysztof KosiƄski13de1b62023-10-07 00:48:10 +000058 "truth",
Yu Shan63e24d72022-06-24 17:53:32 +000059 ],
60 test_suites: ["general-tests"],
61}