Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 1 | cc_library_host_static { |
| 2 | name: "libhostgraphics", |
| 3 | |
Fedor Kudasov | 15e58b4 | 2019-07-04 17:52:39 +0100 | [diff] [blame] | 4 | cflags: [ |
| 5 | "-Wno-unused-parameter", |
| 6 | ], |
| 7 | |
Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 8 | static_libs: [ |
| 9 | "libbase", |
Brett Chabot | 0019552 | 2020-09-09 13:52:20 -0700 | [diff] [blame^] | 10 | "libmath", |
| 11 | "libutils", |
Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 12 | ], |
| 13 | |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 14 | srcs: [ |
| 15 | ":libui_host_common", |
Fedor Kudasov | 15e58b4 | 2019-07-04 17:52:39 +0100 | [diff] [blame] | 16 | "Fence.cpp", |
| 17 | "HostBufferQueue.cpp", |
| 18 | "PublicFormat.cpp", |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 19 | ], |
| 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 Chabot | 0019552 | 2020-09-09 13:52:20 -0700 | [diff] [blame^] | 29 | "frameworks/native/libs/ui/include_private", |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 30 | ], |
| 31 | export_include_dirs: ["."], |
| 32 | |
| 33 | target: { |
| 34 | windows: { |
| 35 | enabled: true, |
| 36 | } |
| 37 | }, |
Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 38 | } |