Merge "Automatic mk -> bp."
[android/platform-hardware-interfaces.git] / graphics / composer / 2.1 / default / Android.bp
1 cc_library_static {
2     name: "libhwcomposer-client",
3     vendor_available: true,
4     defaults: ["hidl_defaults"],
5     export_include_dirs: ["."],
6     srcs: ["ComposerClient.cpp"],
7     shared_libs: [
8         "android.hardware.graphics.composer@2.1",
9         "android.hardware.graphics.mapper@2.0",
10         "libbase",
11         "libcutils",
12         "libfmq",
13         "libhardware",
14         "libhidlbase",
15         "libhidltransport",
16         "liblog",
17         "libsync",
18         "libutils",
19     ],
20 }
22 cc_library_shared {
23     name: "android.hardware.graphics.composer@2.1-impl",
24     defaults: ["hidl_defaults"],
25     proprietary: true,
26     relative_install_path: "hw",
27     srcs: ["Hwc.cpp"],
28     static_libs: ["libhwcomposer-client"],
29     shared_libs: [
30         "android.hardware.graphics.composer@2.1",
31         "android.hardware.graphics.mapper@2.0",
32         "libbase",
33         "libcutils",
34         "libfmq",
35         "libhardware",
36         "libhidlbase",
37         "libhidltransport",
38         "liblog",
39         "libsync",
40         "libutils",
41         "libhwc2on1adapter",
42         "libhwc2onfbadapter",
43     ],
44 }
46 cc_binary {
47     name: "android.hardware.graphics.composer@2.1-service",
48     defaults: ["hidl_defaults"],
49     proprietary: true,
50     relative_install_path: "hw",
51     srcs: ["service.cpp"],
52     init_rc: ["android.hardware.graphics.composer@2.1-service.rc"],
53     static_libs: ["libhwcomposer-client"],
54     shared_libs: [
55         "android.hardware.graphics.composer@2.1",
56         "libbase",
57         "libbinder",
58         "libcutils",
59         "libfmq",
60         "libhardware",
61         "libhidlbase",
62         "libhidltransport",
63         "liblog",
64         "libsync",
65         "libutils",
66     ],
67 }
69 cc_library_static {
70     name: "libhwcomposer-command-buffer",
71     defaults: ["hidl_defaults"],
72     shared_libs: ["android.hardware.graphics.composer@2.1"],
73     export_include_dirs: ["."],
74 }