| 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 '../gfx/gfx.gyp:gfx', |
| 21 '../gfx/gfx.gyp:gfx_geometry', |
| 21 '../resources/ui_resources.gyp:ui_resources', | 22 '../resources/ui_resources.gyp:ui_resources', |
| 22 '../ui.gyp:ui', | 23 '../ui.gyp:ui', |
| 23 ], | 24 ], |
| 24 'defines': [ | 25 'defines': [ |
| 25 'MESSAGE_CENTER_IMPLEMENTATION', | 26 'MESSAGE_CENTER_IMPLEMENTATION', |
| 26 ], | 27 ], |
| 27 'sources': [ | 28 'sources': [ |
| 28 'cocoa/notification_controller.h', | 29 'cocoa/notification_controller.h', |
| 29 'cocoa/notification_controller.mm', | 30 'cocoa/notification_controller.mm', |
| 30 'cocoa/popup_collection.h', | 31 'cocoa/popup_collection.h', |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 ], | 151 ], |
| 151 }, # target_name: message_center | 152 }, # target_name: message_center |
| 152 { | 153 { |
| 153 'target_name': 'message_center_test_support', | 154 'target_name': 'message_center_test_support', |
| 154 'type': 'static_library', | 155 'type': 'static_library', |
| 155 'dependencies': [ | 156 'dependencies': [ |
| 156 '../../base/base.gyp:base', | 157 '../../base/base.gyp:base', |
| 157 '../../base/base.gyp:test_support_base', | 158 '../../base/base.gyp:test_support_base', |
| 158 '../../skia/skia.gyp:skia', | 159 '../../skia/skia.gyp:skia', |
| 159 '../gfx/gfx.gyp:gfx', | 160 '../gfx/gfx.gyp:gfx', |
| 161 '../gfx/gfx.gyp:gfx_geometry', |
| 160 '../ui.gyp:ui', | 162 '../ui.gyp:ui', |
| 161 'message_center', | 163 'message_center', |
| 162 ], | 164 ], |
| 163 'sources': [ | 165 'sources': [ |
| 164 'fake_message_center.h', | 166 'fake_message_center.h', |
| 165 'fake_message_center.cc', | 167 'fake_message_center.cc', |
| 166 'fake_notifier_settings_provider.h', | 168 'fake_notifier_settings_provider.h', |
| 167 'fake_notifier_settings_provider.cc', | 169 'fake_notifier_settings_provider.cc', |
| 168 ], | 170 ], |
| 169 }, # target_name: message_center_test_support | 171 }, # target_name: message_center_test_support |
| 170 { | 172 { |
| 171 'target_name': 'message_center_unittests', | 173 'target_name': 'message_center_unittests', |
| 172 'type': 'executable', | 174 'type': 'executable', |
| 173 'dependencies': [ | 175 'dependencies': [ |
| 174 '../../base/base.gyp:base', | 176 '../../base/base.gyp:base', |
| 175 '../../base/base.gyp:test_support_base', | 177 '../../base/base.gyp:test_support_base', |
| 176 '../../chrome/chrome_resources.gyp:packed_resources', | 178 '../../chrome/chrome_resources.gyp:packed_resources', |
| 177 '../../skia/skia.gyp:skia', | 179 '../../skia/skia.gyp:skia', |
| 178 '../../testing/gtest.gyp:gtest', | 180 '../../testing/gtest.gyp:gtest', |
| 179 '../../url/url.gyp:url_lib', | 181 '../../url/url.gyp:url_lib', |
| 180 '../../url/url.gyp:url_lib', | 182 '../../url/url.gyp:url_lib', |
| 181 '../gfx/gfx.gyp:gfx', | 183 '../gfx/gfx.gyp:gfx', |
| 184 '../gfx/gfx.gyp:gfx_geometry', |
| 182 '../resources/ui_resources.gyp:ui_resources', | 185 '../resources/ui_resources.gyp:ui_resources', |
| 183 '../ui.gyp:ui', | 186 '../ui.gyp:ui', |
| 184 '../ui_unittests.gyp:run_ui_unittests', | 187 '../ui_unittests.gyp:run_ui_unittests', |
| 185 'message_center', | 188 'message_center', |
| 186 'message_center_test_support', | 189 'message_center_test_support', |
| 187 ], | 190 ], |
| 188 'sources': [ | 191 'sources': [ |
| 189 'cocoa/notification_controller_unittest.mm', | 192 'cocoa/notification_controller_unittest.mm', |
| 190 'cocoa/popup_collection_unittest.mm', | 193 'cocoa/popup_collection_unittest.mm', |
| 191 'cocoa/popup_controller_unittest.mm', | 194 'cocoa/popup_controller_unittest.mm', |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 # See http://crbug.com/162998#c4 for why this is needed. | 237 # See http://crbug.com/162998#c4 for why this is needed. |
| 235 ['OS=="linux" and linux_use_tcmalloc==1', { | 238 ['OS=="linux" and linux_use_tcmalloc==1', { |
| 236 'dependencies': [ | 239 'dependencies': [ |
| 237 '../../base/allocator/allocator.gyp:allocator', | 240 '../../base/allocator/allocator.gyp:allocator', |
| 238 ], | 241 ], |
| 239 }], | 242 }], |
| 240 ], | 243 ], |
| 241 }, # target_name: message_center_unittests | 244 }, # target_name: message_center_unittests |
| 242 ], | 245 ], |
| 243 } | 246 } |
| OLD | NEW |