Upstream version 5.34.98.0
[platform/framework/web/crosswalk.git] / src / remoting / remoting_webapp.gypi
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.
4
5 {
6   'variables': {
7     'remoting_webapp_info_files': [
8       'resources/chromoting16.webp',
9       'resources/chromoting48.webp',
10       'resources/chromoting128.webp',
11       'webapp/manifest.json',
12     ],
13
14     # Auth (client to host) JavaScript files.
15     'remoting_webapp_js_auth_client2host_files': [
16       'webapp/cs_third_party_auth_trampoline.js',
17       'webapp/third_party_host_permissions.js',
18       'webapp/third_party_token_fetcher.js',
19     ],
20     # Auth (Google account) JavaScript files.
21     'remoting_webapp_js_auth_google_files': [
22       'webapp/cs_oauth2_trampoline.js',
23       'webapp/identity.js',
24       'webapp/oauth2.js',
25       'webapp/oauth2_api.js',
26     ],
27     # Client JavaScript files..
28     'remoting_webapp_js_client_files': [
29       'webapp/client_plugin.js',
30       # TODO(garykac) For client_screen:
31       # * Split out pin/access code stuff into separate file.
32       # * Move client logic into session_connector
33       'webapp/client_screen.js',
34       'webapp/client_session.js',
35       'webapp/clipboard.js',
36       'webapp/session_connector.js',
37     ],
38     # Remoting core JavaScript files.
39     'remoting_webapp_js_core_files': [
40       'webapp/error.js',
41       'webapp/event_handlers.js',
42       'webapp/plugin_settings.js',
43       # TODO(garykac) Split out UI client stuff from remoting.js.
44       'webapp/remoting.js',
45       'webapp/xhr.js',
46       'webapp/xhr_proxy.js',
47     ],
48     # Host JavaScript files.
49     # Includes both it2me and me2me files.
50     'remoting_webapp_js_host_files': [
51       'webapp/host_controller.js',
52       'webapp/host_dispatcher.js',
53       'webapp/host_native_messaging.js',
54       'webapp/host_session.js',
55     ],
56     # Logging and stats JavaScript files.
57     'remoting_webapp_js_logging_files': [
58       'webapp/format_iq.js',
59       'webapp/log_to_server.js',
60       'webapp/server_log_entry.js',
61       'webapp/stats_accumulator.js',
62     ],
63     # UI JavaScript files.
64     'remoting_webapp_js_ui_files': [
65       'webapp/butter_bar.js',
66       'webapp/connection_stats.js',
67       'webapp/l10n.js',
68       'webapp/menu_button.js',
69       'webapp/ui_mode.js',
70       'webapp/toolbar.js',
71     ],
72     # UI files for controlling the local machine as a host.
73     'remoting_webapp_js_ui_host_control_files': [
74       'webapp/host_screen.js',
75       'webapp/host_setup_dialog.js',
76       'webapp/paired_client_manager.js',
77     ],
78     # UI files for displaying (in the client) info about available hosts.
79     'remoting_webapp_js_ui_host_display_files': [
80       'webapp/host.js',
81       'webapp/host_list.js',
82       'webapp/host_settings.js',
83       'webapp/host_table_entry.js',
84     ],
85     # Remoting WCS JavaScript files.
86     'remoting_webapp_js_wcs_files': [
87       'webapp/wcs.js',
88       'webapp/wcs_loader.js',
89       'webapp/wcs_sandbox_container.js',
90       'webapp/wcs_sandbox_content.js',
91     ],
92     'remoting_webapp_js_unused_files': [
93       'webapp/connection_history.js',
94     ],
95     'remoting_webapp_js_files': [
96       '<@(remoting_webapp_js_auth_client2host_files)',
97       '<@(remoting_webapp_js_auth_google_files)',
98       '<@(remoting_webapp_js_client_files)',
99       '<@(remoting_webapp_js_core_files)',
100       '<@(remoting_webapp_js_host_files)',
101       '<@(remoting_webapp_js_logging_files)',
102       '<@(remoting_webapp_js_ui_files)',
103       '<@(remoting_webapp_js_ui_host_control_files)',
104       '<@(remoting_webapp_js_ui_host_display_files)',
105       '<@(remoting_webapp_js_wcs_files)',
106     ],
107
108     'remoting_webapp_resource_files': [
109       'resources/disclosure_arrow_down.webp',
110       'resources/disclosure_arrow_right.webp',
111       'resources/host_setup_instructions.webp',
112       'resources/icon_cross.webp',
113       'resources/icon_host.webp',
114       'resources/icon_pencil.webp',
115       'resources/icon_warning.webp',
116       'resources/infographic_my_computers.webp',
117       'resources/infographic_remote_assistance.webp',
118       'resources/plus.webp',
119       'resources/reload.webp',
120       'resources/tick.webp',
121       'webapp/connection_history.css',
122       'webapp/connection_stats.css',
123       'webapp/main.css',
124       'webapp/main.html',
125       'webapp/menu_button.css',
126       'webapp/open_sans.css',
127       'webapp/open_sans.woff',
128       'webapp/scale-to-fit.webp',
129       'webapp/spinner.gif',
130       'webapp/toolbar.css',
131       'webapp/wcs_sandbox.html',
132     ],
133
134     'remoting_webapp_files': [
135       '<@(remoting_webapp_info_files)',
136       '<@(remoting_webapp_js_files)',
137       '<@(remoting_webapp_resource_files)',
138     ],
139   },
140 }