diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-09-29 01:31:54 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2016-09-29 01:31:54 +0200 |
commit | 87a108121134e9603e3e60e732b23cbeb619be14 (patch) | |
tree | f19efe6ed3dc6706b21fc9138a975fce74d66783 /third_party/nanopb/tests/cyclic_messages/SConscript | |
parent | b97f867b390193daf18988958183143726602727 (diff) | |
parent | 4f13db3c6cfaae52b6d7e35edaa352bccff70b66 (diff) |
Merge remote-tracking branch 'google/v1.0.x' into master-upmerge-from-deep-under
Diffstat (limited to 'third_party/nanopb/tests/cyclic_messages/SConscript')
-rw-r--r-- | third_party/nanopb/tests/cyclic_messages/SConscript | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/nanopb/tests/cyclic_messages/SConscript b/third_party/nanopb/tests/cyclic_messages/SConscript new file mode 100644 index 0000000000..c782001c95 --- /dev/null +++ b/third_party/nanopb/tests/cyclic_messages/SConscript @@ -0,0 +1,11 @@ +Import("env") + +# Encode cyclic messages with callback fields + +c = Copy("$TARGET", "$SOURCE") +env.Command("cyclic_callback.proto", "cyclic.proto", c) +env.NanopbProto(["cyclic_callback", "cyclic_callback.options"]) + +enc_callback = env.Program(["encode_cyclic_callback.c", "cyclic_callback.pb.c", "$COMMON/pb_encode.o", "$COMMON/pb_common.o"]) + + |