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