win: Fix dumping symbols.
This commit is contained in:
parent
de0be312be
commit
3c0ec73d75
2 changed files with 10 additions and 3 deletions
|
@ -25,6 +25,8 @@ def main():
|
||||||
bootstrap_brightray(args.url)
|
bootstrap_brightray(args.url)
|
||||||
if sys.platform == 'cygwin':
|
if sys.platform == 'cygwin':
|
||||||
update_win32_python()
|
update_win32_python()
|
||||||
|
if sys.platform in ['win32', 'cygwin']:
|
||||||
|
install_runas()
|
||||||
|
|
||||||
touch_config_gypi()
|
touch_config_gypi()
|
||||||
update_atom_shell()
|
update_atom_shell()
|
||||||
|
@ -72,6 +74,13 @@ def update_win32_python():
|
||||||
execute(['git', 'clone', PYTHON_26_URL])
|
execute(['git', 'clone', PYTHON_26_URL])
|
||||||
|
|
||||||
|
|
||||||
|
def install_runas():
|
||||||
|
# TODO This is needed by the tools/win/register_msdia80_dll.js, should move
|
||||||
|
# this to a better place.
|
||||||
|
with scoped_cwd(os.path.join(SOURCE_ROOT, 'tools', 'win')):
|
||||||
|
execute([NPM, 'install', 'runas'])
|
||||||
|
|
||||||
|
|
||||||
def touch_config_gypi():
|
def touch_config_gypi():
|
||||||
config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi')
|
config_gypi = os.path.join(SOURCE_ROOT, 'vendor', 'node', 'config.gypi')
|
||||||
with open(config_gypi, 'w+') as f:
|
with open(config_gypi, 'w+') as f:
|
||||||
|
|
|
@ -49,9 +49,7 @@ def mkdir_p(path):
|
||||||
|
|
||||||
def RegisterRequiredDll():
|
def RegisterRequiredDll():
|
||||||
register = os.path.join(os.path.dirname(__file__), 'register_msdia80_dll.js')
|
register = os.path.join(os.path.dirname(__file__), 'register_msdia80_dll.js')
|
||||||
node = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
|
subprocess.check_call(['node.exe', register]);
|
||||||
os.environ['ATOM_SHELL_INTERNAL_RUN_AS_NODE'] = '1'
|
|
||||||
subprocess.check_call([node, register]);
|
|
||||||
|
|
||||||
|
|
||||||
def GenerateSymbols(options, binaries):
|
def GenerateSymbols(options, binaries):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue