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

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

Issue 2569283002: WebUI: Add GN rules for Vulcanize. (Closed)
Patch Set: Update paths, fix presubmit warnings. 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
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
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
12 def get_vulcanize_binary():
13 return os.path.abspath(os.path.join(
14 _THIRD_PARTY_NODE_MODULES_DIR, 'vulcanize', 'bin', 'vulcanize'));
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
OLDNEW
« chrome/browser/resources/unpack_pak.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