OSDN Git Service

Merge "Camera: fix release fence FD leaks" into oc-dev
[android-x86/hardware-interfaces.git] / automotive / vehicle / 2.1 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
2
3 filegroup {
4     name: "android.hardware.automotive.vehicle@2.1_hal",
5     srcs: [
6         "types.hal",
7         "IVehicle.hal",
8     ],
9 }
10
11 genrule {
12     name: "android.hardware.automotive.vehicle@2.1_genc++",
13     tools: ["hidl-gen"],
14     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.1",
15     srcs: [
16         ":android.hardware.automotive.vehicle@2.1_hal",
17     ],
18     out: [
19         "android/hardware/automotive/vehicle/2.1/types.cpp",
20         "android/hardware/automotive/vehicle/2.1/VehicleAll.cpp",
21     ],
22 }
23
24 genrule {
25     name: "android.hardware.automotive.vehicle@2.1_genc++_headers",
26     tools: ["hidl-gen"],
27     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.1",
28     srcs: [
29         ":android.hardware.automotive.vehicle@2.1_hal",
30     ],
31     out: [
32         "android/hardware/automotive/vehicle/2.1/types.h",
33         "android/hardware/automotive/vehicle/2.1/hwtypes.h",
34         "android/hardware/automotive/vehicle/2.1/IVehicle.h",
35         "android/hardware/automotive/vehicle/2.1/IHwVehicle.h",
36         "android/hardware/automotive/vehicle/2.1/BnHwVehicle.h",
37         "android/hardware/automotive/vehicle/2.1/BpHwVehicle.h",
38         "android/hardware/automotive/vehicle/2.1/BsVehicle.h",
39     ],
40 }
41
42 cc_library_shared {
43     name: "android.hardware.automotive.vehicle@2.1",
44     defaults: ["hidl-module-defaults"],
45     generated_sources: ["android.hardware.automotive.vehicle@2.1_genc++"],
46     generated_headers: ["android.hardware.automotive.vehicle@2.1_genc++_headers"],
47     export_generated_headers: ["android.hardware.automotive.vehicle@2.1_genc++_headers"],
48     vendor_available: true,
49     shared_libs: [
50         "libhidlbase",
51         "libhidltransport",
52         "libhwbinder",
53         "liblog",
54         "libutils",
55         "libcutils",
56         "android.hardware.automotive.vehicle@2.0",
57     ],
58     export_shared_lib_headers: [
59         "libhidlbase",
60         "libhidltransport",
61         "libhwbinder",
62         "libutils",
63         "android.hardware.automotive.vehicle@2.0",
64     ],
65 }