| 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 | 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 15 matching lines...) Expand all Loading... |
| 26 'webapp/browser_test/cancel_pin_browser_test.js', | 26 'webapp/browser_test/cancel_pin_browser_test.js', |
| 27 'webapp/browser_test/invalid_pin_browser_test.js', | 27 'webapp/browser_test/invalid_pin_browser_test.js', |
| 28 'webapp/browser_test/it2me_browser_test.js', | 28 'webapp/browser_test/it2me_browser_test.js', |
| 29 'webapp/browser_test/scrollbar_browser_test.js', | 29 'webapp/browser_test/scrollbar_browser_test.js', |
| 30 'webapp/browser_test/timeout_waiter.js', | 30 'webapp/browser_test/timeout_waiter.js', |
| 31 'webapp/browser_test/unauthenticated_browser_test.js', | 31 'webapp/browser_test/unauthenticated_browser_test.js', |
| 32 'webapp/browser_test/update_pin_browser_test.js', | 32 'webapp/browser_test/update_pin_browser_test.js', |
| 33 ], | 33 ], |
| 34 # Browser test files. | 34 # Browser test files. |
| 35 'remoting_webapp_browsertest_js_mock_files': [ | 35 'remoting_webapp_browsertest_js_mock_files': [ |
| 36 'webapp/browser_test/mock_client_plugin.js', | 36 'webapp/crd/js/mock_client_plugin.js', |
| 37 'webapp/browser_test/mock_host_list_api.js', | 37 'webapp/crd/js/mock_host_list_api.js', |
| 38 'webapp/browser_test/mock_identity.js', | 38 'webapp/crd/js/mock_identity.js', |
| 39 'webapp/browser_test/mock_oauth2_api.js', | 39 'webapp/crd/js/mock_oauth2_api.js', |
| 40 'webapp/browser_test/mock_session_connector.js', | 40 'webapp/crd/js/mock_session_connector.js', |
| 41 'webapp/unittests/mock_signal_strategy.js', | 41 'webapp/crd/js/mock_signal_strategy.js', |
| 42 ], | 42 ], |
| 43 'remoting_webapp_browsertest_js_proto_files': [ | 43 'remoting_webapp_browsertest_js_proto_files': [ |
| 44 'webapp/js_proto/sinon_proto.js', | 44 'webapp/js_proto/sinon_proto.js', |
| 45 'webapp/js_proto/test_proto.js', | 45 'webapp/js_proto/test_proto.js', |
| 46 '<@(remoting_webapp_js_proto_files)', | 46 '<@(remoting_webapp_js_proto_files)', |
| 47 ], | 47 ], |
| 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_unittest_exclude_js_files': [ | 58 'remoting_webapp_unittests_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_unittest_js_files': [ | 64 'remoting_webapp_unittests_js_files': [ |
| 65 'webapp/unittests/apps_v2_migration_unittest.js', | 65 'webapp/base/js/base_unittest.js', |
| 66 'webapp/unittests/base_unittest.js', | 66 'webapp/base/js/base_event_hook_unittest.js', |
| 67 'webapp/unittests/desktop_viewport_unittest.js', | 67 'webapp/base/js/ipc_unittest.js', |
| 68 'webapp/unittests/dns_blackhole_checker_unittest.js', | 68 'webapp/crd/js/apps_v2_migration_unittest.js', |
| 69 'webapp/unittests/event_hook_unittest.js', | 69 'webapp/crd/js/desktop_viewport_unittest.js', |
| 70 'webapp/unittests/fallback_signal_strategy_unittest.js', | 70 'webapp/crd/js/dns_blackhole_checker_unittest.js', |
| 71 'webapp/unittests/host_table_entry_unittest.js', | 71 'webapp/crd/js/fallback_signal_strategy_unittest.js', |
| 72 'webapp/unittests/ipc_unittest.js', | 72 'webapp/crd/js/host_table_entry_unittest.js', |
| 73 'webapp/unittests/l10n_unittest.js', | 73 'webapp/crd/js/l10n_unittest.js', |
| 74 'webapp/unittests/menu_button_unittest.js', | 74 'webapp/crd/js/menu_button_unittest.js', |
| 75 'webapp/unittests/xhr_unittest.js', | 75 'webapp/crd/js/xhr_unittest.js', |
| 76 'webapp/unittests/xmpp_connection_unittest.js', | 76 'webapp/crd/js/xmpp_connection_unittest.js', |
| 77 'webapp/unittests/xmpp_login_handler_unittest.js', | 77 'webapp/crd/js/xmpp_login_handler_unittest.js', |
| 78 'webapp/unittests/xmpp_stream_parser_unittest.js', | 78 'webapp/crd/js/xmpp_stream_parser_unittest.js', |
| 79 ], | 79 ], |
| 80 'remoting_webapp_unittest_js_mock_files': [ | 80 'remoting_webapp_unittests_js_mock_files': [ |
| 81 # Some proto files can be repurposed as simple mocks for the unittests. | 81 # 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. | 82 # Note that some defs in chrome_proto are overwritten by chrome_mocks. |
| 83 'webapp/crd/js/mock_signal_strategy.js', |
| 83 'webapp/js_proto/chrome_proto.js', | 84 'webapp/js_proto/chrome_proto.js', |
| 84 'webapp/unittests/chrome_mocks.js', | 85 'webapp/js_proto/chrome_mocks.js', |
| 85 'webapp/unittests/mock_signal_strategy.js', | |
| 86 'webapp/unittests/sinon_helpers.js', | 86 'webapp/unittests/sinon_helpers.js', |
| 87 ], | 87 ], |
| 88 # Prototypes for objects that are not mocked. | 88 # Prototypes for objects that are not mocked. |
| 89 'remoting_webapp_unittest_js_proto_files': [ | 89 'remoting_webapp_unittests_js_proto_files': [ |
| 90 'webapp/js_proto/chrome_cast_proto.js', | 90 'webapp/js_proto/chrome_cast_proto.js', |
| 91 'webapp/js_proto/dom_proto.js', | 91 'webapp/js_proto/dom_proto.js', |
| 92 'webapp/js_proto/remoting_proto.js', | 92 'webapp/js_proto/remoting_proto.js', |
| 93 'webapp/js_proto/qunit_proto.js', | 93 'webapp/js_proto/qunit_proto.js', |
| 94 'webapp/js_proto/sinon_proto.js', | 94 'webapp/js_proto/sinon_proto.js', |
| 95 ], | 95 ], |
| 96 'remoting_webapp_unittest_all_js_files': [ | 96 'remoting_webapp_unittests_all_js_files': [ |
| 97 '<@(remoting_webapp_unittest_js_files)', | 97 '<@(remoting_webapp_unittests_js_files)', |
| 98 '<@(remoting_webapp_unittest_js_mock_files)', | 98 '<@(remoting_webapp_unittests_js_mock_files)', |
| 99 ], | 99 ], |
| 100 # All the files needed to run the unittests. | 100 # All the files needed to run the unittests. |
| 101 'remoting_webapp_unittest_all_files': [ | 101 'remoting_webapp_unittests_all_files': [ |
| 102 'webapp/crd/html/menu_button.css', | 102 'webapp/crd/html/menu_button.css', |
| 103 '<@(remoting_webapp_unittest_all_js_files)', | 103 '<@(remoting_webapp_unittests_all_js_files)', |
| 104 ], | 104 ], |
| 105 'remoting_webapp_unittest_template_main': | 105 'remoting_webapp_unittests_template_main': |
| 106 'webapp/crd/html/template_unittest.html', | 106 'webapp/crd/html/template_unittests.html', |
| 107 | 107 |
| 108 # | 108 # |
| 109 # Webapp JavaScript file groups. | 109 # Webapp JavaScript file groups. |
| 110 # | 110 # |
| 111 | 111 |
| 112 # Auth (apps v1) JavaScript files. | 112 # Auth (apps v1) JavaScript files. |
| 113 # These files aren't included directly from main.html. They are | 113 # These files aren't included directly from main.html. They are |
| 114 # referenced from the manifest.json file (appsv1 only). | 114 # referenced from the manifest.json file (appsv1 only). |
| 115 'remoting_webapp_js_auth_v1_files': [ | 115 'remoting_webapp_js_auth_v1_files': [ |
| 116 'webapp/crd/js/cs_third_party_auth_trampoline.js', # client to host | 116 'webapp/crd/js/cs_third_party_auth_trampoline.js', # client to host |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 447 '<(remoting_webapp_template_background)', | 447 '<(remoting_webapp_template_background)', |
| 448 '<(remoting_webapp_template_main)', | 448 '<(remoting_webapp_template_main)', |
| 449 '<(remoting_webapp_template_message_window)', | 449 '<(remoting_webapp_template_message_window)', |
| 450 '<(remoting_webapp_template_wcs_sandbox)', | 450 '<(remoting_webapp_template_wcs_sandbox)', |
| 451 '<@(remoting_webapp_template_files)', | 451 '<@(remoting_webapp_template_files)', |
| 452 '<@(remoting_webapp_crd_js_files)', | 452 '<@(remoting_webapp_crd_js_files)', |
| 453 ], | 453 ], |
| 454 | 454 |
| 455 }, | 455 }, |
| 456 } | 456 } |
| OLD | NEW |