Chromium Code Reviews| 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 import os | |
|
Dan Beam
2017/01/20 01:03:08
same nit
dpapad
2017/01/20 01:51:51
Done.
| |
| 7 | |
| 8 _THIRD_PARTY_NODE_DIR = os.path.join(os.path.dirname(__file__)) | |
| 9 _THIRD_PARTY_NODE_MODULES_DIR = os.path.join( | |
| 10 _THIRD_PARTY_NODE_DIR, 'node_modules') | |
| 11 | |
|
Dan Beam
2017/01/20 01:03:08
i'm not super duper familiar with this, but I THIN
dpapad
2017/01/20 01:51:51
Done, it seems to work.
| |
| 12 def get_vulcanize_binary(): | |
| 13 return os.path.abspath(os.path.join( | |
| 14 _THIRD_PARTY_NODE_MODULES_DIR, 'vulcanize', 'bin', 'vulcanize')); | |
|
Dan Beam
2017/01/20 01:03:08
return _get_binary('vulcanize', 'bin', 'vulcanize'
dpapad
2017/01/20 01:51:51
Done.
| |
| 15 | |
| 16 def get_crisper_binary(): | |
| 17 return os.path.abspath(os.path.join( | |
| 18 _THIRD_PARTY_NODE_MODULES_DIR, 'crisper', 'bin', 'crisper')); | |
| 19 | |
| 20 def get_polymer_css_build_binary(): | |
| 21 return os.path.abspath(os.path.join( | |
| 22 _THIRD_PARTY_NODE_MODULES_DIR, | |
| 23 'polymer-css-build', 'bin', 'polymer-css-build')); | |
| 24 | |
| 25 def get_uglifyjs_binary(): | |
| 26 return os.path.abspath(os.path.join( | |
| 27 _THIRD_PARTY_NODE_MODULES_DIR, 'uglifyjs', 'bin', 'uglifyjs')); | |
| 28 | |
| 29 if __name__ == '__main__': | |
| 30 pass | |
|
Dan Beam
2017/01/20 01:03:08
delete
dpapad
2017/01/20 01:51:50
Deleted.
| |
| OLD | NEW |