mirror of
https://github.com/google/pebble.git
synced 2026-02-17 10:46:51 -05:00
Import of the watch repository from Pebble
This commit is contained in:
18
third_party/nanopb/tests/regression/issue_172/SConscript
vendored
Normal file
18
third_party/nanopb/tests/regression/issue_172/SConscript
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# Verify that _size define is generated for messages that have
|
||||
# includes from another directory.
|
||||
|
||||
Import('env')
|
||||
|
||||
incpath = env.Clone()
|
||||
incpath.Append(PROTOCPATH="#regression/issue_172/submessage")
|
||||
incpath.Append(CPPPATH="$BUILD/regression/issue_172/submessage")
|
||||
incpath.Append(CPPPATH="$BUILD/regression/issue_172/")
|
||||
incpath.NanopbProto('test')
|
||||
incpath.NanopbProto(['submessage/submessage', 'submessage/submessage.options'])
|
||||
|
||||
p = incpath.Program(["msg_size.c",
|
||||
"test.pb.c",
|
||||
"submessage/submessage.pb.c",
|
||||
'$COMMON/pb_common.o'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user