| Index: third_party/WebKit/Source/devtools/scripts/nodejs/npm.py
|
| diff --git a/third_party/WebKit/Source/devtools/scripts/nodejs/npm.py b/third_party/WebKit/Source/devtools/scripts/nodejs/npm.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..e1ca83458c3336d3680eb8c239cf2398b8327856
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/devtools/scripts/nodejs/npm.py
|
| @@ -0,0 +1,17 @@
|
| +#!/usr/bin/env python
|
| +# Copyright (c) 2015 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.
|
| +
|
| +"""Download and run node.js."""
|
| +# File originally from https://cs.chromium.org/chromium/infra/node/npm.py
|
| +
|
| +import imp
|
| +import os
|
| +import sys
|
| +
|
| +THIS_PATH = os.path.dirname(os.path.abspath(__file__))
|
| +node_py = imp.load_source('node', os.path.join(THIS_PATH, 'node.py'))
|
| +
|
| +if __name__ == '__main__':
|
| + sys.exit(node_py.main('npm'))
|
|
|