SF: use AIDL composer
Open and use the new AIDL composer if supported by the device
Bug: 198690444
Test: Build
Change-Id: I190170913b2adc980a23b0916817b74777be7c81
diff --git a/libs/vr/libvrflinger/Android.bp b/libs/vr/libvrflinger/Android.bp
index bf848af..e265f15 100644
--- a/libs/vr/libvrflinger/Android.bp
+++ b/libs/vr/libvrflinger/Android.bp
@@ -31,7 +31,7 @@
"vr_flinger.cpp",
]
-includeFiles = [ "include" ]
+includeFiles = ["include"]
staticLibraries = [
"libdisplay",
@@ -41,6 +41,7 @@
"libbroadcastring",
"libvr_manager",
"libbroadcastring",
+ "libaidlcommonsupport",
]
sharedLibraries = [
@@ -50,7 +51,9 @@
"android.hardware.graphics.composer@2.2",
"android.hardware.graphics.composer@2.3",
"android.hardware.graphics.composer@2.4",
+ "android.hardware.graphics.composer3-V1-ndk",
"libbinder",
+ "libbinder_ndk",
"libbase",
"libbufferhubqueue",
"libcutils",
@@ -76,6 +79,7 @@
"android.hardware.graphics.composer@2.2-command-buffer",
"android.hardware.graphics.composer@2.3-command-buffer",
"android.hardware.graphics.composer@2.4-command-buffer",
+ "android.hardware.graphics.composer3-command-buffer",
"libdvr_headers",
"libsurfaceflinger_headers",
]