• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_headers {
11    name: "libhostgraphics_headers",
12    host_supported: true,
13    export_include_dirs: ["include"],
14    target: {
15        windows: {
16            enabled: true,
17        },
18    },
19}
20
21cc_library_host_static {
22    name: "libhostgraphics",
23
24    cflags: [
25        "-Wno-unused-parameter",
26    ],
27
28    static_libs: [
29        "libbase",
30        "libmath",
31        "libui-types",
32        "libutils",
33    ],
34
35    srcs: [
36        "ADisplay.cpp",
37        "ANativeWindow.cpp",
38        "Fence.cpp",
39        "HostBufferQueue.cpp",
40        "PublicFormat.cpp",
41    ],
42
43    header_libs: [
44        "libhostgraphics_headers",
45        "libnativebase_headers",
46        "libnativedisplay_headers",
47        "libnativewindow_headers",
48    ],
49
50    export_include_dirs: ["include"],
51
52    target: {
53        windows: {
54            enabled: true,
55        },
56    },
57}
58