ProfilePolicyConnectorFactory: Refactoring from Profile to BrowserContext.
[chromium-blink-merge.git] / remoting / app_remoting_webapp.gyp
blobd9d8cda856e6b677e489c53e87197c498d6376ae
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_id': 'ljacajndfccfgnfohlgkdphmbnpkjflk',
75       'app_name': 'App Remoting Client',
76       'app_description': 'App Remoting client',
77       'app_capabilities': ['GOOGLE_DRIVE'],
78     },
79   ],  # end of targets