• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_library_host_static {
2    name: "libhostgraphics",
3
4    cflags: [
5        "-Wno-unused-parameter",
6    ],
7
8    srcs: [
9        ":libui_host_common",
10        "Fence.cpp",
11        "HostBufferQueue.cpp",
12        "PublicFormat.cpp",
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}