Revert of Remove OneClickSigninHelper since it is no longer used. (patchset #5 id...
[chromium-blink-merge.git] / remoting / app_remoting_webapp.gyp
blob0a1b7c7ecc739b91d7fba3022e6d6327cc6cbb06
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           {
66             'action_name': 'Verify >(ar_app_name) feedback_consent.html',
67             'variables': {
68               'success_stamp': '<(PRODUCT_DIR)/>(_target_name)_feedback_consent_jscompile.stamp',
69             },
70             'inputs': [
71               '<@(ar_feedback_consent_html_all_js_files)',
72               '<@(remoting_webapp_js_proto_files)',
73               # Include zip as input so that this action is run after the build.
74               '<(zip_path)',
75             ],
76             'outputs': [
77               '<(success_stamp)',
78             ],
79             'action': [
80               'python', '../third_party/closure_compiler/checker.py',
81               '--strict',
82               '--no-single-file',
83               '--success-stamp', '<(success_stamp)',
84               '<@(ar_feedback_consent_html_all_js_files)',
85               '<@(remoting_webapp_js_proto_files)',
86             ],
87           },
88         ],  # actions
89       }],
90     ],  # conditions
91   },
93   'targets': [
94     {
95       # Sample AppRemoting app.
96       'target_name': 'ar_sample_app',
97       'app_key': 'Sample_App',
98       'app_id': 'ljacajndfccfgnfohlgkdphmbnpkjflk',
99       'app_client_id': 'sample_client_id',
100       'app_name': 'App Remoting Client',
101       'app_description': 'App Remoting client',
102       'app_capabilities': ['GOOGLE_DRIVE'],
103     },
104   ],  # end of targets