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