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

Unified Diff: ui/message_center/BUILD.gn

Issue 507373002: MacViews: All targets compile. Fixes unit_tests and message_center_unittests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@20140827-MacViews-WebContentsViewDelegateMac
Patch Set: +comment, +gn changes Created 6 years, 3 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 | « chrome/chrome_tests_unit.gypi ('k') | ui/message_center/message_center.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/BUILD.gn
diff --git a/ui/message_center/BUILD.gn b/ui/message_center/BUILD.gn
index 96315b55d7654ae01f54a6cffba43936c8545d2b..2f76a6ae02ad53238a6e0cee013082c67565b2e5 100644
--- a/ui/message_center/BUILD.gn
+++ b/ui/message_center/BUILD.gn
@@ -76,7 +76,9 @@ component("message_center") {
deps += [ "//ui/aura" ]
}
- if (toolkit_views) {
+ # On Mac, toolkit-views builds still use the Cocoa UI. Keep this in sync
+ # with message_center_unittests below.
+ if (toolkit_views && !is_mac) {
sources += [
"views/bounded_label.cc",
"views/bounded_label.h",
@@ -208,7 +210,7 @@ test("message_center_unittests") {
deps += [ "//ui/gfx:test_support" ]
}
- if (toolkit_views) {
+ if (toolkit_views && !is_mac) {
sources += [
"views/bounded_label_unittest.cc",
"views/message_center_view_unittest.cc",
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | ui/message_center/message_center.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698