1/*
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
17package {
18    default_team: "trendy_team_aaos_framework",
19    default_applicable_licenses: ["device_generic_car_license"],
20}
21
22cc_test {
23    name: "VehicleEmulatorTest",
24    vendor: true,
25    cflags: ["-DENABLE_VENDOR_CLUSTER_PROPERTY_FOR_TESTING"],
26    srcs: ["*.cpp"],
27    static_libs: [
28        "libgtest",
29        "libgmock",
30        "VehicleEmulator",
31        "VehicleHalUtils",
32        "EmulatorCommConn",
33        "FakeVehicleHardware",
34        "VehicleHalProtos",
35        "android.hardware.automotive.vehicle@2.0-libproto-native",
36    ],
37    shared_libs: [
38        "libbase",
39        "liblog",
40        "libutils",
41        "libprotobuf-cpp-lite",
42        "libbinder_ndk",
43        "device.generic.car.emulator-aidl-V1-ndk",
44    ],
45    defaults: [
46        "VehicleHalDefaults",
47        "FakeVehicleHardwareDefaults",
48    ],
49}
50