OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'message_center', | 11 'target_name': 'message_center', |
12 'type': '<(component)', | 12 'type': '<(component)', |
13 'dependencies': [ | 13 'dependencies': [ |
14 '../../base/base.gyp:base', | 14 '../../base/base.gyp:base', |
15 '../../base/base.gyp:base_i18n', | 15 '../../base/base.gyp:base_i18n', |
16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 16 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
17 '../../skia/skia.gyp:skia', | 17 '../../skia/skia.gyp:skia', |
18 '../../url/url.gyp:url_lib', | 18 '../../url/url.gyp:url_lib', |
19 '../base/strings/ui_strings.gyp:ui_strings', | 19 '../base/strings/ui_strings.gyp:ui_strings', |
| 20 '../base/ui_base.gyp:ui_base', |
20 '../gfx/gfx.gyp:gfx', | 21 '../gfx/gfx.gyp:gfx', |
21 '../gfx/gfx.gyp:gfx_geometry', | 22 '../gfx/gfx.gyp:gfx_geometry', |
22 '../resources/ui_resources.gyp:ui_resources', | 23 '../resources/ui_resources.gyp:ui_resources', |
23 '../ui.gyp:ui', | |
24 ], | 24 ], |
25 'defines': [ | 25 'defines': [ |
26 'MESSAGE_CENTER_IMPLEMENTATION', | 26 'MESSAGE_CENTER_IMPLEMENTATION', |
27 ], | 27 ], |
28 'sources': [ | 28 'sources': [ |
29 'cocoa/notification_controller.h', | 29 'cocoa/notification_controller.h', |
30 'cocoa/notification_controller.mm', | 30 'cocoa/notification_controller.mm', |
31 'cocoa/popup_collection.h', | 31 'cocoa/popup_collection.h', |
32 'cocoa/popup_collection.mm', | 32 'cocoa/popup_collection.mm', |
33 'cocoa/popup_controller.h', | 33 'cocoa/popup_controller.h', |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 }], | 148 }], |
149 ], | 149 ], |
150 }, # target_name: message_center | 150 }, # target_name: message_center |
151 { | 151 { |
152 'target_name': 'message_center_test_support', | 152 'target_name': 'message_center_test_support', |
153 'type': 'static_library', | 153 'type': 'static_library', |
154 'dependencies': [ | 154 'dependencies': [ |
155 '../../base/base.gyp:base', | 155 '../../base/base.gyp:base', |
156 '../../base/base.gyp:test_support_base', | 156 '../../base/base.gyp:test_support_base', |
157 '../../skia/skia.gyp:skia', | 157 '../../skia/skia.gyp:skia', |
| 158 '../base/ui_base.gyp:ui_base', |
158 '../gfx/gfx.gyp:gfx', | 159 '../gfx/gfx.gyp:gfx', |
159 '../gfx/gfx.gyp:gfx_geometry', | 160 '../gfx/gfx.gyp:gfx_geometry', |
160 '../ui.gyp:ui', | |
161 'message_center', | 161 'message_center', |
162 ], | 162 ], |
163 'sources': [ | 163 'sources': [ |
164 'fake_message_center.h', | 164 'fake_message_center.h', |
165 'fake_message_center.cc', | 165 'fake_message_center.cc', |
166 'fake_message_center_tray_delegate.h', | 166 'fake_message_center_tray_delegate.h', |
167 'fake_message_center_tray_delegate.cc', | 167 'fake_message_center_tray_delegate.cc', |
168 'fake_notifier_settings_provider.h', | 168 'fake_notifier_settings_provider.h', |
169 'fake_notifier_settings_provider.cc', | 169 'fake_notifier_settings_provider.cc', |
170 ], | 170 ], |
171 }, # target_name: message_center_test_support | 171 }, # target_name: message_center_test_support |
172 { | 172 { |
173 'target_name': 'message_center_unittests', | 173 'target_name': 'message_center_unittests', |
174 'type': 'executable', | 174 'type': 'executable', |
175 'dependencies': [ | 175 'dependencies': [ |
176 '../../base/base.gyp:base', | 176 '../../base/base.gyp:base', |
177 '../../base/base.gyp:test_support_base', | 177 '../../base/base.gyp:test_support_base', |
178 '../../skia/skia.gyp:skia', | 178 '../../skia/skia.gyp:skia', |
179 '../../testing/gtest.gyp:gtest', | 179 '../../testing/gtest.gyp:gtest', |
180 '../../url/url.gyp:url_lib', | 180 '../../url/url.gyp:url_lib', |
| 181 '../base/ui_base.gyp:ui_base', |
181 '../gfx/gfx.gyp:gfx', | 182 '../gfx/gfx.gyp:gfx', |
182 '../gfx/gfx.gyp:gfx_geometry', | 183 '../gfx/gfx.gyp:gfx_geometry', |
183 '../resources/ui_resources.gyp:ui_resources', | 184 '../resources/ui_resources.gyp:ui_resources', |
184 '../resources/ui_resources.gyp:ui_test_pak', | 185 '../resources/ui_resources.gyp:ui_test_pak', |
185 '../ui.gyp:ui', | |
186 'message_center', | 186 'message_center', |
187 'message_center_test_support', | 187 'message_center_test_support', |
188 ], | 188 ], |
189 'sources': [ | 189 'sources': [ |
190 'cocoa/notification_controller_unittest.mm', | 190 'cocoa/notification_controller_unittest.mm', |
191 'cocoa/popup_collection_unittest.mm', | 191 'cocoa/popup_collection_unittest.mm', |
192 'cocoa/popup_controller_unittest.mm', | 192 'cocoa/popup_controller_unittest.mm', |
193 'cocoa/settings_controller_unittest.mm', | 193 'cocoa/settings_controller_unittest.mm', |
194 'cocoa/status_item_view_unittest.mm', | 194 'cocoa/status_item_view_unittest.mm', |
195 'cocoa/tray_controller_unittest.mm', | 195 'cocoa/tray_controller_unittest.mm', |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 | 238 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
239 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc
malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { | 239 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc
malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { |
240 'dependencies': [ | 240 'dependencies': [ |
241 '../../base/allocator/allocator.gyp:allocator', | 241 '../../base/allocator/allocator.gyp:allocator', |
242 ], | 242 ], |
243 }], | 243 }], |
244 ], | 244 ], |
245 }, # target_name: message_center_unittests | 245 }, # target_name: message_center_unittests |
246 ], | 246 ], |
247 } | 247 } |
OLD | NEW |