Import of the watch repository from Pebble

This commit is contained in:
Matthieu Jeanson
2025-01-27 11:38:16 -08:00
committed by Katharine Berry
commit 3b92768480
10334 changed files with 2564465 additions and 0 deletions
@@ -0,0 +1,8 @@
# Test that special characters in .proto filenames work.
Import('env')
env.NanopbProto(["funny-proto+name has.characters.proto", "funny-proto+name has.characters.options"])
env.Object("funny-proto+name has.characters.pb.c")
env.Match(['funny-proto+name has.characters.pb.h', 'specchars.expected'])
@@ -0,0 +1,3 @@
// Unicode comment эмйÅÄÖ
* max_count:10
@@ -0,0 +1,25 @@
syntax="proto2";
// Unicode comment эмйÅÄÖ
message WorkingMessage {
required int32 b = 1;
required int32 Z = 2;
repeated int32 x = 3;
}
message FailingMessageBecauseMembersAreMacroParameter {
required int32 a = 1;
required int32 X = 2;
}
message TestMacroParametersAndUnderscores {
required int32 a = 1;
required int32 a_ = 2;
required int32 X = 3;
required int32 X_ = 4;
required int32 X__ = 5;
required int32 X___ = 6;
required int32 X____ = 7;
}
@@ -0,0 +1,3 @@
int32_t x\[10\];
Unicode comment эмйÅÄÖ