Remove old symbols when generating symbols.
This commit is contained in:
parent
31135321c0
commit
4087062798
1 changed files with 3 additions and 1 deletions
|
@ -207,11 +207,13 @@ def download_libchromiumcontent_symbols(url):
|
|||
|
||||
|
||||
def create_symbols():
|
||||
directory = 'Atom-Shell.breakpad.syms'
|
||||
rm_rf(os.path.join(OUT_DIR, directory))
|
||||
|
||||
build = os.path.join(SOURCE_ROOT, 'script', 'build.py')
|
||||
subprocess.check_output([sys.executable, build, '-c', 'Release',
|
||||
'-t', 'atom_dump_symbols'])
|
||||
|
||||
directory = 'Atom-Shell.breakpad.syms'
|
||||
shutil.copytree(os.path.join(OUT_DIR, directory),
|
||||
os.path.join(DIST_DIR, directory),
|
||||
symlinks=True)
|
||||
|
|
Loading…
Reference in a new issue