blob: a0807aa1903e0fe2f0be2773bd49fb02cb07bb09 [file] [log] [blame]
Tomasz Wasilczyk1b2c6ef2019-07-19 13:57:42 -07001//
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 Badourc22b35b2021-02-23 14:26:20 -080017package {
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 Wasilczyk1b2c6ef2019-07-19 13:57:42 -070026cc_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 Wasilczyk1b2c6ef2019-07-19 13:57:42 -070035 ],
36 header_libs: [
37 "android.hardware.automotive.can@hidl-utils-lib",
38 ],
chrisweir33ce7502020-01-09 15:55:44 -080039 static_libs: [
40 "android.hardware.automotive.can@libcanhaltools",
41 ],
Tomasz Wasilczyk1b2c6ef2019-07-19 13:57:42 -070042}
43
44cc_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 Wasilczyk1b2c6ef2019-07-19 13:57:42 -070053 ],
54 header_libs: [
55 "android.hardware.automotive.can@hidl-utils-lib",
56 ],
chrisweir33ce7502020-01-09 15:55:44 -080057 static_libs: [
58 "android.hardware.automotive.can@libcanhaltools",
59 ],
Tomasz Wasilczyk1b2c6ef2019-07-19 13:57:42 -070060}
61
62cc_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 Wasilczyk1b2c6ef2019-07-19 13:57:42 -070071 ],
chrisweir33ce7502020-01-09 15:55:44 -080072 static_libs: [
73 "android.hardware.automotive.can@libcanhaltools",
74 ],
Tomasz Wasilczyk1b2c6ef2019-07-19 13:57:42 -070075}