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 ], | |
16 'compiler_flags': [ | 12 'compiler_flags': [ |
17 '--strict', | 13 '--strict', |
18 '--no-single-file', | 14 '--no-single-file', |
19 '--externs', | 15 '--externs', |
20 '<(externs)', | 16 '<(DEPTH)/third_party/closure_compiler/externs/chrome_extensions.js', |
21 ], | 17 ], |
22 }, | 18 }, |
23 'actions': [ | 19 'actions': [ |
24 { | 20 { |
25 'action_name': 'Verify remoting webapp', | 21 'action_name': 'Verify remoting webapp', |
26 'inputs': [ | 22 'inputs': [ |
27 'remoting_webapp_compile.gypi', | 23 'remoting_webapp_compile.gypi', |
28 'remoting_webapp_files.gypi', | 24 'remoting_webapp_files.gypi', |
29 '<@(remoting_webapp_crd_js_files)', | 25 '<@(remoting_webapp_crd_js_files)', |
30 '<@(remoting_webapp_js_proto_files)', | 26 '<@(remoting_webapp_js_proto_files)', |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 '<@(compiler_flags)', | 74 '<@(compiler_flags)', |
79 '--success-stamp', '<(success_stamp_ut)', | 75 '--success-stamp', '<(success_stamp_ut)', |
80 '<@(remoting_webapp_crd_js_files)', | 76 '<@(remoting_webapp_crd_js_files)', |
81 '<@(remoting_webapp_unittests_all_js_files)', | 77 '<@(remoting_webapp_unittests_all_js_files)', |
82 '<@(remoting_webapp_unittests_js_proto_files)', | 78 '<@(remoting_webapp_unittests_js_proto_files)', |
83 ], | 79 ], |
84 }, | 80 }, |
85 ], | 81 ], |
86 'includes': ['remoting_webapp_files.gypi'], | 82 'includes': ['remoting_webapp_files.gypi'], |
87 } | 83 } |
OLD | NEW |