Move Choreographer to libgui.
For Attached Choreographer, we want to store, access, and set attributes
on a Choreographer from the SurfaceControl it is attached to.
SurfaceControl is in libgui, so move Choreographer from libnativedisplay
into libgui as well.
The Android.bp dep chain: libandroid includes< libhwui <
libnativedisplay < libgui
Bug: 255838011
Test: atest ChoreographerNativeTest (no regression)
Test: make and flash
Test: presubmit
Change-Id: Ie9f8cac93a888127ffa48d7061a467649e0ca694
diff --git a/libs/gui/Android.bp b/libs/gui/Android.bp
index a988e39..6c9c28a 100644
--- a/libs/gui/Android.bp
+++ b/libs/gui/Android.bp
@@ -192,6 +192,7 @@
"BitTube.cpp",
"BLASTBufferQueue.cpp",
"BufferItemConsumer.cpp",
+ "Choreographer.cpp",
"CompositorTiming.cpp",
"ConsumerBase.cpp",
"CpuConsumer.cpp",
@@ -234,6 +235,7 @@
export_header_lib_headers: [
"libgui_aidl_headers",
+ "jni_headers",
],
aidl: {
@@ -241,6 +243,7 @@
},
header_libs: [
+ "jni_headers",
"libdvr_headers",
"libgui_aidl_headers",
"libpdx_headers",