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