| OLD | NEW |
| (Empty) | |
| 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. |
| 5 |
| 6 from os import path as os_path |
| 7 |
| 8 |
| 9 NODE_MODULES = os_path.join(os_path.dirname(__file__), 'node_modules') |
| 10 |
| 11 |
| 12 def _path_in_node_modules(*args): |
| 13 return os_path.join(NODE_MODULES, *args) |
| 14 |
| 15 |
| 16 def PathToVulcanize(): |
| 17 return _path_in_node_modules('vulcanize', 'bin', 'vulcanize') |
| 18 |
| 19 |
| 20 def PathToCrisper(): |
| 21 return _path_in_node_modules('crisper', 'bin', 'crisper') |
| 22 |
| 23 |
| 24 def PathToPolymerCssBuild(): |
| 25 return _path_in_node_modules('polymer-css-build', 'bin', 'polymer-css-build') |
| 26 |
| 27 |
| 28 def PathToUglifyJs(): |
| 29 return _path_in_node_modules('uglifyjs', 'bin', 'uglifyjs') |
| OLD | NEW |