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