blob: 3a99d41448f2939517317c05ed79d7ae94d0de7a [file] [log] [blame]
Fedor Kudasova8871162019-07-04 12:54:28 +01001cc_library_host_static {
2 name: "libhostgraphics",
3
Fedor Kudasov15e58b42019-07-04 17:52:39 +01004 cflags: [
5 "-Wno-unused-parameter",
6 ],
7
Marin Shalamanova602c172020-08-11 20:29:00 +02008 static_libs: [
9 "libbase",
Brett Chabot00195522020-09-09 13:52:20 -070010 "libmath",
11 "libutils",
Marin Shalamanova602c172020-08-11 20:29:00 +020012 ],
13
Fedor Kudasova8871162019-07-04 12:54:28 +010014 srcs: [
15 ":libui_host_common",
Fedor Kudasov15e58b42019-07-04 17:52:39 +010016 "Fence.cpp",
17 "HostBufferQueue.cpp",
18 "PublicFormat.cpp",
Fedor Kudasova8871162019-07-04 12:54:28 +010019 ],
20
21 include_dirs: [
22 // Here we override all the headers automatically included with frameworks/native/include.
23 // When frameworks/native/include will be removed from the list of automatic includes.
24 // We will have to copy necessary headers with a pre-build step (generated headers).
25 ".",
26 "frameworks/native/libs/nativebase/include",
27 "frameworks/native/libs/nativewindow/include",
28 "frameworks/native/libs/arect/include",
Brett Chabot00195522020-09-09 13:52:20 -070029 "frameworks/native/libs/ui/include_private",
Fedor Kudasova8871162019-07-04 12:54:28 +010030 ],
31 export_include_dirs: ["."],
32
33 target: {
34 windows: {
35 enabled: true,
36 }
37 },
Marin Shalamanova602c172020-08-11 20:29:00 +020038}