1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "frameworks_base_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["frameworks_base_license"],
8}
9
10cc_library_host_static {
11    name: "libhostgraphics",
12
13    cflags: [
14        "-Wno-unused-parameter",
15    ],
16
17    static_libs: [
18        "libbase",
19        "libmath",
20        "libui-types",
21        "libutils",
22    ],
23
24    srcs: [
25        "ADisplay.cpp",
26        "ANativeWindow.cpp",
27        "Fence.cpp",
28        "HostBufferQueue.cpp",
29        "PublicFormat.cpp",
30    ],
31
32    header_libs: [
33        "libnativebase_headers",
34        "libnativedisplay_headers",
35        "libnativewindow_headers",
36    ],
37
38    export_include_dirs: ["."],
39
40    target: {
41        windows: {
42            enabled: true,
43        },
44    },
45}
46