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