Guard socket file descriptor in UDPSocketLibevent
[chromium-blink-merge.git] / remoting / remoting_webapp_compile.gypi
blob094ff9290e57a8bbe94b5aa0fae10e4cb16253ca
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   },
13   'actions': [
14     {
15       'action_name': 'Verify remoting webapp',
16       'inputs': [
17         'remoting_webapp_compile.gypi',
18         'remoting_webapp_files.gypi',
19         '<@(remoting_webapp_crd_js_files)',
20         '<@(remoting_webapp_js_proto_files)',
21       ],
22       'outputs': [
23         '<(success_stamp)',
24       ],
25       'action': [
26         'python', '<(DEPTH)/third_party/closure_compiler/checker.py',
27         '--strict',
28         '--no-single-file',
29         '--success-stamp', '<(success_stamp)',
30         '<@(remoting_webapp_crd_js_files)',
31         '<@(remoting_webapp_js_proto_files)',
32       ],
33     },
34     {
35       'action_name': 'Verify remoting webapp with browsertests',
36       'inputs': [
37         'remoting_webapp_compile.gypi',
38         'remoting_webapp_files.gypi',
39         '<@(remoting_webapp_crd_js_files)',
40         '<@(remoting_webapp_browsertest_all_js_files)',
41         '<@(remoting_webapp_browsertest_js_proto_files)',
42       ],
43       'outputs': [
44         '<(success_stamp_bt)',
45       ],
46       'action': [
47         'python', '<(DEPTH)/third_party/closure_compiler/checker.py',
48         '--strict',
49         '--no-single-file',
50         '--success-stamp', '<(success_stamp_bt)',
51         '<@(remoting_webapp_crd_js_files)',
52         '<@(remoting_webapp_browsertest_all_js_files)',
53         '<@(remoting_webapp_browsertest_js_proto_files)',
54       ],
55     },
56     {
57       'action_name': 'Verify remoting webapp unittests',
58       'inputs': [
59         'remoting_webapp_compile.gypi',
60         'remoting_webapp_files.gypi',
61         '<@(remoting_webapp_crd_js_files)',
62         '<@(remoting_webapp_unittests_all_js_files)',
63         '<@(remoting_webapp_unittests_js_proto_files)',
64       ],
65       'outputs': [
66         '<(success_stamp_ut)',
67       ],
68       'action': [
69         'python', '<(DEPTH)/third_party/closure_compiler/checker.py',
70         '--strict',
71         '--no-single-file',
72         '--success-stamp', '<(success_stamp_ut)',
73         '<@(remoting_webapp_crd_js_files)',
74         '<@(remoting_webapp_unittests_all_js_files)',
75         '<@(remoting_webapp_unittests_js_proto_files)',
76       ],
77     },
78   ],
79   'includes': ['remoting_webapp_files.gypi'],