 Chromium Code Reviews
 Chromium Code Reviews Issue 2841443005:
  [Bindings] Create and use V8 context snapshots  (Closed)
    
  
    Issue 2841443005:
  [Bindings] Create and use V8 context snapshots  (Closed) 
  | Index: gin/run.py | 
| diff --git a/gin/run.py b/gin/run.py | 
| new file mode 100755 | 
| index 0000000000000000000000000000000000000000..ed529e04df34b4d941f0f15b41444ed881846ed2 | 
| --- /dev/null | 
| +++ b/gin/run.py | 
| @@ -0,0 +1,16 @@ | 
| +#!/usr/bin/env python | 
| +# Copyright 2016 The Chromium Authors. All rights reserved. | 
| +# Use of this source code is governed by a BSD-style license that can be | 
| +# found in the LICENSE file. | 
| + | 
| +"""This program wraps an arbitrary command since gn currently can only execute | 
| +scripts.""" | 
| + | 
| +import os | 
| +import subprocess | 
| +import sys | 
| + | 
| +args = sys.argv[1:] | 
| +args[0] = os.path.abspath(args[0]) | 
| + | 
| +sys.exit(subprocess.call(args)) |