blob: 9f30711cafbd6c9c646e985e7f7a0c5668db87fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/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.
from os import path as os_path
NODE_MODULES = os_path.join(os_path.dirname(__file__), 'node_modules')
def _path_in_node_modules(*args):
return os_path.join(NODE_MODULES, *args)
def PathToVulcanize():
return _path_in_node_modules('vulcanize', 'bin', 'vulcanize')
def PathToCrisper():
return _path_in_node_modules('crisper', 'bin', 'crisper')
def PathToPolymerCssBuild():
return _path_in_node_modules('polymer-css-build', 'bin', 'polymer-css-build')
def PathToUglifyJs():
return _path_in_node_modules('uglifyjs', 'bin', 'uglifyjs')
|