1// This file was auto-generated. Do not edit manually.
2// Use test/vts-testcase/hal/update_makefiles.py to generate this file.
3
4// Generate .vts spec files.
5hal2vts {
6    name: "android.hardware.automotive.evs@1.0-vts.spec",
7    srcs: [
8        ":android.hardware.automotive.evs@1.0_hal",
9    ],
10    out: [
11        "android/hardware/automotive/evs/1.0/EvsCamera.vts",
12        "android/hardware/automotive/evs/1.0/EvsCameraStream.vts",
13        "android/hardware/automotive/evs/1.0/EvsDisplay.vts",
14        "android/hardware/automotive/evs/1.0/EvsEnumerator.vts",
15        "android/hardware/automotive/evs/1.0/types.vts",
16    ],
17}
18
19// Build VTS driver.
20genrule {
21    name: "android.hardware.automotive.evs@1.0-vts.driver_genc++",
22    tools: ["hidl-gen", "vtsc"],
23    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/automotive/evs/1.0/ $(genDir)/android/hardware/automotive/evs/1.0/",
24    srcs: [
25        ":android.hardware.automotive.evs@1.0_hal",
26    ],
27    out: [
28        "android/hardware/automotive/evs/1.0/EvsCamera.vts.cpp",
29        "android/hardware/automotive/evs/1.0/EvsCameraStream.vts.cpp",
30        "android/hardware/automotive/evs/1.0/EvsDisplay.vts.cpp",
31        "android/hardware/automotive/evs/1.0/EvsEnumerator.vts.cpp",
32        "android/hardware/automotive/evs/1.0/types.vts.cpp",
33    ],
34}
35
36genrule {
37    name: "android.hardware.automotive.evs@1.0-vts.driver_genc++_headers",
38    tools: ["hidl-gen", "vtsc"],
39    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/automotive/evs/1.0/ $(genDir)/android/hardware/automotive/evs/1.0/",
40    srcs: [
41        ":android.hardware.automotive.evs@1.0_hal",
42    ],
43    out: [
44        "android/hardware/automotive/evs/1.0/EvsCamera.vts.h",
45        "android/hardware/automotive/evs/1.0/EvsCameraStream.vts.h",
46        "android/hardware/automotive/evs/1.0/EvsDisplay.vts.h",
47        "android/hardware/automotive/evs/1.0/EvsEnumerator.vts.h",
48        "android/hardware/automotive/evs/1.0/types.vts.h",
49    ],
50}
51
52cc_library_shared {
53    name: "android.hardware.automotive.evs@1.0-vts.driver",
54    generated_sources: ["android.hardware.automotive.evs@1.0-vts.driver_genc++"],
55    generated_headers: ["android.hardware.automotive.evs@1.0-vts.driver_genc++_headers"],
56    export_generated_headers: ["android.hardware.automotive.evs@1.0-vts.driver_genc++_headers"],
57    shared_libs: [
58        "libhidlbase",
59        "libhidltransport",
60        "libhwbinder",
61        "liblog",
62        "libutils",
63        "libcutils",
64        "libvts_common",
65        "libvts_datatype",
66        "libvts_drivercomm",
67        "libvts_measurement",
68        "libvts_multidevice_proto",
69        "libcamera_metadata",
70        "libprotobuf-cpp-full",
71        "android.hardware.automotive.evs@1.0",
72        "android.hidl.base@1.0",
73    ],
74    export_shared_lib_headers: [
75        "android.hidl.base@1.0",
76    ],
77}
78
79// Build VTS profiler.
80genrule {
81    name: "android.hardware.automotive.evs@1.0-vts.profiler_genc++",
82    tools: ["hidl-gen", "vtsc"],
83    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/automotive/evs/1.0/ $(genDir)/android/hardware/automotive/evs/1.0/",
84    srcs: [
85        ":android.hardware.automotive.evs@1.0_hal",
86    ],
87    out: [
88        "android/hardware/automotive/evs/1.0/EvsCamera.vts.cpp",
89        "android/hardware/automotive/evs/1.0/EvsCameraStream.vts.cpp",
90        "android/hardware/automotive/evs/1.0/EvsDisplay.vts.cpp",
91        "android/hardware/automotive/evs/1.0/EvsEnumerator.vts.cpp",
92        "android/hardware/automotive/evs/1.0/types.vts.cpp",
93    ],
94}
95
96genrule {
97    name: "android.hardware.automotive.evs@1.0-vts.profiler_genc++_headers",
98    tools: ["hidl-gen", "vtsc"],
99    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.automotive.evs@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/automotive/evs/1.0/ $(genDir)/android/hardware/automotive/evs/1.0/",
100    srcs: [
101        ":android.hardware.automotive.evs@1.0_hal",
102    ],
103    out: [
104        "android/hardware/automotive/evs/1.0/EvsCamera.vts.h",
105        "android/hardware/automotive/evs/1.0/EvsCameraStream.vts.h",
106        "android/hardware/automotive/evs/1.0/EvsDisplay.vts.h",
107        "android/hardware/automotive/evs/1.0/EvsEnumerator.vts.h",
108        "android/hardware/automotive/evs/1.0/types.vts.h",
109    ],
110}
111
112cc_library_shared {
113    name: "android.hardware.automotive.evs@1.0-vts.profiler",
114    generated_sources: ["android.hardware.automotive.evs@1.0-vts.profiler_genc++"],
115    generated_headers: ["android.hardware.automotive.evs@1.0-vts.profiler_genc++_headers"],
116    export_generated_headers: ["android.hardware.automotive.evs@1.0-vts.profiler_genc++_headers"],
117    shared_libs: [
118        "libbase",
119        "libhidlbase",
120        "libhidltransport",
121        "libvts_profiling",
122        "libvts_multidevice_proto",
123        "libprotobuf-cpp-full",
124        "android.hardware.automotive.evs@1.0",
125        "android.hidl.base@1.0",
126    ],
127}
128
129