pebble/third_party/nanopb/tests/raw_decode/SConscript

11 lines
341 B
Text
Raw Permalink Normal View History

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