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