blob: d55dc336fc3ff246971022845c1371f9c0e3084e [file] [log] [blame]
Yu Shan726d51a2022-02-22 17:37:21 -08001/*
2 * Copyright (C) 2022 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
Bob Badour852a5302022-03-24 11:42:38 -070017package {
Yihan Dong4101bdb2024-10-12 09:04:09 +000018 default_team: "trendy_team_aaos_framework",
Bob Badour852a5302022-03-24 11:42:38 -070019 // See: http://go/android-license-faq
20 // A large-scale-change added 'default_applicable_licenses' to import
21 // all of the 'license_kinds' from "hardware_interfaces_license"
22 // to get the below license kinds:
23 // SPDX-license-identifier-Apache-2.0
24 default_applicable_licenses: ["hardware_interfaces_license"],
25}
26
Yu Shan726d51a2022-02-22 17:37:21 -080027cc_test {
28 name: "VtsHalAutomotiveVehicle_TargetTest",
29 srcs: [
30 "src/*.cpp",
31 ],
32 static_libs: [
33 "libgtest",
Yu Shanf3698fd2023-12-18 12:29:00 -080034 "libgmock",
Yu Shan726d51a2022-02-22 17:37:21 -080035 "libvhalclient",
36 ],
37 shared_libs: [
38 "libhidlbase",
39 "libvndksupport",
40 ],
41 defaults: [
42 "VtsHalTargetTestDefaults",
43 "use_libaidlvintf_gtest_helper_static",
44 "vhalclient_defaults",
45 ],
Yu Shanf3698fd2023-12-18 12:29:00 -080046 header_libs: [
Yu Shan6f2d0502024-04-26 12:26:22 -070047 "IVehicleGeneratedHeaders-V4",
Yu Shanf3698fd2023-12-18 12:29:00 -080048 ],
Yu Shan726d51a2022-02-22 17:37:21 -080049 test_suites: [
50 "general-tests",
51 "vts",
Filip943b5502022-06-22 05:04:34 +000052 "automotive-tests",
Filip96617432022-09-15 06:00:24 +000053 "automotive-general-tests",
Yu Shan726d51a2022-02-22 17:37:21 -080054 ],
55 require_root: true,
56}