Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Side by Side Diff: remoting/remoting_webapp_files.gypi

Issue 1004513002: Eliminated named constants for instances of remoting.Error. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 7
8 # Jscompile proto files. 8 # Jscompile proto files.
9 # These provide type information for jscompile. 9 # These provide type information for jscompile.
10 'remoting_webapp_js_proto_files': [ 10 'remoting_webapp_js_proto_files': [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 'remoting_webapp_browsertest_all_js_files': [ 48 'remoting_webapp_browsertest_all_js_files': [
49 '<@(remoting_webapp_browsertest_js_files)', 49 '<@(remoting_webapp_browsertest_js_files)',
50 '<@(remoting_webapp_browsertest_js_mock_files)', 50 '<@(remoting_webapp_browsertest_js_mock_files)',
51 ], 51 ],
52 52
53 # 53 #
54 # Webapp unittest JavaScript files. 54 # Webapp unittest JavaScript files.
55 # 55 #
56 56
57 # These product files are excluded from our JavaScript unittest 57 # These product files are excluded from our JavaScript unittest
58 'remoting_webapp_unittests_exclude_js_files': [ 58 'remoting_webapp_unittest_exclude_js_files': [
59 # background.js is where the onLoad handler is defined, which 59 # background.js is where the onLoad handler is defined, which
60 # makes it the entry point of the background page. 60 # makes it the entry point of the background page.
61 'webapp/crd/js/background.js', 61 'webapp/crd/js/background.js',
62 ], 62 ],
63 # The unit test cases for the webapp 63 # The unit test cases for the webapp
64 'remoting_webapp_unittests_js_files': [ 64 'remoting_webapp_unittests_js_files': [
65 'webapp/base/js/base_unittest.js', 65 'webapp/base/js/base_unittest.js',
66 'webapp/base/js/base_event_hook_unittest.js', 66 'webapp/base/js/base_event_hook_unittest.js',
67 'webapp/base/js/ipc_unittest.js', 67 'webapp/base/js/ipc_unittest.js',
68 'webapp/crd/js/apps_v2_migration_unittest.js', 68 'webapp/crd/js/apps_v2_migration_unittest.js',
69 'webapp/crd/js/desktop_viewport_unittest.js', 69 'webapp/crd/js/desktop_viewport_unittest.js',
70 'webapp/crd/js/dns_blackhole_checker_unittest.js', 70 'webapp/crd/js/dns_blackhole_checker_unittest.js',
71 'webapp/crd/js/error_unittest.js',
71 'webapp/crd/js/fallback_signal_strategy_unittest.js', 72 'webapp/crd/js/fallback_signal_strategy_unittest.js',
72 'webapp/crd/js/host_table_entry_unittest.js', 73 'webapp/crd/js/host_table_entry_unittest.js',
73 'webapp/crd/js/l10n_unittest.js', 74 'webapp/crd/js/l10n_unittest.js',
74 'webapp/crd/js/menu_button_unittest.js', 75 'webapp/crd/js/menu_button_unittest.js',
75 'webapp/crd/js/xhr_unittest.js', 76 'webapp/crd/js/xhr_unittest.js',
76 'webapp/crd/js/xmpp_connection_unittest.js', 77 'webapp/crd/js/xmpp_connection_unittest.js',
77 'webapp/crd/js/xmpp_login_handler_unittest.js', 78 'webapp/crd/js/xmpp_login_handler_unittest.js',
78 'webapp/crd/js/xmpp_stream_parser_unittest.js', 79 'webapp/crd/js/xmpp_stream_parser_unittest.js',
79 ], 80 ],
80 'remoting_webapp_unittests_js_mock_files': [ 81 'remoting_webapp_unittest_js_mock_files': [
81 # Some proto files can be repurposed as simple mocks for the unittests. 82 # Some proto files can be repurposed as simple mocks for the unittests.
82 # Note that some defs in chrome_proto are overwritten by chrome_mocks. 83 # Note that some defs in chrome_proto are overwritten by chrome_mocks.
83 'webapp/crd/js/mock_signal_strategy.js',
84 'webapp/js_proto/chrome_proto.js', 84 'webapp/js_proto/chrome_proto.js',
85 'webapp/js_proto/chrome_mocks.js', 85 'webapp/unittests/chrome_mocks.js',
86 'webapp/unittests/mock_signal_strategy.js',
86 'webapp/unittests/sinon_helpers.js', 87 'webapp/unittests/sinon_helpers.js',
87 ], 88 ],
88 # Prototypes for objects that are not mocked. 89 # Prototypes for objects that are not mocked.
89 'remoting_webapp_unittests_js_proto_files': [ 90 'remoting_webapp_unittest_js_proto_files': [
90 'webapp/js_proto/chrome_cast_proto.js', 91 'webapp/js_proto/chrome_cast_proto.js',
91 'webapp/js_proto/dom_proto.js', 92 'webapp/js_proto/dom_proto.js',
92 'webapp/js_proto/remoting_proto.js', 93 'webapp/js_proto/remoting_proto.js',
93 'webapp/js_proto/qunit_proto.js', 94 'webapp/js_proto/qunit_proto.js',
94 'webapp/js_proto/sinon_proto.js', 95 'webapp/js_proto/sinon_proto.js',
95 ], 96 ],
96 'remoting_webapp_unittests_all_js_files': [ 97 'remoting_webapp_unittest_all_js_files': [
97 '<@(remoting_webapp_unittests_js_files)', 98 '<@(remoting_webapp_unittest_js_files)',
98 '<@(remoting_webapp_unittests_js_mock_files)', 99 '<@(remoting_webapp_unittest_js_mock_files)',
99 ], 100 ],
100 # All the files needed to run the unittests. 101 # All the files needed to run the unittests.
101 'remoting_webapp_unittests_all_files': [ 102 'remoting_webapp_unittest_all_files': [
102 'webapp/crd/html/menu_button.css', 103 'webapp/crd/html/menu_button.css',
103 '<@(remoting_webapp_unittests_all_js_files)', 104 '<@(remoting_webapp_unittest_all_js_files)',
104 ], 105 ],
105 'remoting_webapp_unittests_template_main': 106 'remoting_webapp_unittest_template_main':
106 'webapp/crd/html/template_unittests.html', 107 'webapp/crd/html/template_unittest.html',
107 108
108 # 109 #
109 # Webapp JavaScript file groups. 110 # Webapp JavaScript file groups.
110 # 111 #
111 112
112 # Auth (apps v1) JavaScript files. 113 # Auth (apps v1) JavaScript files.
113 # These files aren't included directly from main.html. They are 114 # These files aren't included directly from main.html. They are
114 # referenced from the manifest.json file (appsv1 only). 115 # referenced from the manifest.json file (appsv1 only).
115 'remoting_webapp_js_auth_v1_files': [ 116 'remoting_webapp_js_auth_v1_files': [
116 'webapp/crd/js/cs_third_party_auth_trampoline.js', # client to host 117 'webapp/crd/js/cs_third_party_auth_trampoline.js', # client to host
(...skipping 17 matching lines...) Expand all
134 'remoting_webapp_js_cast_extension_files': [ 135 'remoting_webapp_js_cast_extension_files': [
135 'webapp/crd/js/cast_extension_handler.js', 136 'webapp/crd/js/cast_extension_handler.js',
136 ], 137 ],
137 # Client JavaScript files. 138 # Client JavaScript files.
138 'remoting_webapp_js_client_files': [ 139 'remoting_webapp_js_client_files': [
139 'webapp/crd/js/client_plugin.js', 140 'webapp/crd/js/client_plugin.js',
140 'webapp/crd/js/client_plugin_impl.js', 141 'webapp/crd/js/client_plugin_impl.js',
141 'webapp/crd/js/client_plugin_host_desktop_impl.js', 142 'webapp/crd/js/client_plugin_host_desktop_impl.js',
142 'webapp/crd/js/client_session.js', 143 'webapp/crd/js/client_session.js',
143 'webapp/crd/js/clipboard.js', 144 'webapp/crd/js/clipboard.js',
144 'webapp/crd/js/connected_view.js',
145 'webapp/crd/js/credentials_provider.js', 145 'webapp/crd/js/credentials_provider.js',
146 'webapp/crd/js/desktop_connected_view.js', 146 'webapp/crd/js/desktop_connected_view.js',
147 'webapp/crd/js/host_desktop.js', 147 'webapp/crd/js/host_desktop.js',
148 'webapp/crd/js/session_connector.js', 148 'webapp/crd/js/session_connector.js',
149 'webapp/crd/js/session_connector_impl.js', 149 'webapp/crd/js/session_connector_impl.js',
150 'webapp/crd/js/smart_reconnector.js', 150 'webapp/crd/js/smart_reconnector.js',
151 'webapp/crd/js/video_frame_recorder.js', 151 'webapp/crd/js/video_frame_recorder.js',
152 ], 152 ],
153 # Remoting core JavaScript files. 153 # Remoting core JavaScript files.
154 'remoting_webapp_js_core_files': [ 154 'remoting_webapp_js_core_files': [
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 ], 262 ],
263 263
264 # The CRD-specific JavaScript files required by main.html. 264 # The CRD-specific JavaScript files required by main.html.
265 'remoting_webapp_crd_main_html_all_js_files': [ 265 'remoting_webapp_crd_main_html_all_js_files': [
266 '<@(remoting_webapp_shared_main_html_js_files)', 266 '<@(remoting_webapp_shared_main_html_js_files)',
267 'webapp/crd/js/crd_connect.js', 267 'webapp/crd/js/crd_connect.js',
268 'webapp/crd/js/crd_event_handlers.js', 268 'webapp/crd/js/crd_event_handlers.js',
269 'webapp/crd/js/crd_main.js', 269 'webapp/crd/js/crd_main.js',
270 'webapp/crd/js/desktop_remoting.js', 270 'webapp/crd/js/desktop_remoting.js',
271 'webapp/crd/js/it2me_connect_flow.js', 271 'webapp/crd/js/it2me_connect_flow.js',
272 'webapp/crd/js/me2me_connect_flow.js',
273 ], 272 ],
274 273
275 # These template files are used to construct main.html. 274 # These template files are used to construct main.html.
276 'remoting_webapp_template_files': [ 275 'remoting_webapp_template_files': [
277 'webapp/base/html/client_plugin.html', 276 'webapp/base/html/client_plugin.html',
278 'webapp/base/html/dialog_auth.html', 277 'webapp/base/html/dialog_auth.html',
279 'webapp/crd/html/butter_bar.html', 278 'webapp/crd/html/butter_bar.html',
280 'webapp/crd/html/dialog_client_connect_failed.html', 279 'webapp/crd/html/dialog_client_connect_failed.html',
281 'webapp/crd/html/dialog_client_connecting.html', 280 'webapp/crd/html/dialog_client_connecting.html',
282 'webapp/crd/html/dialog_client_host_needs_upgrade.html', 281 'webapp/crd/html/dialog_client_host_needs_upgrade.html',
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 '<(remoting_webapp_template_background)', 449 '<(remoting_webapp_template_background)',
451 '<(remoting_webapp_template_main)', 450 '<(remoting_webapp_template_main)',
452 '<(remoting_webapp_template_message_window)', 451 '<(remoting_webapp_template_message_window)',
453 '<(remoting_webapp_template_wcs_sandbox)', 452 '<(remoting_webapp_template_wcs_sandbox)',
454 '<@(remoting_webapp_template_files)', 453 '<@(remoting_webapp_template_files)',
455 '<@(remoting_webapp_crd_js_files)', 454 '<@(remoting_webapp_crd_js_files)',
456 ], 455 ],
457 456
458 }, 457 },
459 } 458 }
OLDNEW
« no previous file with comments | « no previous file | remoting/webapp/app_remoting/js/app_remoting.js » ('j') | remoting/webapp/base/js/application.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698