Fix building on cygwin.
This commit is contained in:
parent
a81ef7847d
commit
2ce1d3a784
2 changed files with 6 additions and 6 deletions
|
@ -82,7 +82,7 @@ def main():
|
||||||
args = parse_args()
|
args = parse_args()
|
||||||
|
|
||||||
force_build()
|
force_build()
|
||||||
if sys.platform != 'linux2':
|
if TARGET_PLATFORM != 'linux':
|
||||||
download_libchromiumcontent_symbols(args.url)
|
download_libchromiumcontent_symbols(args.url)
|
||||||
create_symbols()
|
create_symbols()
|
||||||
copy_binaries()
|
copy_binaries()
|
||||||
|
@ -158,9 +158,9 @@ def create_version():
|
||||||
|
|
||||||
|
|
||||||
def download_libchromiumcontent_symbols(url):
|
def download_libchromiumcontent_symbols(url):
|
||||||
if sys.platform == 'darwin':
|
if TARGET_PLATFORM == 'darwin':
|
||||||
symbols_name = 'libchromiumcontent.dylib.dSYM'
|
symbols_name = 'libchromiumcontent.dylib.dSYM'
|
||||||
elif sys.platform == 'win32':
|
elif TARGET_PLATFORM == 'win32':
|
||||||
symbols_name = 'chromiumcontent.dll.pdb'
|
symbols_name = 'chromiumcontent.dll.pdb'
|
||||||
|
|
||||||
brightray_dir = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor')
|
brightray_dir = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor')
|
||||||
|
@ -205,7 +205,7 @@ def create_symbols_zip():
|
||||||
with scoped_cwd(DIST_DIR):
|
with scoped_cwd(DIST_DIR):
|
||||||
files = ['LICENSE', 'version']
|
files = ['LICENSE', 'version']
|
||||||
dirs = ['Atom-Shell.breakpad.syms']
|
dirs = ['Atom-Shell.breakpad.syms']
|
||||||
if sys.platform == 'linux2':
|
if TARGET_PLATFORM == 'linux':
|
||||||
dirs = []
|
dirs = []
|
||||||
make_zip(zip_file, files, dirs)
|
make_zip(zip_file, files, dirs)
|
||||||
|
|
||||||
|
|
|
@ -70,10 +70,10 @@ def parse_args():
|
||||||
|
|
||||||
|
|
||||||
def get_atom_shell_build_version():
|
def get_atom_shell_build_version():
|
||||||
if sys.platform == 'darwin':
|
if TARGET_PLATFORM == 'darwin':
|
||||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',
|
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'Atom.app',
|
||||||
'Contents', 'MacOS', 'Atom')
|
'Contents', 'MacOS', 'Atom')
|
||||||
elif sys.platform == 'win32':
|
elif TARGET_PLATFORM == 'win32':
|
||||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
|
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
|
||||||
else:
|
else:
|
||||||
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom')
|
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom')
|
||||||
|
|
Loading…
Reference in a new issue