OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
8 | 8 |
9 # TODO(msw|mukai|dewittj): Move ash-specific files: crbug.com/585175 | 9 # TODO(msw|mukai|dewittj): Move ash-specific files: crbug.com/585175 |
10 component("message_center") { | 10 component("message_center") { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 "popup_timer.cc", | 76 "popup_timer.cc", |
77 "popup_timer.h", | 77 "popup_timer.h", |
78 "popup_timers_controller.cc", | 78 "popup_timers_controller.cc", |
79 "popup_timers_controller.h", | 79 "popup_timers_controller.h", |
80 ] | 80 ] |
81 | 81 |
82 if (is_win) { | 82 if (is_win) { |
83 deps += [ "//ui/aura" ] | 83 deps += [ "//ui/aura" ] |
84 } | 84 } |
85 | 85 |
| 86 if (is_mac) { |
| 87 libs = [ |
| 88 "AppKit.framework", |
| 89 "Foundation.framework", |
| 90 ] |
| 91 } |
| 92 |
86 # On Mac, toolkit-views builds still use the Cocoa UI. Keep this in sync | 93 # On Mac, toolkit-views builds still use the Cocoa UI. Keep this in sync |
87 # with message_center_unittests below. | 94 # with message_center_unittests below. |
88 if (toolkit_views && !is_mac) { | 95 if (toolkit_views && !is_mac) { |
89 sources += [ | 96 sources += [ |
90 "views/bounded_label.cc", | 97 "views/bounded_label.cc", |
91 "views/bounded_label.h", | 98 "views/bounded_label.h", |
92 "views/constants.h", | 99 "views/constants.h", |
93 "views/desktop_popup_alignment_delegate.cc", | 100 "views/desktop_popup_alignment_delegate.cc", |
94 "views/desktop_popup_alignment_delegate.h", | 101 "views/desktop_popup_alignment_delegate.h", |
95 "views/message_bubble_base.cc", | 102 "views/message_bubble_base.cc", |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
234 # Compositor is needed by message_center_view_unittest.cc and for the | 241 # Compositor is needed by message_center_view_unittest.cc and for the |
235 # fonts used by bounded_label_unittest.cc. | 242 # fonts used by bounded_label_unittest.cc. |
236 "//ui/compositor", | 243 "//ui/compositor", |
237 "//ui/display", | 244 "//ui/display", |
238 "//ui/views", | 245 "//ui/views", |
239 "//ui/views:test_support", | 246 "//ui/views:test_support", |
240 ] | 247 ] |
241 } | 248 } |
242 } # enable_notifications && !is_android | 249 } # enable_notifications && !is_android |
243 } | 250 } |
OLD | NEW |