Support cpp backend for fmq in aidl (POD types only)
libfmq has a static assert for non POD data types
Bug: 362791857
Test: atest fmq_test
Change-Id: Iec82d549c0910c1f8140320864135db01bb3f12b
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
diff --git a/common/fmq/aidl/Android.bp b/common/fmq/aidl/Android.bp
index 4a3658e..7fb6368 100644
--- a/common/fmq/aidl/Android.bp
+++ b/common/fmq/aidl/Android.bp
@@ -28,9 +28,8 @@
sdk_version: "module_current",
},
cpp: {
- // FMQ will not be supported in the cpp backend because the parcelables
- // are not stable enough for use in shared memory
- enabled: false,
+ // FMQ is only supported for PODs with the cpp backend
+ enabled: true,
},
ndk: {
apex_available: [