• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17package {
18    default_team: "trendy_team_aaos_framework",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22cc_test {
23    name: "VehicleHalDefaultConfigTest-V3",
24    team: "trendy_team_aaos_carframework_triage",
25    vendor: true,
26    defaults: ["VehicleHalDefaults-V3"],
27    srcs: ["*.cpp"],
28    static_libs: [
29        "VehicleHalJsonConfigLoader-V3",
30        "VehicleHalUtils-V3",
31        "libgmock",
32        "libgtest",
33        "libjsoncpp",
34    ],
35    header_libs: [
36        "IVehicleGeneratedHeaders-V3-default",
37    ],
38    data: [
39        ":VehicleHalDefaultProperties_JSON-V3",
40    ],
41    test_suites: ["device-tests"],
42}
43
44cc_test {
45    name: "VehicleHalDefaultConfigTestEnableTestProperties-V3",
46    team: "trendy_team_aaos_carframework_triage",
47    vendor: true,
48    defaults: ["VehicleHalDefaults-V3"],
49    srcs: ["*.cpp"],
50    static_libs: [
51        "VehicleHalJsonConfigLoaderEnableTestProperties-V3",
52        "VehicleHalUtils-V3",
53        "libgmock",
54        "libgtest",
55        "libjsoncpp",
56    ],
57    cflags: [
58        "-DENABLE_VEHICLE_HAL_TEST_PROPERTIES",
59    ],
60    header_libs: [
61        "IVehicleGeneratedHeaders-V3-default",
62    ],
63    data: [
64        ":VehicleHalDefaultProperties_JSON-V3",
65        ":VehicleHalTestProperties_JSON-V3",
66        ":VehicleHalVendorClusterTestProperties_JSON-V3",
67    ],
68    test_suites: ["device-tests"],
69}
70