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