mirror of
https://github.com/google/pebble.git
synced 2025-03-16 01:01:20 +00:00
11 lines
341 B
Text
11 lines
341 B
Text
|
# This builds a simple utility that decodes a binary protobuf message.
|
||
|
# It is similar to protoc --decode_raw, except it produces useful information
|
||
|
# even for corrupted messages.
|
||
|
|
||
|
Import("env")
|
||
|
|
||
|
dec = env.Program(["raw_decode.c", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
|
||
|
|
||
|
env.RunTest([dec, "$BUILD/alltypes/encode_alltypes.output"])
|
||
|
|