1// 2// Copyright (C) 2021 Google Inc. All Rights Reserved. 3// 4 5package { 6 // See: http://go/android-license-faq 7 // A large-scale-change added 'default_applicable_licenses' to import 8 // all of the 'license_kinds' from "device_generic_car_license" 9 // to get the below license kinds: 10 // SPDX-license-identifier-Apache-2.0 11 default_applicable_licenses: ["device_generic_car_license"], 12} 13 14cc_defaults { 15 name: "[email protected]", 16 cpp_std: "experimental", 17 cflags: [ 18 "-Wall", 19 "-Wextra", 20 "-Werror", 21 ], 22 shared_libs: [ 23 "libbase", 24 "libutils", 25 ], 26} 27 28cc_binary { 29 name: "[email protected]", 30 init_rc: ["[email protected]"], 31 defaults: [ 32 "[email protected]", 33 "device.generic.car.emulator-aidl-latest-ndk-defaults", 34 ], 35 vendor: true, 36 relative_install_path: "hw", 37 srcs: [ 38 "service.cpp", 39 "CanClient.cpp", 40 "CloseHandleWrapper.cpp", 41 "ExtraCanClient.cpp", 42 "VehicleBus.cpp", 43 ], 44 header_libs: [ 45 "android.hardware.automotive.can@hidl-utils-lib", 46 "VehicleHalUtilHeaders" 47 ], 48 include_dirs: ["frameworks/native/include"], 49 shared_libs: [ 50 "[email protected]", 51 "libbinder_ndk", 52 "libhidlbase", 53 "libcutils", 54 ], 55 whole_static_libs: [ 56 "libprotocan", 57 ], 58 static_libs: [ 59 "libmath", 60 ], 61 62 vintf_fragments: ["[email protected]"] 63} 64