Tomasz Wasilczyk | 1b2c6ef | 2019-07-19 13:57:42 -0700 | [diff] [blame] | 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 | |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 24 | } |
| 25 | |
Tomasz Wasilczyk | 1b2c6ef | 2019-07-19 13:57:42 -0700 | [diff] [blame] | 26 | cc_binary { |
| 27 | name: "canhalctrl", |
| 28 | defaults: ["android.hardware.automotive.can@defaults"], |
| 29 | srcs: [ |
| 30 | "canhalctrl.cpp", |
| 31 | ], |
| 32 | shared_libs: [ |
| 33 | "android.hardware.automotive.can@1.0", |
| 34 | "libhidlbase", |
Tomasz Wasilczyk | 1b2c6ef | 2019-07-19 13:57:42 -0700 | [diff] [blame] | 35 | ], |
| 36 | header_libs: [ |
| 37 | "android.hardware.automotive.can@hidl-utils-lib", |
| 38 | ], |
chrisweir | 33ce750 | 2020-01-09 15:55:44 -0800 | [diff] [blame] | 39 | static_libs: [ |
| 40 | "android.hardware.automotive.can@libcanhaltools", |
| 41 | ], |
Tomasz Wasilczyk | 1b2c6ef | 2019-07-19 13:57:42 -0700 | [diff] [blame] | 42 | } |
| 43 | |
| 44 | cc_binary { |
| 45 | name: "canhaldump", |
| 46 | defaults: ["android.hardware.automotive.can@defaults"], |
| 47 | srcs: [ |
| 48 | "canhaldump.cpp", |
| 49 | ], |
| 50 | shared_libs: [ |
| 51 | "android.hardware.automotive.can@1.0", |
| 52 | "libhidlbase", |
Tomasz Wasilczyk | 1b2c6ef | 2019-07-19 13:57:42 -0700 | [diff] [blame] | 53 | ], |
| 54 | header_libs: [ |
| 55 | "android.hardware.automotive.can@hidl-utils-lib", |
| 56 | ], |
chrisweir | 33ce750 | 2020-01-09 15:55:44 -0800 | [diff] [blame] | 57 | static_libs: [ |
| 58 | "android.hardware.automotive.can@libcanhaltools", |
| 59 | ], |
Tomasz Wasilczyk | 1b2c6ef | 2019-07-19 13:57:42 -0700 | [diff] [blame] | 60 | } |
| 61 | |
| 62 | cc_binary { |
| 63 | name: "canhalsend", |
| 64 | defaults: ["android.hardware.automotive.can@defaults"], |
| 65 | srcs: [ |
| 66 | "canhalsend.cpp", |
| 67 | ], |
| 68 | shared_libs: [ |
| 69 | "android.hardware.automotive.can@1.0", |
| 70 | "libhidlbase", |
Tomasz Wasilczyk | 1b2c6ef | 2019-07-19 13:57:42 -0700 | [diff] [blame] | 71 | ], |
chrisweir | 33ce750 | 2020-01-09 15:55:44 -0800 | [diff] [blame] | 72 | static_libs: [ |
| 73 | "android.hardware.automotive.can@libcanhaltools", |
| 74 | ], |
Tomasz Wasilczyk | 1b2c6ef | 2019-07-19 13:57:42 -0700 | [diff] [blame] | 75 | } |