Android.bp revision 346cf518ea29fd63e0ca0e366254d84e34f9286b
1// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4    name: "android.hidl.allocator@1.0_hal",
5    srcs: [
6        "IAllocator.hal",
7    ],
8}
9
10genrule {
11    name: "android.hidl.allocator@1.0_genc++",
12    tools: ["hidl-gen"],
13    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hidl:system/libhidl/transport android.hidl.allocator@1.0",
14    srcs: [
15        ":android.hidl.allocator@1.0_hal",
16    ],
17    out: [
18        "android/hidl/allocator/1.0/AllocatorAll.cpp",
19    ],
20}
21
22genrule {
23    name: "android.hidl.allocator@1.0_genc++_headers",
24    tools: ["hidl-gen"],
25    cmd: "$(location hidl-gen) -o $(genDir) -Lc++ -randroid.hidl:system/libhidl/transport android.hidl.allocator@1.0",
26    srcs: [
27        ":android.hidl.allocator@1.0_hal",
28    ],
29    out: [
30        "android/hidl/allocator/1.0/IAllocator.h",
31        "android/hidl/allocator/1.0/IHwAllocator.h",
32        "android/hidl/allocator/1.0/BnHwAllocator.h",
33        "android/hidl/allocator/1.0/BpHwAllocator.h",
34        "android/hidl/allocator/1.0/BsAllocator.h",
35    ],
36}
37
38cc_library_shared {
39    name: "android.hidl.allocator@1.0",
40    generated_sources: ["android.hidl.allocator@1.0_genc++"],
41    generated_headers: ["android.hidl.allocator@1.0_genc++_headers"],
42    export_generated_headers: ["android.hidl.allocator@1.0_genc++_headers"],
43    shared_libs: [
44        "libhidlbase",
45        "libhidltransport",
46        "libhwbinder",
47        "liblog",
48        "libutils",
49        "libcutils",
50        "android.hidl.base@1.0",
51    ],
52    export_shared_lib_headers: [
53        "libhidlbase",
54        "libhidltransport",
55        "libhwbinder",
56        "libutils",
57        "android.hidl.base@1.0",
58    ],
59}
60