Improve brave_interactive_ui_tests target (#36297)

Added missing //chrome/installer/util:strings deps on Windows
- some installer strings are used in admin user
- used BraveTestLauncherDelegate
This commit is contained in:
Simon Hong
2026-05-12 20:11:10 +09:00
committed by GitHub
parent 36e67de5f0
commit a9381fecc2
2 changed files with 20 additions and 0 deletions
@@ -0,0 +1,15 @@
/* Copyright (c) 2026 The Brave Authors. All rights reserved.
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at https://mozilla.org/MPL/2.0/. */
#include "brave/test/base/brave_test_launcher_delegate.h"
// Apply Brave-specific behavior change in the test launcher delegate.
// * Suppress first run dialog (Mac/Linux).
// * Suppress browser window closing dialog.
#define ChromeTestLauncherDelegate BraveTestLauncherDelegate
#include <chrome/test/base/interactive_ui_tests_main.cc>
#undef ChromeTestLauncherDelegate
+5
View File
@@ -760,6 +760,7 @@ if (!is_android) {
sources = [ "//chrome/test/base/interactive_ui_tests_main.cc" ]
deps = [
":browser_test_support",
"//brave:packed_resources",
"//chrome:packed_resources",
"//chrome/browser",
@@ -770,6 +771,10 @@ if (!is_android) {
"//ui/compositor",
]
if (is_win) {
deps += [ "//chrome/installer/util:strings" ]
}
if (enable_commander) {
deps += [ "//brave/browser/ui/commander:interactive_ui_tests" ]
}