Bob Badour | e539dba | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 1 | package { |
| 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 Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 10 | cc_library_host_static { |
| 11 | name: "libhostgraphics", |
| 12 | |
Fedor Kudasov | 15e58b4 | 2019-07-04 17:52:39 +0100 | [diff] [blame] | 13 | cflags: [ |
| 14 | "-Wno-unused-parameter", |
| 15 | ], |
| 16 | |
Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 17 | static_libs: [ |
| 18 | "libbase", |
Brett Chabot | 0019552 | 2020-09-09 13:52:20 -0700 | [diff] [blame] | 19 | "libmath", |
Jerome Gaillard | fc26fae | 2024-04-10 18:29:52 +0100 | [diff] [blame^] | 20 | "libui-types", |
Brett Chabot | 0019552 | 2020-09-09 13:52:20 -0700 | [diff] [blame] | 21 | "libutils", |
Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 22 | ], |
| 23 | |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 24 | srcs: [ |
Jerome Gaillard | 8f6d6e0 | 2024-02-26 18:56:00 +0000 | [diff] [blame] | 25 | "ADisplay.cpp", |
Fedor Kudasov | 15e58b4 | 2019-07-04 17:52:39 +0100 | [diff] [blame] | 26 | "Fence.cpp", |
| 27 | "HostBufferQueue.cpp", |
| 28 | "PublicFormat.cpp", |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 29 | ], |
| 30 | |
Jerome Gaillard | 8f6d6e0 | 2024-02-26 18:56:00 +0000 | [diff] [blame] | 31 | header_libs: [ |
| 32 | "libnativebase_headers", |
| 33 | "libnativedisplay_headers", |
| 34 | "libnativewindow_headers", |
| 35 | ], |
| 36 | |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 37 | export_include_dirs: ["."], |
| 38 | |
| 39 | target: { |
| 40 | windows: { |
| 41 | enabled: true, |
Jerome Gaillard | 8f6d6e0 | 2024-02-26 18:56:00 +0000 | [diff] [blame] | 42 | }, |
Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 43 | }, |
Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 44 | } |