args = parse_args()
force_build()
- if sys.platform != 'linux2':
+ if TARGET_PLATFORM != 'linux':
download_libchromiumcontent_symbols(args.url)
create_symbols()
copy_binaries()
def download_libchromiumcontent_symbols(url):
- if sys.platform == 'darwin':
+ if TARGET_PLATFORM == 'darwin':
symbols_name = 'libchromiumcontent.dylib.dSYM'
- elif sys.platform == 'win32':
+ elif TARGET_PLATFORM == 'win32':
symbols_name = 'chromiumcontent.dll.pdb'
brightray_dir = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor')
with scoped_cwd(DIST_DIR):
files = ['LICENSE', 'version']
dirs = ['Atom-Shell.breakpad.syms']
- if sys.platform == 'linux2':
+ if TARGET_PLATFORM == 'linux':
dirs = []
make_zip(zip_file, files, dirs)
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',
'Contents', 'MacOS', 'Atom')
- elif sys.platform == 'win32':
+ elif TARGET_PLATFORM == 'win32':
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom.exe')
else:
atom_shell = os.path.join(SOURCE_ROOT, 'out', 'Release', 'atom')