Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Side by Side Diff: third_party/node/node_modules.py

Issue 2569283002: WebUI: Add GN rules for Vulcanize. (Closed)
Patch Set: Rename Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« third_party/node/node.py ('K') | « third_party/node/node.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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.
OLDNEW
« third_party/node/node.py ('K') | « third_party/node/node.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698