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.drm@1.0-vts.spec", 7 srcs: [ 8 ":android.hardware.drm@1.0_hal", 9 ], 10 out: [ 11 "android/hardware/drm/1.0/CryptoFactory.vts", 12 "android/hardware/drm/1.0/CryptoPlugin.vts", 13 "android/hardware/drm/1.0/DrmFactory.vts", 14 "android/hardware/drm/1.0/DrmPlugin.vts", 15 "android/hardware/drm/1.0/DrmPluginListener.vts", 16 "android/hardware/drm/1.0/types.vts", 17 ], 18} 19 20// Build VTS driver. 21genrule { 22 name: "android.hardware.drm@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.drm@1.0 && $(location vtsc) -mDRIVER -tSOURCE -b$(genDir) android/hardware/drm/1.0/ $(genDir)/android/hardware/drm/1.0/", 25 srcs: [ 26 ":android.hardware.drm@1.0_hal", 27 ], 28 out: [ 29 "android/hardware/drm/1.0/CryptoFactory.vts.cpp", 30 "android/hardware/drm/1.0/CryptoPlugin.vts.cpp", 31 "android/hardware/drm/1.0/DrmFactory.vts.cpp", 32 "android/hardware/drm/1.0/DrmPlugin.vts.cpp", 33 "android/hardware/drm/1.0/DrmPluginListener.vts.cpp", 34 "android/hardware/drm/1.0/types.vts.cpp", 35 ], 36} 37 38genrule { 39 name: "android.hardware.drm@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.drm@1.0 && $(location vtsc) -mDRIVER -tHEADER -b$(genDir) android/hardware/drm/1.0/ $(genDir)/android/hardware/drm/1.0/", 42 srcs: [ 43 ":android.hardware.drm@1.0_hal", 44 ], 45 out: [ 46 "android/hardware/drm/1.0/CryptoFactory.vts.h", 47 "android/hardware/drm/1.0/CryptoPlugin.vts.h", 48 "android/hardware/drm/1.0/DrmFactory.vts.h", 49 "android/hardware/drm/1.0/DrmPlugin.vts.h", 50 "android/hardware/drm/1.0/DrmPluginListener.vts.h", 51 "android/hardware/drm/1.0/types.vts.h", 52 ], 53} 54 55cc_library_shared { 56 name: "android.hardware.drm@1.0-vts.driver", 57 generated_sources: ["android.hardware.drm@1.0-vts.driver_genc++"], 58 generated_headers: ["android.hardware.drm@1.0-vts.driver_genc++_headers"], 59 export_generated_headers: ["android.hardware.drm@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.drm@1.0", 75 "android.hidl.base@1.0", 76 ], 77 export_shared_lib_headers: [ 78 "android.hidl.base@1.0", 79 ], 80} 81 82// Build VTS profiler. 83genrule { 84 name: "android.hardware.drm@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.drm@1.0 && $(location vtsc) -mPROFILER -tSOURCE -b$(genDir) android/hardware/drm/1.0/ $(genDir)/android/hardware/drm/1.0/", 87 srcs: [ 88 ":android.hardware.drm@1.0_hal", 89 ], 90 out: [ 91 "android/hardware/drm/1.0/CryptoFactory.vts.cpp", 92 "android/hardware/drm/1.0/CryptoPlugin.vts.cpp", 93 "android/hardware/drm/1.0/DrmFactory.vts.cpp", 94 "android/hardware/drm/1.0/DrmPlugin.vts.cpp", 95 "android/hardware/drm/1.0/DrmPluginListener.vts.cpp", 96 "android/hardware/drm/1.0/types.vts.cpp", 97 ], 98} 99 100genrule { 101 name: "android.hardware.drm@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.drm@1.0 && $(location vtsc) -mPROFILER -tHEADER -b$(genDir) android/hardware/drm/1.0/ $(genDir)/android/hardware/drm/1.0/", 104 srcs: [ 105 ":android.hardware.drm@1.0_hal", 106 ], 107 out: [ 108 "android/hardware/drm/1.0/CryptoFactory.vts.h", 109 "android/hardware/drm/1.0/CryptoPlugin.vts.h", 110 "android/hardware/drm/1.0/DrmFactory.vts.h", 111 "android/hardware/drm/1.0/DrmPlugin.vts.h", 112 "android/hardware/drm/1.0/DrmPluginListener.vts.h", 113 "android/hardware/drm/1.0/types.vts.h", 114 ], 115} 116 117cc_library_shared { 118 name: "android.hardware.drm@1.0-vts.profiler", 119 generated_sources: ["android.hardware.drm@1.0-vts.profiler_genc++"], 120 generated_headers: ["android.hardware.drm@1.0-vts.profiler_genc++_headers"], 121 export_generated_headers: ["android.hardware.drm@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.drm@1.0", 130 "android.hidl.base@1.0", 131 ], 132} 133 134