This commit is contained in:
Cheng Zhao 2014-02-24 13:29:06 +08:00
Родитель 90cc1a7062
Коммит 7a8e43c65e
1 изменённых файлов: 14 добавлений и 3 удалений

Просмотреть файл

@ -39,6 +39,11 @@ TARGET_BINARIES = {
'icudt.dll',
'libGLESv2.dll',
],
'linux': [
'atom',
'libchromiumcontent.so',
'libffmpegsumo.so',
],
}
TARGET_DIRECTORIES = {
'darwin': [
@ -47,6 +52,9 @@ TARGET_DIRECTORIES = {
'win32': [
'resources',
],
'linux': [
'resources',
],
}
HEADERS_SUFFIX = [
@ -74,8 +82,9 @@ def main():
args = parse_args()
force_build()
download_libchromiumcontent_symbols(args.url)
create_symbols()
if sys.platform != 'linux2':
download_libchromiumcontent_symbols(args.url)
create_symbols()
copy_binaries()
copy_headers()
copy_license()
@ -151,7 +160,7 @@ def create_version():
def download_libchromiumcontent_symbols(url):
if sys.platform == 'darwin':
symbols_name = 'libchromiumcontent.dylib.dSYM'
else:
elif sys.platform == 'win32':
symbols_name = 'chromiumcontent.dll.pdb'
brightray_dir = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor')
@ -196,6 +205,8 @@ def create_symbols_zip():
with scoped_cwd(DIST_DIR):
files = ['LICENSE', 'version']
dirs = ['Atom-Shell.breakpad.syms']
if sys.platform == 'linux2':
dirs = []
make_zip(zip_file, files, dirs)