Add bufferqueue headers to libgui_headers
This allows some libraries that currently link with libgui, but don't
actually use any symbols from it, to link with libgui_headers instead.
Test: build
Change-Id: I701780a55543889473ad174f25fa761cf5edd452
Merged-In: I701780a55543889473ad174f25fa761cf5edd452
diff --git a/libs/gui/Android.bp b/libs/gui/Android.bp
index 3f8b436..166775b 100644
--- a/libs/gui/Android.bp
+++ b/libs/gui/Android.bp
@@ -17,8 +17,16 @@
export_include_dirs: ["include"],
// we must build this module to get the required header as that is generated
- export_shared_lib_headers: [ "android.hidl.token@1.0-utils" ],
- shared_libs: [ "android.hidl.token@1.0-utils" ],
+ export_shared_lib_headers: [
+ "android.hidl.token@1.0-utils",
+ "android.hardware.graphics.bufferqueue@1.0",
+ "android.hardware.graphics.bufferqueue@2.0",
+ ],
+ shared_libs: [
+ "android.hidl.token@1.0-utils",
+ "android.hardware.graphics.bufferqueue@1.0",
+ "android.hardware.graphics.bufferqueue@2.0",
+ ],
}
cc_library_shared {