mirror of
https://github.com/google/pebble.git
synced 2025-05-29 14:33:12 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
17
third_party/nanopb/tests/multiple_files/SConscript
vendored
Normal file
17
third_party/nanopb/tests/multiple_files/SConscript
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
# Test that multiple .proto files don't cause name collisions.
|
||||
|
||||
Import("env")
|
||||
|
||||
incpath = env.Clone()
|
||||
incpath.Append(PROTOCPATH = '#multiple_files')
|
||||
incpath.Append(CPPPATH = '$BUILD/multiple_files')
|
||||
|
||||
incpath.NanopbProto(["multifile1", "multifile1.options"])
|
||||
incpath.NanopbProto("multifile2")
|
||||
incpath.NanopbProto("subdir/multifile2")
|
||||
test = incpath.Program(["test_multiple_files.c", "multifile1.pb.c",
|
||||
"multifile2.pb.c", "subdir/multifile2.pb.c",
|
||||
"$COMMON/pb_common.o"])
|
||||
|
||||
env.RunTest(test)
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue