| 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", | 
|  | 20 | "libutils", | 
| Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 21 | ], | 
|  | 22 |  | 
| Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 23 | srcs: [ | 
|  | 24 | ":libui_host_common", | 
| Fedor Kudasov | 15e58b4 | 2019-07-04 17:52:39 +0100 | [diff] [blame] | 25 | "Fence.cpp", | 
|  | 26 | "HostBufferQueue.cpp", | 
|  | 27 | "PublicFormat.cpp", | 
| Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 28 | ], | 
|  | 29 |  | 
|  | 30 | include_dirs: [ | 
|  | 31 | // Here we override all the headers automatically included with frameworks/native/include. | 
|  | 32 | // When frameworks/native/include will be removed from the list of automatic includes. | 
|  | 33 | // We will have to copy necessary headers with a pre-build step (generated headers). | 
|  | 34 | ".", | 
|  | 35 | "frameworks/native/libs/nativebase/include", | 
|  | 36 | "frameworks/native/libs/nativewindow/include", | 
|  | 37 | "frameworks/native/libs/arect/include", | 
| Brett Chabot | 0019552 | 2020-09-09 13:52:20 -0700 | [diff] [blame] | 38 | "frameworks/native/libs/ui/include_private", | 
| Fedor Kudasov | a887116 | 2019-07-04 12:54:28 +0100 | [diff] [blame] | 39 | ], | 
|  | 40 | export_include_dirs: ["."], | 
|  | 41 |  | 
|  | 42 | target: { | 
|  | 43 | windows: { | 
|  | 44 | enabled: true, | 
|  | 45 | } | 
|  | 46 | }, | 
| Marin Shalamanov | a602c17 | 2020-08-11 20:29:00 +0200 | [diff] [blame] | 47 | } |