OSDN Git Service

Fix ICryptoFactory service
[android-x86/hardware-interfaces.git] / drm / 1.0 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
2
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
15 genrule {
16     name: "android.hardware.drm@1.0_genc++",
17     tools: ["hidl-gen"],
18     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
19     srcs: [
20         ":android.hardware.drm@1.0_hal",
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"],
35     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
36     srcs: [
37         ":android.hardware.drm@1.0_hal",
38     ],
39     out: [
40         "android/hardware/drm/1.0/types.h",
41         "android/hardware/drm/1.0/hwtypes.h",
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
70 cc_library_shared {
71     name: "android.hardware.drm@1.0",
72     defaults: ["hidl-module-defaults"],
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"],
76     vendor_available: true,
77     shared_libs: [
78         "libhidlbase",
79         "libhidltransport",
80         "libhwbinder",
81         "liblog",
82         "libutils",
83         "libcutils",
84         "android.hidl.base@1.0",
85     ],
86     export_shared_lib_headers: [
87         "libhidlbase",
88         "libhidltransport",
89         "libhwbinder",
90         "libutils",
91         "android.hidl.base@1.0",
92     ],
93 }