Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9648)

Unified Diff: chrome/test/BUILD.gn

Issue 1632323003: MacViewsBrowser: Get browser_tests linking (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update comment Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« chrome/chrome_tests.gypi ('K') | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 += [
« chrome/chrome_tests.gypi ('K') | « chrome/chrome_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698