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

Side by Side Diff: gin/run.py

Issue 2841443005: [Bindings] Create and use V8 context snapshots (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
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved.
Yuki 2017/04/28 13:48:27 nit: You may want to update the year to 2017, but
peria 2017/06/01 08:33:31 Done.
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 args = sys.argv[1:]
14 args[0] = os.path.abspath(args[0])
15
16 sys.exit(subprocess.call(args))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698