summaryrefslogtreecommitdiffstats
path: root/ui/message_center
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-02-01 21:34:22 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-02 05:35:12 +0000
commit6aa1895622f98deaed0943be3c8f02a53e563a50 (patch)
tree56a9deb35b03b7f59cd6ab3f4e0b575e44374360 /ui/message_center
parent6019ce400d744a9a8f6eaa3b55c0ebfefb762cb5 (diff)
downloadchromium_src-6aa1895622f98deaed0943be3c8f02a53e563a50.zip
chromium_src-6aa1895622f98deaed0943be3c8f02a53e563a50.tar.gz
chromium_src-6aa1895622f98deaed0943be3c8f02a53e563a50.tar.bz2
Remove more targets from GN Windows build.
Targets will be removed until the bot is green. TBR=dpranke Review URL: https://codereview.chromium.org/886323002 Cr-Commit-Position: refs/heads/master@{#314104}
Diffstat (limited to 'ui/message_center')
-rw-r--r--ui/message_center/BUILD.gn110
1 files changed, 56 insertions, 54 deletions
diff --git a/ui/message_center/BUILD.gn b/ui/message_center/BUILD.gn
index 2a4e643..4c2b57c 100644
--- a/ui/message_center/BUILD.gn
+++ b/ui/message_center/BUILD.gn
@@ -175,63 +175,65 @@ static_library("test_support") {
]
}
-test("message_center_unittests") {
- sources = [
- "test/run_all_unittests.cc",
- ]
-
- deps = [
- ":message_center",
- ":test_support",
- "//base",
- "//base/allocator",
- "//base/test:test_support",
- "//skia",
- "//testing/gtest",
- "//ui/base",
- "//ui/events",
- "//ui/gfx",
- "//ui/gfx/geometry",
- "//ui/gl",
- "//ui/resources",
- "//ui/resources:ui_test_pak",
- "//url",
- ]
-
- if (enable_notifications && !is_android) {
- sources += [
- "cocoa/notification_controller_unittest.mm",
- "cocoa/popup_collection_unittest.mm",
- "cocoa/popup_controller_unittest.mm",
- "cocoa/settings_controller_unittest.mm",
- "cocoa/status_item_view_unittest.mm",
- "cocoa/tray_controller_unittest.mm",
- "cocoa/tray_view_controller_unittest.mm",
- "message_center_tray_unittest.cc",
- "message_center_impl_unittest.cc",
- "notification_delegate_unittest.cc",
- "notification_list_unittest.cc",
+if (!is_win || link_chrome_on_windows) {
+ test("message_center_unittests") {
+ sources = [
+ "test/run_all_unittests.cc",
]
- if (is_mac) {
- deps += [ "//ui/gfx:test_support" ]
- }
+ deps = [
+ ":message_center",
+ ":test_support",
+ "//base",
+ "//base/allocator",
+ "//base/test:test_support",
+ "//skia",
+ "//testing/gtest",
+ "//ui/base",
+ "//ui/events",
+ "//ui/gfx",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ "//ui/resources",
+ "//ui/resources:ui_test_pak",
+ "//url",
+ ]
- if (toolkit_views && !is_mac) {
+ if (enable_notifications && !is_android) {
sources += [
- "views/bounded_label_unittest.cc",
- "views/message_center_view_unittest.cc",
- "views/message_popup_collection_unittest.cc",
- "views/notification_view_unittest.cc",
- "views/notifier_settings_view_unittest.cc",
+ "cocoa/notification_controller_unittest.mm",
+ "cocoa/popup_collection_unittest.mm",
+ "cocoa/popup_controller_unittest.mm",
+ "cocoa/settings_controller_unittest.mm",
+ "cocoa/status_item_view_unittest.mm",
+ "cocoa/tray_controller_unittest.mm",
+ "cocoa/tray_view_controller_unittest.mm",
+ "message_center_tray_unittest.cc",
+ "message_center_impl_unittest.cc",
+ "notification_delegate_unittest.cc",
+ "notification_list_unittest.cc",
]
- deps += [
- # Compositor is needed by message_center_view_unittest.cc and for the
- # fonts used by bounded_label_unittest.cc.
- "//ui/compositor",
- "//ui/views",
- "//ui/views:test_support",
- ]
- }
- } # enable_notifications && !is_android
+
+ if (is_mac) {
+ deps += [ "//ui/gfx:test_support" ]
+ }
+
+ if (toolkit_views && !is_mac) {
+ sources += [
+ "views/bounded_label_unittest.cc",
+ "views/message_center_view_unittest.cc",
+ "views/message_popup_collection_unittest.cc",
+ "views/notification_view_unittest.cc",
+ "views/notifier_settings_view_unittest.cc",
+ ]
+ deps += [
+ # Compositor is needed by message_center_view_unittest.cc and for the
+ # fonts used by bounded_label_unittest.cc.
+ "//ui/compositor",
+ "//ui/views",
+ "//ui/views:test_support",
+ ]
+ }
+ } # enable_notifications && !is_android
+ }
}