OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 # | 4 # |
5 # File in charge of Closure compiling remoting's webapp. | 5 # File in charge of Closure compiling remoting's webapp. |
6 | 6 |
7 { | 7 { |
8 'variables': { | 8 'variables': { |
9 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp', | 9 'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp', |
10 'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp', | 10 'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp', |
11 'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp', | 11 'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp', |
| 12 'externs': [ |
| 13 '<(DEPTH)/third_party/closure_compiler/externs/chrome_extensions.js', |
| 14 '<@(remoting_webapp_js_externs)', |
| 15 ], |
12 'compiler_flags': [ | 16 'compiler_flags': [ |
13 '--strict', | 17 '--strict', |
14 '--no-single-file', | 18 '--no-single-file', |
15 '--externs', | 19 '--externs', |
16 '<(DEPTH)/third_party/closure_compiler/externs/chrome_extensions.js', | 20 '<(externs)', |
17 ], | 21 ], |
18 }, | 22 }, |
19 'actions': [ | 23 'actions': [ |
20 { | 24 { |
21 'action_name': 'Verify remoting webapp', | 25 'action_name': 'Verify remoting webapp', |
22 'inputs': [ | 26 'inputs': [ |
23 'remoting_webapp_compile.gypi', | 27 'remoting_webapp_compile.gypi', |
24 'remoting_webapp_files.gypi', | 28 'remoting_webapp_files.gypi', |
25 '<@(remoting_webapp_crd_js_files)', | 29 '<@(remoting_webapp_crd_js_files)', |
26 '<@(remoting_webapp_js_proto_files)', | 30 '<@(remoting_webapp_js_proto_files)', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 '<@(compiler_flags)', | 78 '<@(compiler_flags)', |
75 '--success-stamp', '<(success_stamp_ut)', | 79 '--success-stamp', '<(success_stamp_ut)', |
76 '<@(remoting_webapp_crd_js_files)', | 80 '<@(remoting_webapp_crd_js_files)', |
77 '<@(remoting_webapp_unittests_all_js_files)', | 81 '<@(remoting_webapp_unittests_all_js_files)', |
78 '<@(remoting_webapp_unittests_js_proto_files)', | 82 '<@(remoting_webapp_unittests_js_proto_files)', |
79 ], | 83 ], |
80 }, | 84 }, |
81 ], | 85 ], |
82 'includes': ['remoting_webapp_files.gypi'], | 86 'includes': ['remoting_webapp_files.gypi'], |
83 } | 87 } |
OLD | NEW |