blob: a366fa244dff9f54de4dd60cae507c4900d8dbc8 [file] [log] [blame]
Daniel Nicoara0a60e4b2017-01-09 12:51:06 -05001cc_library_static {
2 name: "libhwcomposer-client",
3 export_include_dirs: ["."],
4 srcs: ["ComposerClient.cpp"],
5 cppflags: ["-DBINDERIZED"],
6 shared_libs: [
7 "android.hardware.graphics.allocator@2.0",
8 "android.hardware.graphics.composer@2.1",
9 "libbase",
10 "libcutils",
11 "libfmq",
12 "libhardware",
13 "libhidlbase",
14 "libhidltransport",
15 "libhwbinder",
16 "liblog",
17 "libsync",
18 "libutils",
19 ],
20}
21
Chia-I Wu7f8d3962016-09-28 21:04:23 +080022cc_library_shared {
23 name: "android.hardware.graphics.composer@2.1-impl",
24 relative_install_path: "hw",
Daniel Nicoara0a60e4b2017-01-09 12:51:06 -050025 srcs: ["Hwc.cpp", "ComposerClient.cpp"],
Chia-I Wu7f8d3962016-09-28 21:04:23 +080026 shared_libs: [
27 "android.hardware.graphics.allocator@2.0",
28 "android.hardware.graphics.composer@2.1",
29 "libbase",
30 "libcutils",
Chia-I Wubb61a722016-10-24 15:40:20 +080031 "libfmq",
Chia-I Wu7f8d3962016-09-28 21:04:23 +080032 "libhardware",
Yifan Hong6b920e42016-11-16 14:17:58 -080033 "libhidlbase",
34 "libhidltransport",
Chia-I Wu7f8d3962016-09-28 21:04:23 +080035 "libhwbinder",
36 "liblog",
Chia-I Wubb61a722016-10-24 15:40:20 +080037 "libsync",
Chia-I Wu7f8d3962016-09-28 21:04:23 +080038 "libutils",
39 ],
40}
Chia-I Wub0b5a4d2016-10-17 14:56:15 +080041
42cc_binary {
43 name: "android.hardware.graphics.composer@2.1-service",
44 relative_install_path: "hw",
Daniel Nicoara0a60e4b2017-01-09 12:51:06 -050045 srcs: ["service.cpp", "Hwc.cpp"],
Chia-I Wub0b5a4d2016-10-17 14:56:15 +080046 cppflags: ["-DBINDERIZED"],
47 init_rc: ["android.hardware.graphics.composer@2.1-service.rc"],
48
Daniel Nicoara0a60e4b2017-01-09 12:51:06 -050049 static_libs: [
50 "libhwcomposer-client",
51 ],
Chia-I Wub0b5a4d2016-10-17 14:56:15 +080052 shared_libs: [
53 "android.hardware.graphics.allocator@2.0",
54 "android.hardware.graphics.composer@2.1",
55 "libbase",
56 "libbinder",
57 "libcutils",
Chia-I Wubb61a722016-10-24 15:40:20 +080058 "libfmq",
Chia-I Wub0b5a4d2016-10-17 14:56:15 +080059 "libhardware",
Yifan Hong6b920e42016-11-16 14:17:58 -080060 "libhidlbase",
61 "libhidltransport",
Chia-I Wub0b5a4d2016-10-17 14:56:15 +080062 "libhwbinder",
63 "liblog",
Chia-I Wubb61a722016-10-24 15:40:20 +080064 "libsync",
Chia-I Wub0b5a4d2016-10-17 14:56:15 +080065 "libutils",
66 ],
67}
Chia-I Wubb61a722016-10-24 15:40:20 +080068
69cc_library_static {
70 name: "libhwcomposer-command-buffer",
71 shared_libs: ["android.hardware.graphics.composer@2.1"],
72 export_include_dirs: ["."],
73}