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_library {
23    name: "VehicleEmulator",
24    vendor: true,
25    cflags: ["-DENABLE_VENDOR_CLUSTER_PROPERTY_FOR_TESTING"],
26    srcs: ["*.cpp"],
27    static_libs: [
28        "VehicleHalUtils",
29        "EmulatorCommConn",
30        "EmulatorPipeComm",
31        "EmulatorSocketComm",
32        "FakeVehicleHardware",
33        "VehicleHalProtos",
34        "android.hardware.automotive.vehicle@2.0-libproto-native",
35    ],
36    shared_libs: [
37        "libbase",
38        "liblog",
39        "libutils",
40        "libprotobuf-cpp-lite",
41        "libbinder_ndk",
42        "device.generic.car.emulator-aidl-V1-ndk",
43    ],
44    local_include_dirs: ["include"],
45    export_include_dirs: ["include"],
46    defaults: [
47        "VehicleHalDefaults",
48        "FakeVehicleHardwareDefaults",
49    ],
50}
51