pebble/third_party/nanopb/tests/raw_decode/SConscript
2025-01-27 11:38:16 -08:00

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"])