1// Copyright (C) 2024 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//       http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19vintf_fragment {
20    name: "[email protected]",
21    src: "[email protected]",
22    vendor: true,
23}
24
25cc_binary {
26    name: "android.hardware.automotive.vehicle@V3-cf-service",
27    defaults: ["VehicleHalDefaults"],
28    vendor: true,
29    relative_install_path: "hw",
30    srcs: [
31        "VehicleService.cpp",
32    ],
33    header_libs: [
34        "IVehicleHardware",
35        "vhal_vsockinfo",
36    ],
37    static_libs: [
38        "DefaultVehicleHal",
39        "VehicleHalUtils",
40        "android.hardware.automotive.vehicle@default-grpc-hardware-lib",
41    ],
42    shared_libs: [
43        "libbase",
44        "libcutils",
45        "libgrpc++",
46        "liblog",
47        "libprotobuf-cpp-full",
48    ],
49    cflags: [
50        "-Wno-unused-parameter",
51    ],
52    vintf_fragment_modules: ["[email protected]"],
53}
54