Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 'remoting_webapp_info_files': [ | 7 'remoting_webapp_info_files': [ |
| 8 'resources/chromoting16.webp', | 8 'resources/chromoting16.webp', |
| 9 'resources/chromoting48.webp', | 9 'resources/chromoting48.webp', |
| 10 'resources/chromoting128.webp', | 10 'resources/chromoting128.webp', |
| 11 ], | 11 ], |
| 12 | 12 |
| 13 # Jscompile proto files. | 13 # Jscompile proto files. |
| 14 # These provide type information for jscompile. | 14 # These provide type information for jscompile. |
| 15 'remoting_webapp_js_proto_files': [ | 15 'remoting_webapp_js_proto_files': [ |
| 16 'webapp/js_proto/chrome_proto.js', | 16 'webapp/js_proto/chrome_proto.js', |
| 17 'webapp/js_proto/chrome_cast_proto.js', | |
| 18 'webapp/js_proto/chrome_event_proto.js', | |
| 17 'webapp/js_proto/dom_proto.js', | 19 'webapp/js_proto/dom_proto.js', |
| 18 'webapp/js_proto/remoting_proto.js', | 20 'webapp/js_proto/remoting_proto.js', |
| 19 'webapp/js_proto/test_proto.js', | |
| 20 ], | 21 ], |
| 21 | 22 |
| 22 # | 23 # |
| 23 # Webapp browsertest and unittest JavaScript files. | 24 # Webapp browsertest JavaScript files. |
| 24 # | 25 # |
| 25 | 26 |
| 26 # Shared files for tests. | |
| 27 'remoting_webapp_test_js_common_files': [ | |
| 28 'webapp/unittests/mock_signal_strategy.js', | |
| 29 ], | |
| 30 # Browser test files. | 27 # Browser test files. |
| 31 'remoting_webapp_browsertest_js_files': [ | 28 'remoting_webapp_browsertest_js_files': [ |
| 32 'webapp/browser_test/browser_test.js', | 29 'webapp/browser_test/browser_test.js', |
| 33 'webapp/browser_test/bump_scroll_browser_test.js', | 30 'webapp/browser_test/bump_scroll_browser_test.js', |
| 34 'webapp/browser_test/cancel_pin_browser_test.js', | 31 'webapp/browser_test/cancel_pin_browser_test.js', |
| 35 'webapp/browser_test/invalid_pin_browser_test.js', | 32 'webapp/browser_test/invalid_pin_browser_test.js', |
| 36 'webapp/browser_test/it2me_browser_test.js', | 33 'webapp/browser_test/it2me_browser_test.js', |
| 34 'webapp/browser_test/scrollbar_browser_test.js', | |
| 35 'webapp/browser_test/timeout_waiter.js', | |
| 36 'webapp/browser_test/unauthenticated_browser_test.js', | |
| 37 'webapp/browser_test/update_pin_browser_test.js', | |
| 38 ], | |
| 39 # Browser test files. | |
| 40 'remoting_webapp_browsertest_js_mock_files': [ | |
| 37 'webapp/browser_test/mock_client_plugin.js', | 41 'webapp/browser_test/mock_client_plugin.js', |
| 38 'webapp/browser_test/mock_host_list_api.js', | 42 'webapp/browser_test/mock_host_list_api.js', |
| 39 'webapp/browser_test/mock_identity.js', | 43 'webapp/browser_test/mock_identity.js', |
| 40 'webapp/browser_test/mock_oauth2_api.js', | 44 'webapp/browser_test/mock_oauth2_api.js', |
| 41 'webapp/browser_test/mock_session_connector.js', | 45 'webapp/browser_test/mock_session_connector.js', |
| 42 'webapp/browser_test/scrollbar_browser_test.js', | 46 'webapp/unittests/mock_signal_strategy.js', |
| 43 'webapp/browser_test/timeout_waiter.js', | 47 ], |
| 44 'webapp/browser_test/unauthenticated_browser_test.js', | 48 'remoting_webapp_browsertest_js_proto_files': [ |
| 45 'webapp/browser_test/update_pin_browser_test.js', | 49 'webapp/js_proto/sinon_proto.js', |
| 50 'webapp/js_proto/test_proto.js', | |
| 51 '<@(remoting_webapp_js_proto_files)', | |
| 46 ], | 52 ], |
| 47 'remoting_webapp_browsertest_all_js_files': [ | 53 'remoting_webapp_browsertest_all_js_files': [ |
| 48 '<@(remoting_webapp_browsertest_js_files)', | 54 '<@(remoting_webapp_browsertest_js_files)', |
| 49 '<@(remoting_webapp_test_js_common_files)', | 55 '<@(remoting_webapp_browsertest_js_mock_files)', |
| 50 ], | 56 ], |
| 51 | 57 |
| 58 # | |
| 59 # Webapp unittest JavaScript files. | |
| 60 # | |
| 61 | |
| 52 # These product files are excluded from our JavaScript unittest | 62 # These product files are excluded from our JavaScript unittest |
| 53 'remoting_webapp_unittest_exclude_js_files': [ | 63 'remoting_webapp_unittest_exclude_js_files': [ |
| 54 # background.js is where the onLoad handler is defined, which | 64 # background.js is where the onLoad handler is defined, which |
| 55 # makes it the entry point of the background page. | 65 # makes it the entry point of the background page. |
| 56 'webapp/crd/js/background.js', | 66 'webapp/crd/js/background.js', |
| 57 ], | 67 ], |
| 58 # The unit test cases for the webapp | 68 # The unit test cases for the webapp |
| 59 'remoting_webapp_unittest_js_files': [ | 69 'remoting_webapp_unittest_js_files': [ |
| 60 'webapp/unittests/chrome_mocks.js', | |
| 61 'webapp/js_proto/chrome_proto.js', | |
| 62 'webapp/unittests/apps_v2_migration_unittest.js', | 70 'webapp/unittests/apps_v2_migration_unittest.js', |
| 63 'webapp/unittests/base_unittest.js', | 71 'webapp/unittests/base_unittest.js', |
| 64 'webapp/unittests/desktop_viewport_unittest.js', | 72 'webapp/unittests/desktop_viewport_unittest.js', |
| 65 'webapp/unittests/dns_blackhole_checker_unittest.js', | 73 'webapp/unittests/dns_blackhole_checker_unittest.js', |
| 66 'webapp/unittests/event_hook_unittest.js', | 74 'webapp/unittests/event_hook_unittest.js', |
| 67 'webapp/unittests/fallback_signal_strategy_unittest.js', | 75 'webapp/unittests/fallback_signal_strategy_unittest.js', |
| 68 'webapp/unittests/ipc_unittest.js', | 76 'webapp/unittests/ipc_unittest.js', |
| 69 'webapp/unittests/it2me_helpee_channel_unittest.js', | 77 'webapp/unittests/it2me_helpee_channel_unittest.js', |
| 70 'webapp/unittests/it2me_helper_channel_unittest.js', | 78 'webapp/unittests/it2me_helper_channel_unittest.js', |
| 71 'webapp/unittests/it2me_service_unittest.js', | 79 'webapp/unittests/it2me_service_unittest.js', |
| 72 'webapp/unittests/l10n_unittest.js', | 80 'webapp/unittests/l10n_unittest.js', |
| 73 'webapp/unittests/menu_button_unittest.js', | 81 'webapp/unittests/menu_button_unittest.js', |
| 74 'webapp/unittests/xmpp_connection_unittest.js', | 82 'webapp/unittests/xmpp_connection_unittest.js', |
| 75 'webapp/unittests/xmpp_login_handler_unittest.js', | 83 'webapp/unittests/xmpp_login_handler_unittest.js', |
| 76 'webapp/unittests/xmpp_stream_parser_unittest.js', | 84 'webapp/unittests/xmpp_stream_parser_unittest.js', |
| 77 ], | 85 ], |
| 86 'remoting_webapp_unittest_js_mock_files': [ | |
| 87 # Some proto files can be repurposed as simple mocks for the unittests. | |
| 88 # Note that some defs in chrome_proto are overwritten by chrome_mocks. | |
| 89 'webapp/js_proto/chrome_proto.js', | |
|
kelvinp
2015/02/26 00:31:30
I thought we are getting rid of chrome_proto.js
garykac
2015/02/28 02:33:33
I removed the parts that needed to be moved out, b
| |
| 90 'webapp/unittests/chrome_mocks.js', | |
| 91 'webapp/unittests/mock_signal_strategy.js', | |
| 92 'webapp/unittests/sinon_helpers.js', | |
| 93 'webapp/unittests/test_start.js', | |
| 94 ], | |
| 95 # Prototypes for objects that are not mocked. | |
| 96 'remoting_webapp_unittest_js_proto_files': [ | |
| 97 'webapp/js_proto/chrome_cast_proto.js', | |
| 98 'webapp/js_proto/dom_proto.js', | |
| 99 'webapp/js_proto/remoting_proto.js', | |
| 100 'webapp/js_proto/qunit_proto.js', | |
| 101 'webapp/js_proto/sinon_proto.js', | |
| 102 'webapp/js_proto/sinon_stub_proto.js', | |
| 103 ], | |
| 78 'remoting_webapp_unittest_all_js_files': [ | 104 'remoting_webapp_unittest_all_js_files': [ |
| 79 '<@(remoting_webapp_unittest_js_files)', | 105 '<@(remoting_webapp_unittest_js_files)', |
| 80 '<@(remoting_webapp_test_js_common_files)', | 106 '<@(remoting_webapp_unittest_js_mock_files)', |
| 81 ], | 107 ], |
| 108 # All the files needed to run the unittests. | |
| 82 'remoting_webapp_unittest_all_files': [ | 109 'remoting_webapp_unittest_all_files': [ |
| 83 'webapp/crd/html/menu_button.css', | 110 'webapp/crd/html/menu_button.css', |
| 84 '<@(remoting_webapp_unittest_all_js_files)', | 111 '<@(remoting_webapp_unittest_all_js_files)', |
| 85 ], | 112 ], |
| 86 'remoting_webapp_unittest_template_main': | 113 'remoting_webapp_unittest_template_main': |
| 87 'webapp/crd/html/template_unittest.html', | 114 'webapp/crd/html/template_unittest.html', |
| 88 | 115 |
| 89 # | 116 # |
| 90 # Webapp JavaScript file groups. | 117 # Webapp JavaScript file groups. |
| 91 # | 118 # |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 392 'webapp/crd/manifest.json.jinja2', | 419 'webapp/crd/manifest.json.jinja2', |
| 393 '<(remoting_webapp_template_main)', | 420 '<(remoting_webapp_template_main)', |
| 394 '<(remoting_webapp_template_wcs_sandbox)', | 421 '<(remoting_webapp_template_wcs_sandbox)', |
| 395 '<(remoting_webapp_template_background)', | 422 '<(remoting_webapp_template_background)', |
| 396 '<@(remoting_webapp_template_files)', | 423 '<@(remoting_webapp_template_files)', |
| 397 '<@(remoting_webapp_crd_js_files)', | 424 '<@(remoting_webapp_crd_js_files)', |
| 398 ], | 425 ], |
| 399 | 426 |
| 400 }, | 427 }, |
| 401 } | 428 } |
| OLD | NEW |