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.health@1.0-vts.spec",
7    srcs: [
8        ":android.hardware.health@1.0_hal",
9    ],
10    out: [
11        "android/hardware/health/1.0/Health.vts",
12        "android/hardware/health/1.0/types.vts",
13    ],
14}
15
16// Build VTS driver.
17genrule {
18    name: "android.hardware.health@1.0-vts.driver_genc++",
19    tools: ["hidl-gen", "vtsc"],
20    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.health@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/health/1.0/ $(genDir)/android/hardware/health/1.0/",
21    srcs: [
22        ":android.hardware.health@1.0_hal",
23    ],
24    out: [
25        "android/hardware/health/1.0/Health.vts.cpp",
26        "android/hardware/health/1.0/types.vts.cpp",
27    ],
28}
29
30genrule {
31    name: "android.hardware.health@1.0-vts.driver_genc++_headers",
32    tools: ["hidl-gen", "vtsc"],
33    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.health@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/health/1.0/ $(genDir)/android/hardware/health/1.0/",
34    srcs: [
35        ":android.hardware.health@1.0_hal",
36    ],
37    out: [
38        "android/hardware/health/1.0/Health.vts.h",
39        "android/hardware/health/1.0/types.vts.h",
40    ],
41}
42
43cc_library_shared {
44    name: "android.hardware.health@1.0-vts.driver",
45    generated_sources: ["android.hardware.health@1.0-vts.driver_genc++"],
46    generated_headers: ["android.hardware.health@1.0-vts.driver_genc++_headers"],
47    export_generated_headers: ["android.hardware.health@1.0-vts.driver_genc++_headers"],
48    shared_libs: [
49        "libhidlbase",
50        "libhidltransport",
51        "libhwbinder",
52        "liblog",
53        "libutils",
54        "libcutils",
55        "libvts_common",
56        "libvts_datatype",
57        "libvts_drivercomm",
58        "libvts_measurement",
59        "libvts_multidevice_proto",
60        "libcamera_metadata",
61        "libprotobuf-cpp-full",
62        "android.hardware.health@1.0",
63        "android.hidl.base@1.0",
64    ],
65    export_shared_lib_headers: [
66        "android.hidl.base@1.0",
67    ],
68}
69
70// Build VTS profiler.
71genrule {
72    name: "android.hardware.health@1.0-vts.profiler_genc++",
73    tools: ["hidl-gen", "vtsc"],
74    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.health@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/health/1.0/ $(genDir)/android/hardware/health/1.0/",
75    srcs: [
76        ":android.hardware.health@1.0_hal",
77    ],
78    out: [
79        "android/hardware/health/1.0/Health.vts.cpp",
80        "android/hardware/health/1.0/types.vts.cpp",
81    ],
82}
83
84genrule {
85    name: "android.hardware.health@1.0-vts.profiler_genc++_headers",
86    tools: ["hidl-gen", "vtsc"],
87    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.health@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/health/1.0/ $(genDir)/android/hardware/health/1.0/",
88    srcs: [
89        ":android.hardware.health@1.0_hal",
90    ],
91    out: [
92        "android/hardware/health/1.0/Health.vts.h",
93        "android/hardware/health/1.0/types.vts.h",
94    ],
95}
96
97cc_library_shared {
98    name: "android.hardware.health@1.0-vts.profiler",
99    generated_sources: ["android.hardware.health@1.0-vts.profiler_genc++"],
100    generated_headers: ["android.hardware.health@1.0-vts.profiler_genc++_headers"],
101    export_generated_headers: ["android.hardware.health@1.0-vts.profiler_genc++_headers"],
102    shared_libs: [
103        "libbase",
104        "libhidlbase",
105        "libhidltransport",
106        "libvts_profiling",
107        "libvts_multidevice_proto",
108        "libprotobuf-cpp-full",
109        "android.hardware.health@1.0",
110        "android.hidl.base@1.0",
111    ],
112}
113
114