1// 2// Copyright (C) 2019 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 17cc_binary { 18 name: "canhalctrl", 19 defaults: ["android.hardware.automotive.can@defaults"], 20 srcs: [ 21 "canhalctrl.cpp", 22 ], 23 shared_libs: [ 24 "android.hardware.automotive.can@1.0", 25 "libhidlbase", 26 ], 27 header_libs: [ 28 "android.hardware.automotive.can@hidl-utils-lib", 29 ], 30 static_libs: [ 31 "android.hardware.automotive.can@libcanhaltools", 32 ], 33} 34 35cc_binary { 36 name: "canhaldump", 37 defaults: ["android.hardware.automotive.can@defaults"], 38 srcs: [ 39 "canhaldump.cpp", 40 ], 41 shared_libs: [ 42 "android.hardware.automotive.can@1.0", 43 "libhidlbase", 44 ], 45 header_libs: [ 46 "android.hardware.automotive.can@hidl-utils-lib", 47 ], 48 static_libs: [ 49 "android.hardware.automotive.can@libcanhaltools", 50 ], 51} 52 53cc_binary { 54 name: "canhalsend", 55 defaults: ["android.hardware.automotive.can@defaults"], 56 srcs: [ 57 "canhalsend.cpp", 58 ], 59 shared_libs: [ 60 "android.hardware.automotive.can@1.0", 61 "libhidlbase", 62 ], 63 static_libs: [ 64 "android.hardware.automotive.can@libcanhaltools", 65 ], 66} 67