blob: 09232b64616d79c94eef396afc960955fca998b2 [file] [log] [blame]
Bob Badoure539dba2021-02-12 17:07:05 -08001package {
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
Fedor Kudasova8871162019-07-04 12:54:28 +010010cc_library_host_static {
11 name: "libhostgraphics",
12
Fedor Kudasov15e58b42019-07-04 17:52:39 +010013 cflags: [
14 "-Wno-unused-parameter",
15 ],
16
Marin Shalamanova602c172020-08-11 20:29:00 +020017 static_libs: [
18 "libbase",
Brett Chabot00195522020-09-09 13:52:20 -070019 "libmath",
Jerome Gaillardfc26fae2024-04-10 18:29:52 +010020 "libui-types",
Brett Chabot00195522020-09-09 13:52:20 -070021 "libutils",
Marin Shalamanova602c172020-08-11 20:29:00 +020022 ],
23
Fedor Kudasova8871162019-07-04 12:54:28 +010024 srcs: [
Jerome Gaillard8f6d6e02024-02-26 18:56:00 +000025 "ADisplay.cpp",
Jerome Gaillardd26915c2024-03-26 12:05:52 +000026 "ANativeWindow.cpp",
Fedor Kudasov15e58b42019-07-04 17:52:39 +010027 "Fence.cpp",
28 "HostBufferQueue.cpp",
29 "PublicFormat.cpp",
Fedor Kudasova8871162019-07-04 12:54:28 +010030 ],
31
Jerome Gaillard8f6d6e02024-02-26 18:56:00 +000032 header_libs: [
33 "libnativebase_headers",
34 "libnativedisplay_headers",
35 "libnativewindow_headers",
36 ],
37
Fedor Kudasova8871162019-07-04 12:54:28 +010038 export_include_dirs: ["."],
39
40 target: {
41 windows: {
42 enabled: true,
Jerome Gaillard8f6d6e02024-02-26 18:56:00 +000043 },
Fedor Kudasova8871162019-07-04 12:54:28 +010044 },
Marin Shalamanova602c172020-08-11 20:29:00 +020045}