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", |
| 10 | ], |
| 11 | |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 12 | srcs: [ |
| 13 | ":libui_host_common", |
Fedor Kudasov | 15e58b4 | 2019-07-04 17:52:39 +0100 | [diff] [blame] | 14 | "Fence.cpp", |
| 15 | "HostBufferQueue.cpp", |
| 16 | "PublicFormat.cpp", |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 17 | ], |
| 18 | |
| 19 | include_dirs: [ |
| 20 | // Here we override all the headers automatically included with frameworks/native/include. |
| 21 | // When frameworks/native/include will be removed from the list of automatic includes. |
| 22 | // We will have to copy necessary headers with a pre-build step (generated headers). |
| 23 | ".", |
| 24 | "frameworks/native/libs/nativebase/include", |
| 25 | "frameworks/native/libs/nativewindow/include", |
| 26 | "frameworks/native/libs/arect/include", |
| 27 | ], |
| 28 | export_include_dirs: ["."], |
| 29 | |
| 30 | target: { |
| 31 | windows: { |
| 32 | enabled: true, |
| 33 | } |
| 34 | }, |
Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 35 | } |