Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(164)

Side by Side Diff: ui/message_center/BUILD.gn

Issue 2151013002: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remoting Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 8
9 # TODO(msw|mukai|dewittj): Move ash-specific files: crbug.com/585175 9 # TODO(msw|mukai|dewittj): Move ash-specific files: crbug.com/585175
10 component("message_center") { 10 component("message_center") {
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 sources += [ 159 sources += [
160 "notification.cc", 160 "notification.cc",
161 "notification.h", 161 "notification.h",
162 "notifier_settings.cc", 162 "notifier_settings.cc",
163 "notifier_settings.h", 163 "notifier_settings.h",
164 ] 164 ]
165 } 165 }
166 } 166 }
167 } 167 }
168 168
169 source_set("test_support") { 169 static_library("test_support") {
170 testonly = true 170 testonly = true
171 171
172 if (enable_notifications && !is_android) { 172 if (enable_notifications && !is_android) {
173 sources = [ 173 sources = [
174 "fake_message_center.cc", 174 "fake_message_center.cc",
175 "fake_message_center.h", 175 "fake_message_center.h",
176 "fake_message_center_tray_delegate.cc", 176 "fake_message_center_tray_delegate.cc",
177 "fake_message_center_tray_delegate.h", 177 "fake_message_center_tray_delegate.h",
178 "fake_notifier_settings_provider.cc", 178 "fake_notifier_settings_provider.cc",
179 "fake_notifier_settings_provider.h", 179 "fake_notifier_settings_provider.h",
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 # Compositor is needed by message_center_view_unittest.cc and for the 248 # Compositor is needed by message_center_view_unittest.cc and for the
249 # fonts used by bounded_label_unittest.cc. 249 # fonts used by bounded_label_unittest.cc.
250 "//ui/compositor", 250 "//ui/compositor",
251 "//ui/display", 251 "//ui/display",
252 "//ui/views", 252 "//ui/views",
253 "//ui/views:test_support", 253 "//ui/views:test_support",
254 ] 254 ]
255 } 255 }
256 } # enable_notifications && !is_android 256 } # enable_notifications && !is_android
257 } 257 }
OLDNEW
« no previous file with comments | « ui/gl/BUILD.gn ('k') | ui/views/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698