Add missing mandoline dependencies.
[chromium-blink-merge.git] / remoting / remoting_webapp_compile.gypi
blobf30195c061dd09c31c74154e59b785399dc2b63b
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
3 # found in the LICENSE file.
5 # File in charge of Closure compiling remoting's webapp.
8   'variables': {
9     'success_stamp': '<(PRODUCT_DIR)/<(_target_name)_jscompile.stamp',
10     'success_stamp_bt': '<(PRODUCT_DIR)/<(_target_name)_bt_jscompile.stamp',
11     'success_stamp_ut': '<(PRODUCT_DIR)/<(_target_name)_ut_jscompile.stamp',
12     'compiler_flags': [
13       '--strict',
14       '--no-single-file',
15       '--externs',
16       '<(DEPTH)/third_party/closure_compiler/externs/chrome_extensions.js',
17     ],
18   },
19   'actions': [
20     {
21       'action_name': 'Verify remoting webapp',
22       'inputs': [
23         'remoting_webapp_compile.gypi',
24         'remoting_webapp_files.gypi',
25         '<@(remoting_webapp_crd_js_files)',
26         '<@(remoting_webapp_js_proto_files)',
27       ],
28       'outputs': [
29         '<(success_stamp)',
30       ],
31       'action': [
32         'python', '<(DEPTH)/third_party/closure_compiler/compile.py',
33         '<@(compiler_flags)',
34         '--success-stamp', '<(success_stamp)',
35         '<@(remoting_webapp_crd_js_files)',
36         '<@(remoting_webapp_js_proto_files)',
37       ],
38     },
39     {
40       'action_name': 'Verify remoting webapp with browsertests',
41       'inputs': [
42         'remoting_webapp_compile.gypi',
43         'remoting_webapp_files.gypi',
44         '<@(remoting_webapp_crd_js_files)',
45         '<@(remoting_webapp_browsertest_all_js_files)',
46         '<@(remoting_webapp_browsertest_js_proto_files)',
47       ],
48       'outputs': [
49         '<(success_stamp_bt)',
50       ],
51       'action': [
52         'python', '<(DEPTH)/third_party/closure_compiler/compile.py',
53         '<@(compiler_flags)',
54         '--success-stamp', '<(success_stamp_bt)',
55         '<@(remoting_webapp_crd_js_files)',
56         '<@(remoting_webapp_browsertest_all_js_files)',
57         '<@(remoting_webapp_browsertest_js_proto_files)',
58       ],
59     },
60     {
61       'action_name': 'Verify remoting webapp unittests',
62       'inputs': [
63         'remoting_webapp_compile.gypi',
64         'remoting_webapp_files.gypi',
65         '<@(remoting_webapp_crd_js_files)',
66         '<@(remoting_webapp_unittests_all_js_files)',
67         '<@(remoting_webapp_unittests_js_proto_files)',
68       ],
69       'outputs': [
70         '<(success_stamp_ut)',
71       ],
72       'action': [
73         'python', '<(DEPTH)/third_party/closure_compiler/compile.py',
74         '<@(compiler_flags)',
75         '--success-stamp', '<(success_stamp_ut)',
76         '<@(remoting_webapp_crd_js_files)',
77         '<@(remoting_webapp_unittests_all_js_files)',
78         '<@(remoting_webapp_unittests_js_proto_files)',
79       ],
80     },
81   ],
82   'includes': ['remoting_webapp_files.gypi'],