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 '../events/events.gyp:events', | |
21 '../gfx/gfx.gyp:gfx', | 20 '../gfx/gfx.gyp:gfx', |
22 '../ui.gyp:ui', | 21 '../ui.gyp:ui', |
23 '../ui.gyp:ui_resources', | 22 '../ui.gyp:ui_resources', |
24 ], | 23 ], |
25 'defines': [ | 24 'defines': [ |
26 'MESSAGE_CENTER_IMPLEMENTATION', | 25 'MESSAGE_CENTER_IMPLEMENTATION', |
27 ], | 26 ], |
28 'sources': [ | 27 'sources': [ |
29 'cocoa/notification_controller.h', | 28 'cocoa/notification_controller.h', |
30 'cocoa/notification_controller.mm', | 29 'cocoa/notification_controller.mm', |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 'views/notification_view.cc', | 91 'views/notification_view.cc', |
93 'views/notification_view.h', | 92 'views/notification_view.h', |
94 'views/toast_contents_view.cc', | 93 'views/toast_contents_view.cc', |
95 'views/toast_contents_view.h', | 94 'views/toast_contents_view.h', |
96 ], | 95 ], |
97 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 96 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
98 'msvs_disabled_warnings': [ 4267, ], | 97 'msvs_disabled_warnings': [ 4267, ], |
99 'conditions': [ | 98 'conditions': [ |
100 ['toolkit_views==1', { | 99 ['toolkit_views==1', { |
101 'dependencies': [ | 100 'dependencies': [ |
| 101 '../events/events.gyp:events', |
102 '../views/views.gyp:views', | 102 '../views/views.gyp:views', |
103 ], | 103 ], |
104 }, { | 104 }, { |
105 'sources/': [ | 105 'sources/': [ |
106 ['exclude', 'views/'], | 106 ['exclude', 'views/'], |
107 ], | 107 ], |
108 }], | 108 }], |
109 ['use_ash==0', { | 109 ['use_ash==0', { |
110 'sources!': [ | 110 'sources!': [ |
111 'views/message_bubble_base.cc', | 111 'views/message_bubble_base.cc', |
(...skipping 29 matching lines...) Expand all Loading... |
141 }], | 141 }], |
142 ], | 142 ], |
143 }, # target_name: message_center | 143 }, # target_name: message_center |
144 { | 144 { |
145 'target_name': 'message_center_test_support', | 145 'target_name': 'message_center_test_support', |
146 'type': 'static_library', | 146 'type': 'static_library', |
147 'dependencies': [ | 147 'dependencies': [ |
148 '../../base/base.gyp:base', | 148 '../../base/base.gyp:base', |
149 '../../base/base.gyp:test_support_base', | 149 '../../base/base.gyp:test_support_base', |
150 '../../skia/skia.gyp:skia', | 150 '../../skia/skia.gyp:skia', |
151 '../events/events.gyp:events', | |
152 '../gfx/gfx.gyp:gfx', | 151 '../gfx/gfx.gyp:gfx', |
153 '../ui.gyp:ui', | 152 '../ui.gyp:ui', |
154 'message_center', | 153 'message_center', |
155 ], | 154 ], |
156 'sources': [ | 155 'sources': [ |
157 'fake_message_center.h', | 156 'fake_message_center.h', |
158 'fake_message_center.cc', | 157 'fake_message_center.cc', |
159 'fake_notifier_settings_provider.h', | 158 'fake_notifier_settings_provider.h', |
160 'fake_notifier_settings_provider.cc', | 159 'fake_notifier_settings_provider.cc', |
161 ], | 160 ], |
162 }, # target_name: message_center_test_support | 161 }, # target_name: message_center_test_support |
163 { | 162 { |
164 'target_name': 'message_center_unittests', | 163 'target_name': 'message_center_unittests', |
165 'type': 'executable', | 164 'type': 'executable', |
166 'dependencies': [ | 165 'dependencies': [ |
167 '../../base/base.gyp:base', | 166 '../../base/base.gyp:base', |
168 '../../base/base.gyp:test_support_base', | 167 '../../base/base.gyp:test_support_base', |
169 '../../chrome/chrome_resources.gyp:packed_resources', | 168 '../../chrome/chrome_resources.gyp:packed_resources', |
170 '../../skia/skia.gyp:skia', | 169 '../../skia/skia.gyp:skia', |
171 '../../testing/gtest.gyp:gtest', | 170 '../../testing/gtest.gyp:gtest', |
172 '../../url/url.gyp:url_lib', | 171 '../../url/url.gyp:url_lib', |
173 '../events/events.gyp:events', | |
174 '../gfx/gfx.gyp:gfx', | 172 '../gfx/gfx.gyp:gfx', |
175 '../ui.gyp:ui', | 173 '../ui.gyp:ui', |
176 '../ui_unittests.gyp:run_ui_unittests', | 174 '../ui_unittests.gyp:run_ui_unittests', |
177 '../ui.gyp:ui_resources', | 175 '../ui.gyp:ui_resources', |
178 '../../url/url.gyp:url_lib', | 176 '../../url/url.gyp:url_lib', |
179 'message_center', | 177 'message_center', |
180 'message_center_test_support', | 178 'message_center_test_support', |
181 ], | 179 ], |
182 'sources': [ | 180 'sources': [ |
183 'cocoa/notification_controller_unittest.mm', | 181 'cocoa/notification_controller_unittest.mm', |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 # See http://crbug.com/162998#c4 for why this is needed. | 226 # See http://crbug.com/162998#c4 for why this is needed. |
229 ['OS=="linux" and linux_use_tcmalloc==1', { | 227 ['OS=="linux" and linux_use_tcmalloc==1', { |
230 'dependencies': [ | 228 'dependencies': [ |
231 '../../base/allocator/allocator.gyp:allocator', | 229 '../../base/allocator/allocator.gyp:allocator', |
232 ], | 230 ], |
233 }], | 231 }], |
234 ], | 232 ], |
235 }, # target_name: message_center_unittests | 233 }, # target_name: message_center_unittests |
236 ], | 234 ], |
237 } | 235 } |
OLD | NEW |