1# This builds a simple utility that decodes a binary protobuf message. 2# It is similar to protoc --decode_raw, except it produces useful information 3# even for corrupted messages. 4 5Import("env") 6 7dec = env.Program(["raw_decode.c", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"]) 8 9env.RunTest([dec, "$BUILD/alltypes/encode_alltypes.output"]) 10 11