Index: chrome/test/BUILD.gn |
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn |
index 034f25cfe427637006b3c88dafb0aeade7ba56b3..6d06f49c251df2982646da438325e9cf89c0f046 100644 |
--- a/chrome/test/BUILD.gn |
+++ b/chrome/test/BUILD.gn |
@@ -1169,6 +1169,19 @@ if (!is_android) { |
"../renderer/safe_browsing/phishing_classifier_browsertest.cc", |
"../renderer/safe_browsing/phishing_classifier_delegate_browsertest.cc", |
] |
+ |
+ # The browser window can be views or Cocoa on Mac. Test accordingly. |
+ if (mac_views_browser) { |
+ sources += rebase_path( |
+ chrome_tests_gypi_values.chrome_browser_tests_views_non_mac_sources, |
+ ".", |
+ "//chrome") |
+ } else { |
+ sources += rebase_path( |
+ chrome_tests_gypi_values.chrome_browser_tests_cocoa_sources, |
+ ".", |
+ "//chrome") |
+ } |
} |
if (is_mac || is_win) { |
sources += [ |