Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 1 | // This file is autogenerated by hidl-gen. Do not edit manually. |
| 2 | |
Tri Vo | ce608be | 2017-02-07 19:13:25 -0800 | [diff] [blame] | 3 | filegroup { |
| 4 | name: "android.hardware.drm@1.0_hal", |
| 5 | srcs: [ |
| 6 | "types.hal", |
| 7 | "ICryptoFactory.hal", |
| 8 | "ICryptoPlugin.hal", |
| 9 | "IDrmFactory.hal", |
| 10 | "IDrmPlugin.hal", |
| 11 | "IDrmPluginListener.hal", |
| 12 | ], |
| 13 | } |
| 14 | |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 15 | genrule { |
| 16 | name: "android.hardware.drm@1.0_genc++", |
| 17 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 18 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0", |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 19 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 20 | ":android.hardware.drm@1.0_hal", |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 21 | ], |
| 22 | out: [ |
| 23 | "android/hardware/drm/1.0/types.cpp", |
| 24 | "android/hardware/drm/1.0/CryptoFactoryAll.cpp", |
| 25 | "android/hardware/drm/1.0/CryptoPluginAll.cpp", |
| 26 | "android/hardware/drm/1.0/DrmFactoryAll.cpp", |
| 27 | "android/hardware/drm/1.0/DrmPluginAll.cpp", |
| 28 | "android/hardware/drm/1.0/DrmPluginListenerAll.cpp", |
| 29 | ], |
| 30 | } |
| 31 | |
| 32 | genrule { |
| 33 | name: "android.hardware.drm@1.0_genc++_headers", |
| 34 | tools: ["hidl-gen"], |
Steven Moreland | bc71124 | 2017-05-09 19:51:19 -0700 | [diff] [blame] | 35 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0", |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 36 | srcs: [ |
Tri Vo | 85120c9 | 2017-02-10 12:45:17 -0800 | [diff] [blame] | 37 | ":android.hardware.drm@1.0_hal", |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 38 | ], |
| 39 | out: [ |
| 40 | "android/hardware/drm/1.0/types.h", |
Steven Moreland | 561b602 | 2017-03-27 11:48:14 -0700 | [diff] [blame] | 41 | "android/hardware/drm/1.0/hwtypes.h", |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 42 | "android/hardware/drm/1.0/ICryptoFactory.h", |
| 43 | "android/hardware/drm/1.0/IHwCryptoFactory.h", |
| 44 | "android/hardware/drm/1.0/BnHwCryptoFactory.h", |
| 45 | "android/hardware/drm/1.0/BpHwCryptoFactory.h", |
| 46 | "android/hardware/drm/1.0/BsCryptoFactory.h", |
| 47 | "android/hardware/drm/1.0/ICryptoPlugin.h", |
| 48 | "android/hardware/drm/1.0/IHwCryptoPlugin.h", |
| 49 | "android/hardware/drm/1.0/BnHwCryptoPlugin.h", |
| 50 | "android/hardware/drm/1.0/BpHwCryptoPlugin.h", |
| 51 | "android/hardware/drm/1.0/BsCryptoPlugin.h", |
| 52 | "android/hardware/drm/1.0/IDrmFactory.h", |
| 53 | "android/hardware/drm/1.0/IHwDrmFactory.h", |
| 54 | "android/hardware/drm/1.0/BnHwDrmFactory.h", |
| 55 | "android/hardware/drm/1.0/BpHwDrmFactory.h", |
| 56 | "android/hardware/drm/1.0/BsDrmFactory.h", |
| 57 | "android/hardware/drm/1.0/IDrmPlugin.h", |
| 58 | "android/hardware/drm/1.0/IHwDrmPlugin.h", |
| 59 | "android/hardware/drm/1.0/BnHwDrmPlugin.h", |
| 60 | "android/hardware/drm/1.0/BpHwDrmPlugin.h", |
| 61 | "android/hardware/drm/1.0/BsDrmPlugin.h", |
| 62 | "android/hardware/drm/1.0/IDrmPluginListener.h", |
| 63 | "android/hardware/drm/1.0/IHwDrmPluginListener.h", |
| 64 | "android/hardware/drm/1.0/BnHwDrmPluginListener.h", |
| 65 | "android/hardware/drm/1.0/BpHwDrmPluginListener.h", |
| 66 | "android/hardware/drm/1.0/BsDrmPluginListener.h", |
| 67 | ], |
| 68 | } |
| 69 | |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 70 | cc_library { |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 71 | name: "android.hardware.drm@1.0", |
Steven Moreland | 76cfb84 | 2017-05-19 15:52:22 -0700 | [diff] [blame] | 72 | defaults: ["hidl-module-defaults"], |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 73 | generated_sources: ["android.hardware.drm@1.0_genc++"], |
| 74 | generated_headers: ["android.hardware.drm@1.0_genc++_headers"], |
| 75 | export_generated_headers: ["android.hardware.drm@1.0_genc++_headers"], |
Steven Moreland | 3b36a83 | 2017-04-11 09:58:03 -0700 | [diff] [blame] | 76 | vendor_available: true, |
Steven Moreland | dfd8287 | 2017-08-10 15:15:40 -0700 | [diff] [blame] | 77 | vndk: { |
| 78 | enabled: true, |
| 79 | }, |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 80 | shared_libs: [ |
| 81 | "libhidlbase", |
| 82 | "libhidltransport", |
| 83 | "libhwbinder", |
| 84 | "liblog", |
| 85 | "libutils", |
| 86 | "libcutils", |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 87 | ], |
| 88 | export_shared_lib_headers: [ |
| 89 | "libhidlbase", |
| 90 | "libhidltransport", |
| 91 | "libhwbinder", |
| 92 | "libutils", |
Jeff Tinker | da002fe | 2017-01-19 14:41:11 -0800 | [diff] [blame] | 93 | ], |
| 94 | } |
Jiyong Park | acfcb30 | 2017-06-19 22:06:41 +0900 | [diff] [blame] | 95 | |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 96 | genrule { |
| 97 | name: "android.hardware.drm@1.0-adapter-helper_genc++", |
| 98 | tools: ["hidl-gen"], |
| 99 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0", |
| 100 | srcs: [ |
| 101 | ":android.hardware.drm@1.0_hal", |
| 102 | ], |
| 103 | out: [ |
| 104 | "android/hardware/drm/1.0/ACryptoFactory.cpp", |
| 105 | "android/hardware/drm/1.0/ACryptoPlugin.cpp", |
| 106 | "android/hardware/drm/1.0/ADrmFactory.cpp", |
| 107 | "android/hardware/drm/1.0/ADrmPlugin.cpp", |
| 108 | "android/hardware/drm/1.0/ADrmPluginListener.cpp", |
| 109 | ], |
| 110 | } |
| 111 | |
| 112 | genrule { |
| 113 | name: "android.hardware.drm@1.0-adapter-helper_genc++_headers", |
| 114 | tools: ["hidl-gen"], |
| 115 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0", |
| 116 | srcs: [ |
| 117 | ":android.hardware.drm@1.0_hal", |
| 118 | ], |
| 119 | out: [ |
| 120 | "android/hardware/drm/1.0/ACryptoFactory.h", |
| 121 | "android/hardware/drm/1.0/ACryptoPlugin.h", |
| 122 | "android/hardware/drm/1.0/ADrmFactory.h", |
| 123 | "android/hardware/drm/1.0/ADrmPlugin.h", |
| 124 | "android/hardware/drm/1.0/ADrmPluginListener.h", |
| 125 | ], |
| 126 | } |
| 127 | |
| 128 | |
| 129 | cc_library { |
| 130 | name: "android.hardware.drm@1.0-adapter-helper", |
| 131 | defaults: ["hidl-module-defaults"], |
| 132 | generated_sources: ["android.hardware.drm@1.0-adapter-helper_genc++"], |
| 133 | generated_headers: ["android.hardware.drm@1.0-adapter-helper_genc++_headers"], |
| 134 | export_generated_headers: ["android.hardware.drm@1.0-adapter-helper_genc++_headers"], |
| 135 | vendor_available: true, |
| 136 | shared_libs: [ |
| 137 | "libhidlbase", |
| 138 | "libhidltransport", |
| 139 | "libhwbinder", |
| 140 | "liblog", |
| 141 | "libutils", |
| 142 | "libcutils", |
| 143 | "libhidladapter", |
| 144 | "android.hardware.drm@1.0", |
| 145 | "android.hidl.base@1.0-adapter-helper", |
| 146 | ], |
| 147 | export_shared_lib_headers: [ |
| 148 | "libhidlbase", |
| 149 | "libhidltransport", |
| 150 | "libhwbinder", |
| 151 | "libutils", |
| 152 | "libhidladapter", |
| 153 | "android.hardware.drm@1.0", |
| 154 | "android.hidl.base@1.0-adapter-helper", |
| 155 | ], |
| 156 | } |
| 157 | |
| 158 | genrule { |
| 159 | name: "android.hardware.drm@1.0-adapter_genc++", |
| 160 | tools: ["hidl-gen"], |
| 161 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0", |
Steven Moreland | a5299ee | 2017-09-26 12:54:42 -0700 | [diff] [blame^] | 162 | out: ["main.cpp"] |
| 163 | } |
Steven Moreland | 26a0bb2 | 2017-09-22 14:10:47 -0700 | [diff] [blame] | 164 | |
| 165 | cc_test { |
| 166 | name: "android.hardware.drm@1.0-adapter", |
| 167 | shared_libs: [ |
| 168 | "libhidladapter", |
| 169 | "libhidlbase", |
| 170 | "libhidltransport", |
| 171 | "libutils", |
| 172 | "android.hardware.drm@1.0", |
| 173 | "android.hardware.drm@1.0-adapter-helper", |
| 174 | ], |
| 175 | generated_sources: ["android.hardware.drm@1.0-adapter_genc++"], |
| 176 | } |