From: Cheng Zhao Date: Fri, 3 Apr 2015 06:33:52 +0000 (+0800) Subject: Do not download symbols X-Git-Tag: v0.23.0~5^2~54 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=40c85f20424d107e30fedcfc470d57dd9466ea4d;p=electron.git Do not download symbols --- diff --git a/script/create-dist.py b/script/create-dist.py index 36cc61e5..9972e573 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -85,7 +85,6 @@ def main(): args = parse_args() force_build() - download_libchromiumcontent_symbols(args.url) create_symbols() copy_binaries() copy_chromedriver() @@ -159,19 +158,6 @@ def create_version(): version_file.write(ATOM_SHELL_VERSION) -def download_libchromiumcontent_symbols(url): - brightray_dir = os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor') - target_dir = os.path.join(brightray_dir, 'download', 'libchromiumcontent') - symbols_path = os.path.join(target_dir, 'R', SYMBOL_NAME) - if os.path.exists(symbols_path): - return - - download = os.path.join(brightray_dir, 'libchromiumcontent', 'script', - 'download') - subprocess.check_call([sys.executable, download, '-f', '-s', '-c', - LIBCHROMIUMCONTENT_COMMIT, url, target_dir]) - - def create_symbols(): directory = 'Atom-Shell.breakpad.syms' rm_rf(os.path.join(OUT_DIR, directory))