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.camera.provider@2.4-vts.spec",
7    srcs: [
8        ":android.hardware.camera.provider@2.4_hal",
9    ],
10    out: [
11        "android/hardware/camera/provider/2.4/CameraProvider.vts",
12        "android/hardware/camera/provider/2.4/CameraProviderCallback.vts",
13    ],
14}
15
16// Build VTS driver.
17genrule {
18    name: "android.hardware.camera.provider@2.4-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.camera.provider@2.4 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/camera/provider/2.4/ $(genDir)/android/hardware/camera/provider/2.4/",
21    srcs: [
22        ":android.hardware.camera.provider@2.4_hal",
23    ],
24    out: [
25        "android/hardware/camera/provider/2.4/CameraProvider.vts.cpp",
26        "android/hardware/camera/provider/2.4/CameraProviderCallback.vts.cpp",
27    ],
28}
29
30genrule {
31    name: "android.hardware.camera.provider@2.4-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.camera.provider@2.4 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/camera/provider/2.4/ $(genDir)/android/hardware/camera/provider/2.4/",
34    srcs: [
35        ":android.hardware.camera.provider@2.4_hal",
36    ],
37    out: [
38        "android/hardware/camera/provider/2.4/CameraProvider.vts.h",
39        "android/hardware/camera/provider/2.4/CameraProviderCallback.vts.h",
40    ],
41}
42
43cc_library_shared {
44    name: "android.hardware.camera.provider@2.4-vts.driver",
45    generated_sources: ["android.hardware.camera.provider@2.4-vts.driver_genc++"],
46    generated_headers: ["android.hardware.camera.provider@2.4-vts.driver_genc++_headers"],
47    export_generated_headers: ["android.hardware.camera.provider@2.4-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.camera.provider@2.4",
63        "android.hardware.camera.common@1.0",
64        "android.hardware.camera.common@1.0-vts.driver",
65        "android.hardware.camera.device@1.0",
66        "android.hardware.camera.device@1.0-vts.driver",
67        "android.hardware.camera.device@3.2",
68        "android.hardware.camera.device@3.2-vts.driver",
69        "android.hardware.graphics.common@1.0",
70        "android.hardware.graphics.common@1.0-vts.driver",
71        "android.hidl.base@1.0",
72    ],
73    export_shared_lib_headers: [
74        "android.hardware.camera.common@1.0",
75        "android.hardware.camera.common@1.0-vts.driver",
76        "android.hardware.camera.device@1.0",
77        "android.hardware.camera.device@1.0-vts.driver",
78        "android.hardware.camera.device@3.2",
79        "android.hardware.camera.device@3.2-vts.driver",
80        "android.hardware.graphics.common@1.0",
81        "android.hardware.graphics.common@1.0-vts.driver",
82        "android.hidl.base@1.0",
83    ],
84}
85
86// Build VTS profiler.
87genrule {
88    name: "android.hardware.camera.provider@2.4-vts.profiler_genc++",
89    tools: ["hidl-gen", "vtsc"],
90    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.provider@2.4 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/camera/provider/2.4/ $(genDir)/android/hardware/camera/provider/2.4/",
91    srcs: [
92        ":android.hardware.camera.provider@2.4_hal",
93    ],
94    out: [
95        "android/hardware/camera/provider/2.4/CameraProvider.vts.cpp",
96        "android/hardware/camera/provider/2.4/CameraProviderCallback.vts.cpp",
97    ],
98}
99
100genrule {
101    name: "android.hardware.camera.provider@2.4-vts.profiler_genc++_headers",
102    tools: ["hidl-gen", "vtsc"],
103    cmd: "$(location hidl-gen) -o $(genDir) -Lvts -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.provider@2.4 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/camera/provider/2.4/ $(genDir)/android/hardware/camera/provider/2.4/",
104    srcs: [
105        ":android.hardware.camera.provider@2.4_hal",
106    ],
107    out: [
108        "android/hardware/camera/provider/2.4/CameraProvider.vts.h",
109        "android/hardware/camera/provider/2.4/CameraProviderCallback.vts.h",
110    ],
111}
112
113cc_library_shared {
114    name: "android.hardware.camera.provider@2.4-vts.profiler",
115    generated_sources: ["android.hardware.camera.provider@2.4-vts.profiler_genc++"],
116    generated_headers: ["android.hardware.camera.provider@2.4-vts.profiler_genc++_headers"],
117    export_generated_headers: ["android.hardware.camera.provider@2.4-vts.profiler_genc++_headers"],
118    shared_libs: [
119        "libbase",
120        "libhidlbase",
121        "libhidltransport",
122        "libvts_profiling",
123        "libvts_multidevice_proto",
124        "libprotobuf-cpp-full",
125        "android.hardware.camera.provider@2.4",
126        "android.hardware.camera.common@1.0",
127        "android.hardware.camera.common@1.0-vts.profiler",
128        "android.hardware.camera.device@1.0",
129        "android.hardware.camera.device@1.0-vts.profiler",
130        "android.hardware.camera.device@3.2",
131        "android.hardware.camera.device@3.2-vts.profiler",
132        "android.hardware.graphics.common@1.0",
133        "android.hardware.graphics.common@1.0-vts.profiler",
134        "android.hidl.base@1.0",
135    ],
136}
137
138