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

Side by Side Diff: tools/bots/gn_build.py

Issue 2895973002: Remove old annotated_steps buildbot scripts and dispatcher (Closed)
Patch Set: Created 3 years, 7 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 | « tools/bots/get_chromium_build.py ('k') | tools/bots/gn_tests.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 #
3 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file.
6
7 import os
8 import os.path
9 import shutil
10 import sys
11 import subprocess
12
13 SCRIPT_DIR = os.path.dirname(sys.argv[0])
14 DART_ROOT = os.path.realpath(os.path.join(SCRIPT_DIR, '..', '..'))
15
16 def main(argv):
17 os.environ["DART_USE_GYP"] = "1"
18 generate_buildfiles = os.path.join(
19 DART_ROOT, 'tools', 'generate_buildfiles.py')
20 gclient_result = subprocess.call(['python', generate_buildfiles])
21 if gclient_result != 0:
22 return gclient_result
23
24 build_py = os.path.join(DART_ROOT, 'tools', 'build.py')
25 build_result = subprocess.call(['python', build_py] + argv[1:])
26 if build_result != 0:
27 return build_result
28 return 0
29
30 if __name__ == '__main__':
31 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « tools/bots/get_chromium_build.py ('k') | tools/bots/gn_tests.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698