Roll src/third_party/WebKit 648ff04:b36e957 (svn 190807:190816)
[chromium-blink-merge.git] / remoting / app_remoting_webapp.gyp
blobde11d0f80c44f93e3add93b72e53ce81d2459254
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       # Sample AppRemoting app.
73       'target_name': 'ar_sample_app',
74       'app_key': 'Sample_App',
75       'app_id': 'ljacajndfccfgnfohlgkdphmbnpkjflk',
76       'app_client_id': 'sample_client_id',
77       'app_name': 'App Remoting Client',
78       'app_description': 'App Remoting client',
79       'app_capabilities': ['GOOGLE_DRIVE'],
80     },
81   ],  # end of targets