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: ["Android-Apache-2.0"], 20} 21 22cc_binary { 23 name: "android.hardware.automotive.vehicle@V3-emulator-service", 24 vendor: true, 25 defaults: [ 26 "FakeVehicleHardwareDefaults", 27 "VehicleHalDefaults", 28 "android-automotive-large-parcelable-defaults", 29 ], 30 vintf_fragments: ["vhal-emulator-service.xml"], 31 init_rc: ["vhal-emulator-service.rc"], 32 relative_install_path: "hw", 33 cflags: ["-DENABLE_VENDOR_CLUSTER_PROPERTY_FOR_TESTING"], 34 srcs: ["EmulatedVehicleService.cpp"], 35 static_libs: [ 36 "DefaultVehicleHal", 37 "VehicleEmulator", 38 "VehicleHalUtils", 39 "EmulatorCommConn", 40 "EmulatorPipeComm", 41 "EmulatorSocketComm", 42 "FakeVehicleHardware", 43 "VehicleHalProtos", 44 "android.hardware.automotive.vehicle@2.0-libproto-native", 45 "android-automotive-large-parcelable-lib", 46 ], 47 header_libs: [ 48 "IVehicleHardware", 49 ], 50 shared_libs: [ 51 "libbase", 52 "liblog", 53 "libutils", 54 "libprotobuf-cpp-lite", 55 "libbinder_ndk", 56 "device.generic.car.emulator-aidl-V1-ndk", 57 ], 58} 59