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

Unified Diff: chrome/browser/ui/BUILD.gn

Issue 2691343009: [WebPayments] Enabling unit + browser tests on Mac (Closed)
Patch Set: Take 3 Created 3 years, 10 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
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/BUILD.gn
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
index 07378267e5e0857ac33462450d7fc192be1e448c..e99e81343047d6158916f7bc8c4c1926777dd4e9 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -3488,21 +3488,25 @@ static_library("test_support") {
"//ui/shell_dialogs",
]
- if (toolkit_views && (!is_mac || mac_views_browser)) {
+ if (toolkit_views) {
sources += [
- "views/find_bar_host_unittest_util_views.cc",
"views/payments/test_chrome_payment_request_delegate.cc",
"views/payments/test_chrome_payment_request_delegate.h",
- "views/toolbar/browser_action_test_util_views.cc",
]
- if (!is_mac) {
- deps += [ "//ui/aura" ]
+ if (!is_mac || mac_views_browser) {
+ sources += [
+ "views/find_bar_host_unittest_util_views.cc",
+ "views/toolbar/browser_action_test_util_views.cc",
+ ]
+ if (!is_mac) {
+ deps += [ "//ui/aura" ]
+ }
+ } else {
+ sources += [
+ "cocoa/extensions/browser_action_test_util_mac.mm",
+ "cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm",
+ ]
}
- } else {
- sources += [
- "cocoa/extensions/browser_action_test_util_mac.mm",
- "cocoa/find_bar/find_bar_host_unittest_util_cocoa.mm",
- ]
}
if (!is_android) {
« no previous file with comments | « no previous file | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698