SConscript 341 B

12345678910
  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. Import("env")
  5. dec = env.Program(["raw_decode.c", "$COMMON/pb_decode.o", "$COMMON/pb_common.o"])
  6. env.RunTest([dec, "$BUILD/alltypes/encode_alltypes.output"])