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 '../gfx/gfx.gyp:gfx', |
20 '../ui.gyp:ui', | 21 '../ui.gyp:ui', |
21 '../ui.gyp:ui_resources', | 22 '../ui.gyp:ui_resources', |
22 ], | 23 ], |
23 'defines': [ | 24 'defines': [ |
24 'MESSAGE_CENTER_IMPLEMENTATION', | 25 'MESSAGE_CENTER_IMPLEMENTATION', |
25 ], | 26 ], |
26 'sources': [ | 27 'sources': [ |
27 'cocoa/notification_controller.h', | 28 'cocoa/notification_controller.h', |
28 'cocoa/notification_controller.mm', | 29 'cocoa/notification_controller.mm', |
29 'cocoa/popup_collection.h', | 30 'cocoa/popup_collection.h', |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 }], | 136 }], |
136 ], | 137 ], |
137 }, # target_name: message_center | 138 }, # target_name: message_center |
138 { | 139 { |
139 'target_name': 'message_center_test_support', | 140 'target_name': 'message_center_test_support', |
140 'type': 'static_library', | 141 'type': 'static_library', |
141 'dependencies': [ | 142 'dependencies': [ |
142 '../../base/base.gyp:base', | 143 '../../base/base.gyp:base', |
143 '../../base/base.gyp:test_support_base', | 144 '../../base/base.gyp:test_support_base', |
144 '../../skia/skia.gyp:skia', | 145 '../../skia/skia.gyp:skia', |
| 146 '../gfx/gfx.gyp:gfx', |
145 '../ui.gyp:ui', | 147 '../ui.gyp:ui', |
146 'message_center', | 148 'message_center', |
147 ], | 149 ], |
148 'sources': [ | 150 'sources': [ |
149 'fake_message_center.h', | 151 'fake_message_center.h', |
150 'fake_message_center.cc', | 152 'fake_message_center.cc', |
151 'fake_notifier_settings_provider.h', | 153 'fake_notifier_settings_provider.h', |
152 'fake_notifier_settings_provider.cc', | 154 'fake_notifier_settings_provider.cc', |
153 ], | 155 ], |
154 }, # target_name: message_center_test_support | 156 }, # target_name: message_center_test_support |
155 { | 157 { |
156 'target_name': 'message_center_unittests', | 158 'target_name': 'message_center_unittests', |
157 'type': 'executable', | 159 'type': 'executable', |
158 'dependencies': [ | 160 'dependencies': [ |
159 '../../base/base.gyp:base', | 161 '../../base/base.gyp:base', |
160 '../../base/base.gyp:test_support_base', | 162 '../../base/base.gyp:test_support_base', |
161 '../../skia/skia.gyp:skia', | 163 '../../skia/skia.gyp:skia', |
162 '../../testing/gtest.gyp:gtest', | 164 '../../testing/gtest.gyp:gtest', |
| 165 '../gfx/gfx.gyp:gfx', |
163 '../ui.gyp:run_ui_unittests', | 166 '../ui.gyp:run_ui_unittests', |
164 '../ui.gyp:ui', | 167 '../ui.gyp:ui', |
165 '../../url/url.gyp:url_lib', | 168 '../../url/url.gyp:url_lib', |
166 'message_center', | 169 'message_center', |
167 'message_center_test_support', | 170 'message_center_test_support', |
168 ], | 171 ], |
169 'sources': [ | 172 'sources': [ |
170 'cocoa/notification_controller_unittest.mm', | 173 'cocoa/notification_controller_unittest.mm', |
171 'cocoa/popup_collection_unittest.mm', | 174 'cocoa/popup_collection_unittest.mm', |
172 'cocoa/popup_controller_unittest.mm', | 175 'cocoa/popup_controller_unittest.mm', |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 # See http://crbug.com/162998#c4 for why this is needed. | 212 # See http://crbug.com/162998#c4 for why this is needed. |
210 ['OS=="linux" and linux_use_tcmalloc==1', { | 213 ['OS=="linux" and linux_use_tcmalloc==1', { |
211 'dependencies': [ | 214 'dependencies': [ |
212 '../../base/allocator/allocator.gyp:allocator', | 215 '../../base/allocator/allocator.gyp:allocator', |
213 ], | 216 ], |
214 }], | 217 }], |
215 ], | 218 ], |
216 }, # target_name: message_center_unittests | 219 }, # target_name: message_center_unittests |
217 ], | 220 ], |
218 } | 221 } |
OLD | NEW |