Cryptohome: Notify about error in async calls if cryptohome is not ready yet.
[chromium-blink-merge.git] / remoting / app_remoting_webapp.gyp
blob1ceba7b18eed8ae0a3f174e4550279dddb997479
1 # Copyright 2014 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.
6   'includes': [
7     '../remoting/remoting_locales.gypi',
8     '../remoting/app_remoting_webapp_build.gypi',
9   ],
11   'target_defaults': {
12     'variables': {
13       'ar_internal': 0,
14     },
16     'conditions': [
17       ['run_jscompile != 0', {
18         'actions': [
19           {
20             'action_name': 'Verify >(ar_app_name) main.html',
21             'variables': {
22               'success_stamp': '<(PRODUCT_DIR)/>(_target_name)_main_jscompile.stamp',
23             },
24             'inputs': [
25               '<@(ar_main_js_files)',
26               '<@(remoting_webapp_js_proto_files)',
27               # Include zip as input so that this action is run after the build.
28               '<(zip_path)',
29             ],
30             'outputs': [
31               '<(success_stamp)',
32             ],
33             'action': [
34               'python', '../third_party/closure_compiler/checker.py',
35               '--strict',
36               '--no-single-file',
37               '--success-stamp', '<(success_stamp)',
38               '<@(ar_main_js_files)',
39               '<@(remoting_webapp_js_proto_files)',
40             ],
41           },
42           {
43             'action_name': 'Verify >(ar_app_name) background.js',
44             'variables': {
45               'success_stamp': '<(PRODUCT_DIR)/>(_target_name)_background_jscompile.stamp',
46             },
47             'inputs': [
48               '<@(ar_background_js_files)',
49               '<@(remoting_webapp_js_proto_files)',
50               # Include zip as input so that this action is run after the build.
51               '<(zip_path)',
52             ],
53             'outputs': [
54               '<(success_stamp)',
55             ],
56             'action': [
57               'python', '../third_party/closure_compiler/checker.py',
58               '--strict',
59               '--no-single-file',
60               '--success-stamp', '<(success_stamp)',
61               '<@(ar_background_js_files)',
62               '<@(remoting_webapp_js_proto_files)',
63             ],
64           },
65         ],  # actions
66       }],
67     ],  # conditions
68   },
70   'targets': [
71     {
72       'target_name': 'ar_sample_app',
73       'app_id': 'ljacajndfccfgnfohlgkdphmbnpkjflk',
74       'app_name': 'App Remoting Client',
75       'app_description': 'App Remoting client',
76     },
77   ],  # end of targets