Home | History | Annotate | Download | only in common
      1 # Build the common files needed by multiple test cases
      2 
      3 Import('env')
      4 
      5 # Protocol definitions for the encode/decode_unittests
      6 env.NanopbProto("unittestproto")
      7 
      8 # Protocol definitions for basic_buffer/stream tests
      9 env.NanopbProto("person")
     10 
     11 # Binaries of the pb_decode.c and pb_encode.c
     12 # These are built using more strict warning flags.
     13 strict = env.Clone()
     14 strict.Append(CFLAGS = strict['CORECFLAGS'])
     15 strict.Object("pb_decode.o", "$NANOPB/pb_decode.c")
     16 strict.Object("pb_encode.o", "$NANOPB/pb_encode.c")
     17 
     18