Merge "Update makefiles after AOSP push."
[android/platform-hardware-interfaces.git] / dumpstate / 1.0 / Android.bp
1 // This file is autogenerated by hidl-gen. Do not edit manually.
3 filegroup {
4     name: "android.hardware.dumpstate@1.0_hal",
5     srcs: [
6         "IDumpstateDevice.hal",
7     ],
8 }
10 genrule {
11     name: "android.hardware.dumpstate@1.0_genc++",
12     tools: ["hidl-gen"],
13     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.dumpstate@1.0",
14     srcs: [
15         ":android.hardware.dumpstate@1.0_hal",
16     ],
17     out: [
18         "android/hardware/dumpstate/1.0/DumpstateDeviceAll.cpp",
19     ],
20 }
22 genrule {
23     name: "android.hardware.dumpstate@1.0_genc++_headers",
24     tools: ["hidl-gen"],
25     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.dumpstate@1.0",
26     srcs: [
27         ":android.hardware.dumpstate@1.0_hal",
28     ],
29     out: [
30         "android/hardware/dumpstate/1.0/IDumpstateDevice.h",
31         "android/hardware/dumpstate/1.0/IHwDumpstateDevice.h",
32         "android/hardware/dumpstate/1.0/BnHwDumpstateDevice.h",
33         "android/hardware/dumpstate/1.0/BpHwDumpstateDevice.h",
34         "android/hardware/dumpstate/1.0/BsDumpstateDevice.h",
35     ],
36 }
38 cc_library {
39     name: "android.hardware.dumpstate@1.0",
40     defaults: ["hidl-module-defaults"],
41     generated_sources: ["android.hardware.dumpstate@1.0_genc++"],
42     generated_headers: ["android.hardware.dumpstate@1.0_genc++_headers"],
43     export_generated_headers: ["android.hardware.dumpstate@1.0_genc++_headers"],
44     vendor_available: true,
45     vndk: {
46         enabled: true,
47     },
48     shared_libs: [
49         "libhidlbase",
50         "libhidltransport",
51         "libhwbinder",
52         "liblog",
53         "libutils",
54         "libcutils",
55     ],
56     export_shared_lib_headers: [
57         "libhidlbase",
58         "libhidltransport",
59         "libhwbinder",
60         "libutils",
61     ],
62 }
64 // This package is not java compatible. Not creating java target.
66 // This package does not export any types. Not creating java constants export.
69 genrule {
70     name: "android.hardware.dumpstate@1.0-adapter-helper_genc++",
71     tools: ["hidl-gen"],
72     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.dumpstate@1.0",
73     srcs: [
74         ":android.hardware.dumpstate@1.0_hal",
75     ],
76     out: [
77         "android/hardware/dumpstate/1.0/ADumpstateDevice.cpp",
78     ],
79 }
81 genrule {
82     name: "android.hardware.dumpstate@1.0-adapter-helper_genc++_headers",
83     tools: ["hidl-gen"],
84     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.dumpstate@1.0",
85     srcs: [
86         ":android.hardware.dumpstate@1.0_hal",
87     ],
88     out: [
89         "android/hardware/dumpstate/1.0/ADumpstateDevice.h",
90     ],
91 }
93 cc_library {
94     name: "android.hardware.dumpstate@1.0-adapter-helper",
95     defaults: ["hidl-module-defaults"],
96     generated_sources: ["android.hardware.dumpstate@1.0-adapter-helper_genc++"],
97     generated_headers: ["android.hardware.dumpstate@1.0-adapter-helper_genc++_headers"],
98     export_generated_headers: ["android.hardware.dumpstate@1.0-adapter-helper_genc++_headers"],
99     vendor_available: true,
100     shared_libs: [
101         "libhidlbase",
102         "libhidltransport",
103         "libhwbinder",
104         "liblog",
105         "libutils",
106         "libcutils",
107         "libhidladapter",
108         "android.hardware.dumpstate@1.0",
109         "android.hidl.base@1.0-adapter-helper",
110     ],
111     export_shared_lib_headers: [
112         "libhidlbase",
113         "libhidltransport",
114         "libhwbinder",
115         "libutils",
116         "libhidladapter",
117         "android.hardware.dumpstate@1.0",
118         "android.hidl.base@1.0-adapter-helper",
119     ],
122 genrule {
123     name: "android.hardware.dumpstate@1.0-adapter_genc++",
124     tools: ["hidl-gen"],
125     cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.dumpstate@1.0",
126     out: ["main.cpp"]
129 cc_test {
130     name: "android.hardware.dumpstate@1.0-adapter",
131     defaults: ["hidl-module-defaults"],
132     shared_libs: [
133         "libhidladapter",
134         "libhidlbase",
135         "libhidltransport",
136         "libutils",
137         "android.hardware.dumpstate@1.0",
138         "android.hardware.dumpstate@1.0-adapter-helper",
139     ],
140     generated_sources: ["android.hardware.dumpstate@1.0-adapter_genc++"],