| # Copyright 2020 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//chrome/browser/resources/settings/settings.gni") |
| import("//ui/webui/resources/tools/js_modulizer.gni") |
| import("../namespace_rewrites.gni") |
| |
| js_modulizer("modulize") { |
| input_files = [ |
| "about_page_tests.js", |
| "all_sites_tests.js", |
| "appearance_fonts_page_test.js", |
| "appearance_page_test.js", |
| "autofill_page_test.js", |
| "autofill_section_test.js", |
| "basic_page_test.js", |
| "category_default_setting_tests.js", |
| "category_setting_exceptions_tests.js", |
| "checkbox_tests.js", |
| "chooser_exception_list_entry_tests.js", |
| "chooser_exception_list_tests.js", |
| "clear_browsing_data_test.js", |
| "controlled_button_tests.js", |
| "controlled_radio_button_tests.js", |
| "downloads_page_test.js", |
| "dropdown_menu_tests.js", |
| "edit_dictionary_page_test.js", |
| "extension_controlled_indicator_tests.js", |
| "fake_input_method_private.js", |
| "fake_language_settings_private.js", |
| "fake_settings_private.js", |
| "idle_load_tests.js", |
| "languages_page_tests.js", |
| "languages_tests.js", |
| "on_startup_page_tests.js", |
| "passwords_and_autofill_fake_data.js", |
| "passwords_export_test.js", |
| "password_check_test.js", |
| "passwords_section_test.js", |
| "payments_section_test.js", |
| "people_page_test.js", |
| "people_page_sync_controls_test.js", |
| "people_page_sync_page_test.js", |
| "people_page_sync_page_interactive_test.js", |
| "personalization_options_test.js", |
| "prefs_test_cases.js", |
| "prefs_tests.js", |
| "pref_util_tests.js", |
| "protocol_handlers_tests.js", |
| "recent_site_permissions_test.js", |
| "reset_page_test.js", |
| "search_engines_page_test.js", |
| "search_page_test.js", |
| "search_settings_test.js", |
| "security_keys_subpage_test.js", |
| "settings_animated_pages_test.js", |
| "settings_main_test.js", |
| "settings_menu_test.js", |
| "settings_slider_tests.js", |
| "settings_subpage_test.js", |
| "settings_textarea_tests.js", |
| "settings_toggle_button_tests.js", |
| "settings_ui_tests.js", |
| "site_data_test.js", |
| "site_data_details_subpage_tests.js", |
| "site_details_tests.js", |
| "site_details_permission_tests.js", |
| "site_entry_tests.js", |
| "site_list_entry_tests.js", |
| "site_list_tests.js", |
| "site_favicon_test.js", |
| "site_settings_page_test.js", |
| "startup_urls_page_test.js", |
| "sync_test_util.js", |
| "test_about_page_browser_proxy.js", |
| "test_extension_control_browser_proxy.js", |
| "test_languages_browser_proxy.js", |
| "test_lifetime_browser_proxy.js", |
| "test_local_data_browser_proxy.js", |
| "test_metrics_browser_proxy.js", |
| "test_open_window_proxy.js", |
| "test_password_manager_proxy.js", |
| "test_privacy_page_browser_proxy.js", |
| "test_profile_info_browser_proxy.js", |
| "test_reset_browser_proxy.js", |
| "test_search_engines_browser_proxy.js", |
| "test_site_settings_prefs_browser_proxy.js", |
| "test_sync_browser_proxy.js", |
| "test_util.js", |
| ] |
| if (is_win) { |
| input_files += [ |
| "chrome_cleanup_page_test.js", |
| "incompatible_applications_page_test.js", |
| ] |
| } |
| if (is_chromeos) { |
| input_files += [ |
| "passwords_section_test_cros.js", |
| "site_list_tests_cros.js", |
| "people_page_test_cros.js", |
| "test_android_info_browser_proxy.js", |
| ] |
| } else { |
| input_files += [ |
| "default_browser_browsertest.js", |
| "import_data_dialog_test.js", |
| "people_page_manage_profile_test.js", |
| "system_page_tests.js", |
| ] |
| } |
| namespace_rewrites = settings_namespace_rewrites + test_namespace_rewrites + [ |
| "android_info.TestAndroidInfoBrowserProxy|TestAndroidInfoBrowserProxy", |
| "android_info.TEST_ANDROID_SMS_ORIGIN|TEST_ANDROID_SMS_ORIGIN", |
| "autofill_test_util.PasswordSectionElementFactory|PasswordSectionElementFactory", |
| "autofill_test_util.PasswordManagerExpectations|PasswordManagerExpectations", |
| "autofill_test_util.AutofillManagerExpectations|AutofillManagerExpectations", |
| "autofill_test_util.PaymentsManagerExpectations|PaymentsManagerExpectations", |
| "autofill_test_util.TestAutofillManager|TestAutofillManager", |
| "autofill_test_util.TestPaymentsManager|TestPaymentsManager", |
| "autofill_test_util.create|create", |
| "autofill_test_util.makeCompromisedCredential|makeCompromisedCredential", |
| "autofill_test_util.makePasswordCheckStatus|makePasswordCheckStatus", |
| "export_passwords_tests.run|run", |
| "reset_page.TestResetBrowserProxy|TestResetBrowserProxy", |
| "settings.CHROME_CLEANUP_DEFAULT_ITEMS_TO_SHOW|CHROME_CLEANUP_DEFAULT_ITEMS_TO_SHOW", |
| "settings.ChromeCleanupIdleReason|ChromeCleanupIdleReason", |
| "settings.defaultSettingLabel|defaultSettingLabel", |
| "settings.FakeLanguageSettingsPrivate|FakeLanguageSettingsPrivate", |
| "settings.FakeInputMethodPrivate|FakeInputMethodPrivate", |
| "settings.FakeSettingsPrivate|FakeSettingsPrivate", |
| "settings.getFakeLanguagePrefs|getFakeLanguagePrefs", |
| "settings.kMenuCloseDelay|kMenuCloseDelay", |
| "settings.setLanguageSettingsPrivateApiForTest|setLanguageSettingsPrivateApiForTest", |
| "settings.setSearchManagerForTesting|setSearchManagerForTesting", |
| "settings.TestLanguagesBrowserProxy|TestLanguagesBrowserProxy", |
| "settings.TestLifetimeBrowserProxy|TestLifetimeBrowserProxy", |
| "settings_search.createSampleSearchEngine|createSampleSearchEngine", |
| "settings_search.TestSearchEnginesBrowserProxy|TestSearchEnginesBrowserProxy", |
| "sync_test_util.getSyncAllPrefs|getSyncAllPrefs", |
| "sync_test_util.setupRouterWithSyncRoutes|setupRouterWithSyncRoutes", |
| "sync_test_util.simulateSyncStatus|simulateSyncStatus", |
| "sync_test_util.simulateStoredAccounts|simulateStoredAccounts", |
| "test_util.createContentSettingTypeToValuePair|createContentSettingTypeToValuePair", |
| "test_util.createDefaultContentSetting|createDefaultContentSetting", |
| "test_util.createOriginInfo|createOriginInfo", |
| "test_util.createRawChooserException|createRawChooserException", |
| "test_util.createRawSiteException|createRawSiteException", |
| "test_util.createSiteGroup|createSiteGroup", |
| "test_util.createSiteSettingsPrefs|createSiteSettingsPrefs", |
| "test_util.getContentSettingsTypeFromChooserType|getContentSettingsTypeFromChooserType", |
| "test_util.setupPopstateListener|setupPopstateListener", |
| ] |
| } |