2 # Plugin Interface build script
7 target_os = env.get('TARGET_OS')
9 if target_os not in ['android', 'arduino', 'darwin', 'ios']:
10 transport = env.get('TARGET_TRANSPORT')
11 build_sample = env.get('BUILD_SAMPLE')
13 env.SConscript('./src/SConscript')
15 env.SConscript('./unittests/SConscript')
17 if build_sample == 'ON':
18 if target_os in ['linux']:
19 target_path = target_os
20 env.SConscript('./samples/' + target_path + '/SConscript')