aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/nanopb/tests/message_sizes/SConscript
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-10-17 14:15:50 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-10-17 14:15:50 -0700
commit34ad82d6f683b06ecb3844769ef53784d8cba30b (patch)
tree27551d64348144de399c7f874adfedbf919458d3 /third_party/nanopb/tests/message_sizes/SConscript
parent923d641c27f0ebcceb67a28fd17168ac34e7bf5e (diff)
parent872559593329f1a6903d0b41f669eb4ba719dbe8 (diff)
Merge branch 'master' into new_scenario
Diffstat (limited to 'third_party/nanopb/tests/message_sizes/SConscript')
-rw-r--r--third_party/nanopb/tests/message_sizes/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/nanopb/tests/message_sizes/SConscript b/third_party/nanopb/tests/message_sizes/SConscript
new file mode 100644
index 0000000000..e7524e0258
--- /dev/null
+++ b/third_party/nanopb/tests/message_sizes/SConscript
@@ -0,0 +1,11 @@
+# Test the generation of message size #defines
+
+Import('env')
+
+incpath = env.Clone()
+incpath.Append(PROTOCPATH = '#message_sizes')
+
+incpath.NanopbProto("messages1")
+incpath.NanopbProto("messages2")
+
+incpath.Program(['dummy.c', 'messages1.pb.c', 'messages2.pb.c'])