Index: chrome/browser/ui/BUILD.gn |
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn |
index bac985e14bb1bd040828cf4f2b293f5394eb5288..5c27fc52f0a3d10806e3cd933b5c2b3ec66f2670 100644 |
--- a/chrome/browser/ui/BUILD.gn |
+++ b/chrome/browser/ui/BUILD.gn |
@@ -440,11 +440,16 @@ source_set("test_support") { |
"pdf/pdf_browsertest_base.h", |
"test/test_confirm_bubble_model.cc", |
"test/test_confirm_bubble_model.h", |
- "views/find_bar_host_unittest_util_views.cc", |
"website_settings/mock_permission_bubble_request.cc", |
"website_settings/mock_permission_bubble_request.h", |
] |
+ if (toolkit_views) { |
+ sources += [ |
+ "views/find_bar_host_unittest_util_views.cc", |
+ ] |
+ } |
+ |
public_deps = [ |
":ui", |
] |