1from building import * 2 3cwd = GetCurrentDir() 4list = os.listdir(cwd) 5objs = [] 6 7if not GetDepend(['RT_USING_ADT']): 8 Return('objs') 9 10for d in list: 11 path = os.path.join(cwd, d) 12 if os.path.isfile(os.path.join(path, 'SConscript')): 13 objs = objs + SConscript(os.path.join(d, 'SConscript')) 14 15Return('objs') 16