audio-river/lutin_river_test.py

45 lines
1.0 KiB
Python
Raw Normal View History

2015-01-26 22:04:29 +01:00
#!/usr/bin/python
import lutinModule as module
import lutinTools as tools
import lutinDebug as debug
def get_desc():
2015-02-05 19:10:53 +01:00
return "river_test : Multi-nodal audio interface test"
2015-01-26 22:04:29 +01:00
def create(target):
2015-02-05 19:10:53 +01:00
myModule = module.Module(__file__, 'river_test', 'BINARY')
2015-01-26 22:04:29 +01:00
myModule.add_src_file([
'test/main.cpp',
'test/debug.cpp'
])
2015-02-12 21:02:51 +01:00
if target.name=="Windows":
myModule.copy_file('data/hardwareWindows.json', 'hardware.json')
elif target.name=="Linux":
myModule.copy_file('data/hardwareLinux.json', 'hardware.json')
elif target.name=="MacOs":
myModule.copy_file('data/hardwareMacOs.json', 'hardware.json')
elif target.name=="IOs":
myModule.copy_file('data/hardwareIOs.json', 'hardware.json')
elif target.name=="Android":
myModule.copy_file('data/hardwareAndroid.json', 'hardware.json')
else:
debug.warning("unknow target for AIRTAudio : " + target.name);
myModule.copy_file('data/virtual.json', 'virtual.json')
2015-02-05 19:10:53 +01:00
myModule.add_module_depend(['river', 'gtest', 'etk'])
2015-01-26 22:04:29 +01:00
# add the currrent module at the
return myModule