Revision c843ee270115cca8e92c187a6db2486237ec508c authored by Jukka Jylänki on 22 July 2014, 14:07:54 UTC, committed by Jukka Jylänki on 22 July 2014, 14:07:54 UTC
1 parent 0b49b2f
emar
#!/usr/bin/env python2
'''
emar - ar helper script
=======================
This script acts as a frontend replacement for ar. See emcc.
'''
import os, subprocess, sys
from tools import shared
DEBUG = os.environ.get('EMCC_DEBUG')
if DEBUG == "0":
DEBUG = None
newargs = [shared.LLVM_AR] + sys.argv[1:]
if DEBUG:
print >> sys.stderr, 'emar:', sys.argv, ' ==> ', newargs
if len(newargs) > 2:
subprocess.call(newargs)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...