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