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 "device.generic.car.emulator-aidl-latest-ndk-defaults", 30 ], 31 vintf_fragments: ["vhal-emulator-service.xml"], 32 init_rc: ["vhal-emulator-service.rc"], 33 relative_install_path: "hw", 34 cflags: ["-DENABLE_VENDOR_CLUSTER_PROPERTY_FOR_TESTING"], 35 srcs: ["EmulatedVehicleService.cpp"], 36 static_libs: [ 37 "DefaultVehicleHal", 38 "VehicleEmulator", 39 "VehicleHalUtils", 40 "EmulatorCommConn", 41 "EmulatorPipeComm", 42 "EmulatorSocketComm", 43 "FakeVehicleHardware", 44 "VehicleHalProtos", 45 "[email protected]", 46 "android-automotive-large-parcelable-lib", 47 ], 48 header_libs: [ 49 "IVehicleHardware", 50 ], 51 shared_libs: [ 52 "libbase", 53 "liblog", 54 "libutils", 55 "libprotobuf-cpp-lite", 56 "libbinder_ndk", 57 ], 58} 59