Enable header libraries for host builds
The host build of libhwui requires access to the headers of
nativedisplay and nativewindow.
Bug: 322360037
Test: N/A
Change-Id: I1deefdaa42c8756914451c8642fff83199d25e70
diff --git a/libs/nativedisplay/Android.bp b/libs/nativedisplay/Android.bp
index f7f20b4..03f4f39 100644
--- a/libs/nativedisplay/Android.bp
+++ b/libs/nativedisplay/Android.bp
@@ -34,7 +34,13 @@
cc_library_headers {
name: "libnativedisplay_headers",
+ host_supported: true,
export_include_dirs: ["include"],
+ target: {
+ windows: {
+ enabled: true,
+ },
+ },
}
cc_library_shared {