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"], |
| 18 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0", |
| 19 | srcs: [ |
| 20 | "types.hal", |
| 21 | "ICryptoFactory.hal", |
| 22 | "ICryptoPlugin.hal", |
| 23 | "IDrmFactory.hal", |
| 24 | "IDrmPlugin.hal", |
| 25 | "IDrmPluginListener.hal", |
| 26 | ], |
| 27 | out: [ |
| 28 | "android/hardware/drm/1.0/types.cpp", |
| 29 | "android/hardware/drm/1.0/CryptoFactoryAll.cpp", |
| 30 | "android/hardware/drm/1.0/CryptoPluginAll.cpp", |
| 31 | "android/hardware/drm/1.0/DrmFactoryAll.cpp", |
| 32 | "android/hardware/drm/1.0/DrmPluginAll.cpp", |
| 33 | "android/hardware/drm/1.0/DrmPluginListenerAll.cpp", |
| 34 | ], |
| 35 | } |
| 36 | |
| 37 | genrule { |
| 38 | name: "android.hardware.drm@1.0_genc++_headers", |
| 39 | tools: ["hidl-gen"], |
| 40 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0", |
| 41 | srcs: [ |
| 42 | "types.hal", |
| 43 | "ICryptoFactory.hal", |
| 44 | "ICryptoPlugin.hal", |
| 45 | "IDrmFactory.hal", |
| 46 | "IDrmPlugin.hal", |
| 47 | "IDrmPluginListener.hal", |
| 48 | ], |
| 49 | out: [ |
| 50 | "android/hardware/drm/1.0/types.h", |
| 51 | "android/hardware/drm/1.0/ICryptoFactory.h", |
| 52 | "android/hardware/drm/1.0/IHwCryptoFactory.h", |
| 53 | "android/hardware/drm/1.0/BnHwCryptoFactory.h", |
| 54 | "android/hardware/drm/1.0/BpHwCryptoFactory.h", |
| 55 | "android/hardware/drm/1.0/BsCryptoFactory.h", |
| 56 | "android/hardware/drm/1.0/ICryptoPlugin.h", |
| 57 | "android/hardware/drm/1.0/IHwCryptoPlugin.h", |
| 58 | "android/hardware/drm/1.0/BnHwCryptoPlugin.h", |
| 59 | "android/hardware/drm/1.0/BpHwCryptoPlugin.h", |
| 60 | "android/hardware/drm/1.0/BsCryptoPlugin.h", |
| 61 | "android/hardware/drm/1.0/IDrmFactory.h", |
| 62 | "android/hardware/drm/1.0/IHwDrmFactory.h", |
| 63 | "android/hardware/drm/1.0/BnHwDrmFactory.h", |
| 64 | "android/hardware/drm/1.0/BpHwDrmFactory.h", |
| 65 | "android/hardware/drm/1.0/BsDrmFactory.h", |
| 66 | "android/hardware/drm/1.0/IDrmPlugin.h", |
| 67 | "android/hardware/drm/1.0/IHwDrmPlugin.h", |
| 68 | "android/hardware/drm/1.0/BnHwDrmPlugin.h", |
| 69 | "android/hardware/drm/1.0/BpHwDrmPlugin.h", |
| 70 | "android/hardware/drm/1.0/BsDrmPlugin.h", |
| 71 | "android/hardware/drm/1.0/IDrmPluginListener.h", |
| 72 | "android/hardware/drm/1.0/IHwDrmPluginListener.h", |
| 73 | "android/hardware/drm/1.0/BnHwDrmPluginListener.h", |
| 74 | "android/hardware/drm/1.0/BpHwDrmPluginListener.h", |
| 75 | "android/hardware/drm/1.0/BsDrmPluginListener.h", |
| 76 | ], |
| 77 | } |
| 78 | |
| 79 | cc_library_shared { |
| 80 | name: "android.hardware.drm@1.0", |
| 81 | generated_sources: ["android.hardware.drm@1.0_genc++"], |
| 82 | generated_headers: ["android.hardware.drm@1.0_genc++_headers"], |
| 83 | export_generated_headers: ["android.hardware.drm@1.0_genc++_headers"], |
| 84 | shared_libs: [ |
| 85 | "libhidlbase", |
| 86 | "libhidltransport", |
| 87 | "libhwbinder", |
| 88 | "liblog", |
| 89 | "libutils", |
| 90 | "libcutils", |
| 91 | "android.hidl.base@1.0", |
| 92 | ], |
| 93 | export_shared_lib_headers: [ |
| 94 | "libhidlbase", |
| 95 | "libhidltransport", |
| 96 | "libhwbinder", |
| 97 | "libutils", |
| 98 | "android.hidl.base@1.0", |
| 99 | ], |
| 100 | } |