mirror of
https://github.com/google/pebble.git
synced 2025-03-15 16:51:21 +00:00
10 lines
341 B
Python
10 lines
341 B
Python
# 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"])
|
|
|