]> khamidou — GitHub mirrors - electron.git/commitdiff
Do not download symbols
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Apr 2015 06:33:52 +0000 (14:33 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Apr 2015 06:33:52 +0000 (14:33 +0800)
script/create-dist.py

index 36cc61e59393299215357e59416d3efe514150b9..9972e5738c82b0043177ce484b91dfcf8a8dcbf1 100755 (executable)
@@ -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))