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

Unified Diff: ui/message_center/message_center.gyp

Issue 12742005: Added text line limits to collapsed and expanded notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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
Index: ui/message_center/message_center.gyp
diff --git a/ui/message_center/message_center.gyp b/ui/message_center/message_center.gyp
index 00139ec92de9fdb2906c5e5355702b18f7237cc9..4bea4135eb49429c79e290c9d94c919cca234632 100644
--- a/ui/message_center/message_center.gyp
+++ b/ui/message_center/message_center.gyp
@@ -46,6 +46,8 @@
'notification_types.h',
'notifier_settings.cc',
'notifier_settings.h',
+ 'views/bounded_label.cc',
+ 'views/bounded_label.h',
'views/message_bubble_base.cc',
'views/message_bubble_base.h',
'views/message_center_bubble.cc',
@@ -76,23 +78,35 @@
],
}],
],
- },
+ }, # target_name: message_center
{
'target_name': 'message_center_unittests',
'type': 'executable',
'dependencies': [
- '../../base/base.gyp:base',
- '../../base/base.gyp:run_all_unittests',
'../../base/base.gyp:test_support_base',
'../../skia/skia.gyp:skia',
'../../testing/gtest.gyp:gtest',
- '../ui.gyp:ui',
'message_center',
],
'sources': [
'message_center_tray_unittest.cc',
'notification_list_unittest.cc',
+ 'run_all_unittests.cc',
+ ],
+ 'conditions': [
+ ['toolkit_views==1', {
+ 'dependencies': [
+ # The BoundedLabel unit tests use fonts, and fonts require the
+ # compositor and its test support.
+ '../compositor/compositor.gyp:compositor',
+ '../compositor/compositor.gyp:compositor_test_support',
+ '../views/views.gyp:views',
+ ],
+ 'sources': [
+ 'views/bounded_label_unittest.cc',
+ ],
+ }],
],
- },
+ }, # target_name: message_center_unittests
],
}

Powered by Google App Engine
This is Rietveld 408576698