xref: /aosp_15_r20/external/nanopb-c/tests/regression/issue_203/SConscript (revision c8d645cafcee3f91213d30caa0fe303887010b9b)
1*c8d645caSAndroid Build Coastguard Worker# Regression test for issue with multiple files generated at once
2*c8d645caSAndroid Build Coastguard Worker
3*c8d645caSAndroid Build Coastguard WorkerImport('env')
4*c8d645caSAndroid Build Coastguard Worker
5*c8d645caSAndroid Build Coastguard Workerenv.Command(['file1.pb.c', 'file1.pb.h', 'file2.pb.c', 'file2.pb.h'], ['file1.proto', 'file2.proto'],
6*c8d645caSAndroid Build Coastguard Worker            env['NANOPB_PROTO_CMD'])
7*c8d645caSAndroid Build Coastguard Worker
8*c8d645caSAndroid Build Coastguard Workerenv.Object('file1.pb.c')
9*c8d645caSAndroid Build Coastguard Workerenv.Object('file2.pb.c')
10