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

Side by Side Diff: tools/blink_v8_snapshot/run.py

Issue 2841443005: [Bindings] Create and use V8 context snapshots (Closed)
Patch Set: Disable on ChromeOS and reduce size of table Created 3 years, 5 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 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """This program wraps an arbitrary command since gn currently can only execute
6 scripts."""
haraken 2017/07/04 15:04:21 Is this a common way to run a script? I'm just cur
peria 2017/07/07 06:22:04 We can specify only python script to run in .gn, s
7
8 import os
9 import subprocess
10 import sys
11
12 args = sys.argv[1:]
13 args[0] = os.path.abspath(args[0])
14
15 sys.exit(subprocess.call(args))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698