| Index: third_party/node/node_modules.py
|
| diff --git a/third_party/node/node_modules.py b/third_party/node/node_modules.py
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..e04bc94961601a1b57b56f0e28a932109932a074
|
| --- /dev/null
|
| +++ b/third_party/node/node_modules.py
|
| @@ -0,0 +1,30 @@
|
| +#!/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.
|
| +
|
| +import os
|
| +
|
| +_THIRD_PARTY_NODE_DIR = os.path.join(os.path.dirname(__file__))
|
| +_THIRD_PARTY_NODE_MODULES_DIR = os.path.join(
|
| + _THIRD_PARTY_NODE_DIR, 'node_modules')
|
| +
|
| +def get_vulcanize_binary():
|
| + return os.path.abspath(os.path.join(
|
| + _THIRD_PARTY_NODE_MODULES_DIR, 'vulcanize', 'bin', 'vulcanize'));
|
| +
|
| +def get_crisper_binary():
|
| + return os.path.abspath(os.path.join(
|
| + _THIRD_PARTY_NODE_MODULES_DIR, 'crisper', 'bin', 'crisper'));
|
| +
|
| +def get_polymer_css_build_binary():
|
| + return os.path.abspath(os.path.join(
|
| + _THIRD_PARTY_NODE_MODULES_DIR,
|
| + 'polymer-css-build', 'bin', 'polymer-css-build'));
|
| +
|
| +def get_uglifyjs_binary():
|
| + return os.path.abspath(os.path.join(
|
| + _THIRD_PARTY_NODE_MODULES_DIR, 'uglifyjs', 'bin', 'uglifyjs'));
|
| +
|
| +if __name__ == '__main__':
|
| + pass
|
|
|