1// 2// Copyright (C) 2024 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 16cc_binary_host { 17 name: "vhal_proxy_server", 18 defaults: [ 19 "cuttlefish_host", 20 "FakeVehicleHardwareDefaults", 21 "VehicleHalDefaults", 22 ], 23 srcs: [ 24 "VhalProxyServer.cpp", 25 ], 26 required: [ 27 "Host_Prebuilt_VehicleHalDefaultProperties_JSON", 28 "Host_Prebuilt_VehicleHalTestProperties_JSON", 29 "Host_Prebuilt_VehicleHalVendorClusterTestProperties_JSON", 30 ], 31 static_libs: [ 32 "android.hardware.automotive.vehicle@default-grpc-server-lib", 33 "FakeVehicleHardware", 34 ], 35 shared_libs: [ 36 "libbase", 37 "libcutils", 38 "libgrpc++", 39 "liblog", 40 "libprotobuf-cpp-full", 41 ], 42 cflags: [ 43 "-Wno-unused-parameter", 44 ], 45} 46 47cc_library_headers { 48 name: "vhal_vsockinfo", 49 host_supported: true, 50 export_include_dirs: ["."], 51 vendor_available: true, 52} 53