assertos.path.exists(temp_js), 'failed to build file'
ifresult_libs:
forlibinresult_libs:
assertos.path.exists(shared.Cache.get_path(lib)), 'not seeing that requested library %s has been built because file %s does not exist'% (lib, shared.Cache.get_path(lib))
print('Skipping building of %s, because WebAssembly does not support pthreads.'%', '.join(skip_tasks))
tasks= [xforxintasksifxnotinskip_tasks]
else:
ifos.environ.get('EMSCRIPTEN_NATIVE_OPTIMIZER'):
print('Skipping building of native-optimizer since environment variable EMSCRIPTEN_NATIVE_OPTIMIZER is present and set to point to a prebuilt native optimizer path.')
print('Skipping building of native-optimizer since .emscripten config file has set EMSCRIPTEN_NATIVE_OPTIMIZER to point to a prebuilt native optimizer path.')
else:
tasks+= ['native_optimizer']
print('Building targets: %s'%' '.join(tasks))
forwhatintasks:
shared.logging.info('building and verifying '+what)