Merge branch 'dev_get_rid_of_ternary_operator'
[apps/agl-service-can-low-level.git] / tests / common / SConscript
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", "#../pb_decode.c")
16 strict.Object("pb_encode.o", "#../pb_encode.c")
17