codec2 (non-mainline): pin cpp_std to gnu++17
This project doesn't build with gnu++20 and prevents AOSP default to be
upgraded to a newer standard. Once the build failure is fixed here, this
change can be reverted.
Bug: 311052584
Test: m checkbuild
Change-Id: I4feafea879301de6d7fe1240ce3298d99da1b3d6
diff --git a/media/codec2/tests/Android.bp b/media/codec2/tests/Android.bp
index 2217235..02c356c 100644
--- a/media/codec2/tests/Android.bp
+++ b/media/codec2/tests/Android.bp
@@ -27,6 +27,7 @@
static_libs: [
],
+ cpp_std: "gnu++17",
cflags: [
"-Werror",
"-Wall",