Merge pull request #14964 from electron/chromium-upgrade/68

feat: upgrade to Chromium 68.0.3440.128 and Node 10.11.0
This commit is contained in:
Samuel Attard 2018-10-04 12:04:53 +10:00 committed by GitHub
commit 03e6113ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
155 changed files with 9131 additions and 8352 deletions

View file

@ -9,3 +9,8 @@ enable_cdm_host_verification = false
enable_extensions = false
proprietary_codecs = true
ffmpeg_branding = "Chrome"
# TODO(jeremy): OSR is broken in M68. Remove this once it's fixed.
enable_osr = false
is_cfi = false

View file

@ -56,14 +56,13 @@ def execute(argv):
def main(argv):
dist_zip, runtime_deps, target_cpu, target_os = argv
dist_files = []
dist_files = set()
with open(runtime_deps) as f:
for dep in f.readlines():
dep = dep.strip()
if dep not in dist_files:
dist_files += [dep]
dist_files.add(dep)
if sys.platform == 'darwin':
mac_zip_results = execute(['zip', '-r', '-y', dist_zip] + dist_files)
execute(['zip', '-r', '-y', dist_zip] + list(dist_files))
else:
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED) as z:
for dep in dist_files: