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 19filegroup { 20 name: "android.hardware.automotive.vehicle@V3-cf-service.xml", 21 srcs: ["android.hardware.automotive.vehicle@V3-cf-service.xml"], 22} 23 24cc_binary { 25 name: "android.hardware.automotive.vehicle@V3-cf-service", 26 defaults: ["VehicleHalDefaults"], 27 init_rc: ["android.hardware.automotive.vehicle@V3-cf-service.rc"], 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 "android.hardware.automotive.vehicle@default-grpc-hardware-lib", 39 "DefaultVehicleHal", 40 "VehicleHalUtils", 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_fragments: ["android.hardware.automotive.vehicle@V3-cf-service.xml"], 53} 54