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

Side by Side Diff: gn_data_build_system/run.py

Issue 1000163003: Generate the icu data binaries at compile time instead of checking in binaries Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: Polishing and making BUILD.gn smaller Created 5 years, 8 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
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2014 the V8 project authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 """This program wraps an arbitrary command since gn currently can only execute
7 scripts."""
8
9 import os
10 import subprocess
11 import sys
12
13 try:
14 res = subprocess.call(sys.argv[1:])
15 except Exception as e:
16 res = 1
17 print("%s" % e)
18
19 if res != 0:
20 print("In %s" % os.getcwd())
21 print("%s" % sys.argv)
22
23 sys.exit(res)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698