compile: Add meson build support
Signed-off-by: Jie Yang <jjy@google.com>
Change-Id: I71c0e2a62b4bd9b97cbe9a87788a0569f74847a0
Signed-off-by: Willy Tu <wltu@google.com>
diff --git a/proto/meson.build b/proto/meson.build
new file mode 100644
index 0000000..0600083
--- /dev/null
+++ b/proto/meson.build
@@ -0,0 +1,13 @@
+proto = custom_target(
+ 'proto',
+ command: [
+ find_program('protoc', native: true),
+ '--proto_path=@CURRENT_SOURCE_DIR@',
+ '--cpp_out=@OUTDIR@',
+ '@INPUT@'
+ ],
+ output: [
+ 'binaryblob.pb.cc',
+ 'binaryblob.pb.h',
+ ],
+ input: 'binaryblob.proto')