Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(25)

Side by Side Diff: sync_chromium.py

Issue 1575913003: H.264: Default flags and pulling in openh264 and ffmpeg. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added TODO-comment to clarify flag is not correctly used yet Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « setup_links.py ('k') | webrtc/build/common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
3 # 3 #
4 # Use of this source code is governed by a BSD-style license 4 # Use of this source code is governed by a BSD-style license
5 # that can be found in the LICENSE file in the root of the source 5 # that can be found in the LICENSE file in the root of the source
6 # tree. An additional intellectual property rights grant can be found 6 # tree. An additional intellectual property rights grant can be found
7 # in the file PATENTS. All contributing project authors may 7 # in the file PATENTS. All contributing project authors may
8 # be found in the AUTHORS file in the root of the source tree. 8 # be found in the AUTHORS file in the root of the source tree.
9 9
10 """Script to download a Chromium checkout into the workspace. 10 """Script to download a Chromium checkout into the workspace.
(...skipping 13 matching lines...) Expand all
24 24
25 import argparse 25 import argparse
26 import os 26 import os
27 import shutil 27 import shutil
28 import subprocess 28 import subprocess
29 import sys 29 import sys
30 import textwrap 30 import textwrap
31 31
32 # Bump this whenever the algorithm changes and you need bots/devs to re-sync, 32 # Bump this whenever the algorithm changes and you need bots/devs to re-sync,
33 # ignoring the .last_sync_chromium file 33 # ignoring the .last_sync_chromium file
34 SCRIPT_VERSION = 5 34 SCRIPT_VERSION = 6
35 35
36 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) 36 ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
37 CHROMIUM_NO_HISTORY = 'CHROMIUM_NO_HISTORY' 37 CHROMIUM_NO_HISTORY = 'CHROMIUM_NO_HISTORY'
38 38
39 # Duplicated from depot_tools/gclient.py since we cannot depend on that: 39 # Duplicated from depot_tools/gclient.py since we cannot depend on that:
40 DEPS_OS_CHOICES = { 40 DEPS_OS_CHOICES = {
41 "win32": "win", 41 "win32": "win",
42 "win": "win", 42 "win": "win",
43 "cygwin": "win", 43 "cygwin": "win",
44 "darwin": "mac", 44 "darwin": "mac",
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 ret = subprocess.call(args, cwd=opts.chromium_dir, env=env) 186 ret = subprocess.call(args, cwd=opts.chromium_dir, env=env)
187 if ret == 0: 187 if ret == 0:
188 with open(flag_file, 'wb') as f: 188 with open(flag_file, 'wb') as f:
189 f.write(flag_file_content) 189 f.write(flag_file_content)
190 190
191 return ret 191 return ret
192 192
193 193
194 if __name__ == '__main__': 194 if __name__ == '__main__':
195 sys.exit(main()) 195 sys.exit(main())
OLDNEW
« no previous file with comments | « setup_links.py ('k') | webrtc/build/common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698