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 '../../build/temp_gyp/googleurl.gyp:googleurl', | 17 '../../build/temp_gyp/googleurl.gyp:googleurl', |
18 '../../skia/skia.gyp:skia', | 18 '../../skia/skia.gyp:skia', |
19 '../base/strings/ui_strings.gyp:ui_strings', | 19 '../base/strings/ui_strings.gyp:ui_strings', |
20 '../compositor/compositor.gyp:compositor', | 20 '../compositor/compositor.gyp:compositor', |
21 '../ui.gyp:ui', | 21 '../ui.gyp:ui', |
22 '../ui.gyp:ui_resources', | 22 '../ui.gyp:ui_resources', |
23 '../views/views.gyp:views', | |
24 ], | 23 ], |
25 'defines': [ | 24 'defines': [ |
26 'MESSAGE_CENTER_IMPLEMENTATION', | 25 'MESSAGE_CENTER_IMPLEMENTATION', |
27 ], | 26 ], |
28 'sources': [ | 27 'sources': [ |
29 'message_center.cc', | 28 'message_center.cc', |
30 'message_center.h', | 29 'message_center.h', |
31 'message_center_constants.cc', | 30 'message_center_constants.cc', |
32 'message_center_constants.h', | 31 'message_center_constants.h', |
33 'message_center_export.h', | 32 'message_center_export.h', |
(...skipping 25 matching lines...) Expand all Loading... |
59 'views/message_simple_view.h', | 58 'views/message_simple_view.h', |
60 'views/message_view.cc', | 59 'views/message_view.cc', |
61 'views/message_view.h', | 60 'views/message_view.h', |
62 'views/notifier_settings_view.cc', | 61 'views/notifier_settings_view.cc', |
63 'views/notifier_settings_view.h', | 62 'views/notifier_settings_view.h', |
64 'views/notification_view.cc', | 63 'views/notification_view.cc', |
65 'views/notification_view.h', | 64 'views/notification_view.h', |
66 ], | 65 ], |
67 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 66 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
68 'msvs_disabled_warnings': [ 4267, ], | 67 'msvs_disabled_warnings': [ 4267, ], |
| 68 'conditions': [ |
| 69 ['toolkit_views==1', { |
| 70 'dependencies': [ |
| 71 '../views/views.gyp:views', |
| 72 ], |
| 73 }, { |
| 74 'sources/': [ |
| 75 ['exclude', 'views/'], |
| 76 ], |
| 77 }], |
| 78 ], |
69 }, | 79 }, |
70 { | 80 { |
71 'target_name': 'message_center_unittests', | 81 'target_name': 'message_center_unittests', |
72 'type': 'executable', | 82 'type': 'executable', |
73 'dependencies': [ | 83 'dependencies': [ |
74 '../../base/base.gyp:base', | 84 '../../base/base.gyp:base', |
75 '../../base/base.gyp:run_all_unittests', | 85 '../../base/base.gyp:run_all_unittests', |
76 '../../base/base.gyp:test_support_base', | 86 '../../base/base.gyp:test_support_base', |
77 '../../skia/skia.gyp:skia', | 87 '../../skia/skia.gyp:skia', |
78 '../../testing/gtest.gyp:gtest', | 88 '../../testing/gtest.gyp:gtest', |
79 '../ui.gyp:ui', | 89 '../ui.gyp:ui', |
80 'message_center', | 90 'message_center', |
81 ], | 91 ], |
82 'sources': [ | 92 'sources': [ |
83 'message_center_tray_unittest.cc', | 93 'message_center_tray_unittest.cc', |
84 'notification_list_unittest.cc', | 94 'notification_list_unittest.cc', |
85 ], | 95 ], |
86 }, | 96 }, |
87 ], | 97 ], |
88 } | 98 } |
OLD | NEW |