#gpowerd - Fix gBMC build
Protobuf editions were enabled by cl/716229481 but are only supported as an experimental feature in the version that is available in the gBMC build.
PiperOrigin-RevId: 721120793
Change-Id: Ia356d797adbecb5d15a50c403d5e11b5ce6e6c10
diff --git a/proto/meson.build b/proto/meson.build
index 3f7ea47..4c7c156 100644
--- a/proto/meson.build
+++ b/proto/meson.build
@@ -13,6 +13,7 @@
'--grpc_out=@BUILD_DIR@',
'--cpp_out=@BUILD_DIR@',
'--plugin=protoc-gen-grpc='+grpc_plugin.path(),
+ '--experimental_editions',
'@INPUT@'])
grpc_gen = generator(protoc,
output : [
@@ -24,6 +25,7 @@
'--grpc_out=@BUILD_DIR@',
'--cpp_out=@BUILD_DIR@',
'--plugin=protoc-gen-grpc='+grpc_plugin.path(),
+ '--experimental_editions',
'@INPUT@'])
protobuf_generated = [
proto_gen.process(