mirror of
https://github.com/google/pebble
synced 2026-10-18 01:04:12 +02:00
Import of the watch repository from Pebble
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
# Regression test for issue with multiple files generated at once
|
||||
|
||||
Import('env')
|
||||
env = env.Clone()
|
||||
env.Replace(NANOPBFLAGS = "--strip-path")
|
||||
env.Command(['file1.pb.c', 'file1.pb.h', 'file2.pb.c', 'file2.pb.h'], ['file1.proto', 'file2.proto'],
|
||||
env['NANOPB_PROTO_CMD'])
|
||||
|
||||
env.Object('file1.pb.c')
|
||||
env.Object('file2.pb.c')
|
||||
@@ -0,0 +1,10 @@
|
||||
syntax = "proto2";
|
||||
|
||||
message SubMessage1 {
|
||||
required int32 foo = 1;
|
||||
}
|
||||
|
||||
message Message1 {
|
||||
required SubMessage1 bar = 1;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
syntax = "proto2";
|
||||
|
||||
message SubMessage2 {
|
||||
required int32 foo = 1;
|
||||
}
|
||||
|
||||
message Message2 {
|
||||
required SubMessage2 bar = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user