1Import('rtconfig') 2from building import * 3 4cwd = GetCurrentDir() 5src = [] 6path = [cwd] 7 8src += ['oneshot.c'] 9 10if GetDepend(['WM_USING_ONESHOT_DEMO']): 11 src += ['oneshot_demo.c'] 12 13group = DefineGroup('oneshot', src, depend = ['WM_USING_ONESHOT'], CPPPATH = path) 14 15Return('group') 16