summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Maltsev2017-02-08 14:33:46 -0600
committerPavel Maltsev2017-02-14 18:07:11 -0600
commitc5344ac04c430486633521098fdb63887546a32a (patch)
treef044befcf8f70e74f519331a6d1ecf78ecaf3b09 /automotive/vehicle/2.1/Android.bp
parentf008f8fdc436b9638001c0f7100999c7cbc25268 (diff)
downloadplatform-hardware-interfaces-c5344ac04c430486633521098fdb63887546a32a.tar.gz
platform-hardware-interfaces-c5344ac04c430486633521098fdb63887546a32a.tar.xz
platform-hardware-interfaces-c5344ac04c430486633521098fdb63887546a32a.zip
Initial submit of Vehicle HAL 2.1
Major changes / decisions: - created empty IVehicle@2.1 interface to distinguish HAL impls from client's (Car Service) perspective; - created default 2.1 implementation that currently delegates all calls to existing 2.0 implementation - had to refactor a little bit 2.0 thus components could be esily imported in 2.1 TOOD: - move OBD and VMS code to 2.1 - decouple "DefaultVehicleHal.cpp" - rename "DefaultVehicleHal" to Emulator (let's call things by their names) b/34716856 Test: todo Change-Id: Ib23650ca1277f0dfb24e5c789d65a19dce8b1abc
Diffstat (limited to 'automotive/vehicle/2.1/Android.bp')
-rw-r--r--automotive/vehicle/2.1/Android.bp64
1 files changed, 64 insertions, 0 deletions
diff --git a/automotive/vehicle/2.1/Android.bp b/automotive/vehicle/2.1/Android.bp
new file mode 100644
index 00000000..12bb4edb
--- /dev/null
+++ b/automotive/vehicle/2.1/Android.bp
@@ -0,0 +1,64 @@
1// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.automotive.vehicle@2.1_hal",
5 srcs: [
6 "types.hal",
7 "IVehicle.hal",
8 ],
9}
10
11genrule {
12 name: "android.hardware.automotive.vehicle@2.1_genc++",
13 tools: ["hidl-gen"],
14 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.1",
15 srcs: [
16 "types.hal",
17 "IVehicle.hal",
18 ],
19 out: [
20 "android/hardware/automotive/vehicle/2.1/types.cpp",
21 "android/hardware/automotive/vehicle/2.1/VehicleAll.cpp",
22 ],
23}
24
25genrule {
26 name: "android.hardware.automotive.vehicle@2.1_genc++_headers",
27 tools: ["hidl-gen"],
28 cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.vehicle@2.1",
29 srcs: [
30 "types.hal",
31 "IVehicle.hal",
32 ],
33 out: [
34 "android/hardware/automotive/vehicle/2.1/types.h",
35 "android/hardware/automotive/vehicle/2.1/IVehicle.h",
36 "android/hardware/automotive/vehicle/2.1/IHwVehicle.h",
37 "android/hardware/automotive/vehicle/2.1/BnHwVehicle.h",
38 "android/hardware/automotive/vehicle/2.1/BpHwVehicle.h",
39 "android/hardware/automotive/vehicle/2.1/BsVehicle.h",
40 ],
41}
42
43cc_library_shared {
44 name: "android.hardware.automotive.vehicle@2.1",
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 shared_libs: [
49 "libhidlbase",
50 "libhidltransport",
51 "libhwbinder",
52 "liblog",
53 "libutils",
54 "libcutils",
55 "android.hardware.automotive.vehicle@2.0",
56 ],
57 export_shared_lib_headers: [
58 "libhidlbase",
59 "libhidltransport",
60 "libhwbinder",
61 "libutils",
62 "android.hardware.automotive.vehicle@2.0",
63 ],
64}