Split CompOS interface in two
One service for system server (which will become stable), one for
internal calls from odrefresh (which will probably go away soon).
Test: compos_cmd forced-compile-test
Bug: 199147668
Change-Id: Ia7024e18fe1708eafb673a68b944c3f011715f11
diff --git a/compos/composd/aidl/Android.bp b/compos/composd/aidl/Android.bp
index 8116632..62c1b40 100644
--- a/compos/composd/aidl/Android.bp
+++ b/compos/composd/aidl/Android.bp
@@ -5,7 +5,6 @@
aidl_interface {
name: "android.system.composd",
srcs: ["android/system/composd/*.aidl"],
- imports: ["compos_aidl_interface"],
// TODO: Make this stable when the APEX becomes updatable.
unstable: true,
backend: {
@@ -18,7 +17,17 @@
"com.android.compos",
],
},
- ndk: {
+ },
+}
+
+aidl_interface {
+ name: "android.system.composd.internal",
+ srcs: ["android/system/composd/internal/*.aidl"],
+ imports: ["compos_aidl_interface"],
+ // TODO: Make this stable when the APEX becomes updatable.
+ unstable: true,
+ backend: {
+ rust: {
enabled: true,
apex_available: [
"com.android.compos",