Index: ui/message_center/message_center.gyp |
diff --git a/ui/message_center/message_center.gyp b/ui/message_center/message_center.gyp |
index bd8a07a9ece9ecbedd5be3efcbdf10edb5582af1..00139ec92de9fdb2906c5e5355702b18f7237cc9 100644 |
--- a/ui/message_center/message_center.gyp |
+++ b/ui/message_center/message_center.gyp |
@@ -20,7 +20,6 @@ |
'../compositor/compositor.gyp:compositor', |
'../ui.gyp:ui', |
'../ui.gyp:ui_resources', |
- '../views/views.gyp:views', |
], |
'defines': [ |
'MESSAGE_CENTER_IMPLEMENTATION', |
@@ -66,6 +65,17 @@ |
], |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
'msvs_disabled_warnings': [ 4267, ], |
+ 'conditions': [ |
+ ['toolkit_views==1', { |
+ 'dependencies': [ |
+ '../views/views.gyp:views', |
+ ], |
+ }, { |
+ 'sources/': [ |
+ ['exclude', 'views/'], |
+ ], |
+ }], |
+ ], |
}, |
{ |
'target_name': 'message_center_unittests', |