• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
17package {
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
26cc_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",
35    ],
36    header_libs: [
37        "android.hardware.automotive.can@hidl-utils-lib",
38    ],
39    static_libs: [
40        "android.hardware.automotive.can@libcanhaltools",
41    ],
42}
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",
53    ],
54    header_libs: [
55        "android.hardware.automotive.can@hidl-utils-lib",
56    ],
57    static_libs: [
58        "android.hardware.automotive.can@libcanhaltools",
59    ],
60}
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",
71    ],
72    static_libs: [
73        "android.hardware.automotive.can@libcanhaltools",
74    ],
75}
76