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

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

Issue 2555833002: Remove enable_notifications build flag and define (Closed)
Patch Set: Merge Created 4 years 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 | « tools/grit/grit_rule.gni ('k') | no next file » | 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") {
11 deps = [ 11 deps = [
12 "//base", 12 "//base",
13 "//ui/base", 13 "//ui/base",
14 "//url", 14 "//url",
15 ] 15 ]
16 16
17 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ] 17 defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ]
18 18
19 if (enable_notifications && !is_android) { 19 if (!is_ios && !is_android) {
20 deps += [ 20 deps += [
21 "//base:i18n", 21 "//base:i18n",
22 "//base/third_party/dynamic_annotations", 22 "//base/third_party/dynamic_annotations",
23 "//components/url_formatter", 23 "//components/url_formatter",
24 "//skia", 24 "//skia",
25 "//ui/accessibility", 25 "//ui/accessibility",
26 "//ui/display", 26 "//ui/display",
27 "//ui/events", 27 "//ui/events",
28 "//ui/gfx", 28 "//ui/gfx",
29 "//ui/gfx/geometry", 29 "//ui/gfx/geometry",
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 "notifier_settings.cc", 160 "notifier_settings.cc",
161 "notifier_settings.h", 161 "notifier_settings.h",
162 ] 162 ]
163 } 163 }
164 } 164 }
165 } 165 }
166 166
167 static_library("test_support") { 167 static_library("test_support") {
168 testonly = true 168 testonly = true
169 169
170 if (enable_notifications && !is_android) { 170 if (!is_ios && !is_android) {
171 sources = [ 171 sources = [
172 "fake_message_center.cc", 172 "fake_message_center.cc",
173 "fake_message_center.h", 173 "fake_message_center.h",
174 "fake_message_center_tray_delegate.cc", 174 "fake_message_center_tray_delegate.cc",
175 "fake_message_center_tray_delegate.h", 175 "fake_message_center_tray_delegate.h",
176 "fake_notifier_settings_provider.cc", 176 "fake_notifier_settings_provider.cc",
177 "fake_notifier_settings_provider.h", 177 "fake_notifier_settings_provider.h",
178 ] 178 ]
179 deps = [ 179 deps = [
180 "//base", 180 "//base",
(...skipping 30 matching lines...) Expand all
211 "//ui/resources", 211 "//ui/resources",
212 "//ui/resources:ui_test_pak", 212 "//ui/resources:ui_test_pak",
213 "//url", 213 "//url",
214 ] 214 ]
215 215
216 data_deps = [ 216 data_deps = [
217 "//third_party/mesa:osmesa", 217 "//third_party/mesa:osmesa",
218 "//ui/resources:ui_test_pak_data", 218 "//ui/resources:ui_test_pak_data",
219 ] 219 ]
220 220
221 if (enable_notifications && !is_android) { 221 if (!is_ios && !is_android) {
222 sources += [ 222 sources += [
223 "cocoa/notification_controller_unittest.mm", 223 "cocoa/notification_controller_unittest.mm",
224 "cocoa/popup_collection_unittest.mm", 224 "cocoa/popup_collection_unittest.mm",
225 "cocoa/popup_controller_unittest.mm", 225 "cocoa/popup_controller_unittest.mm",
226 "message_center_impl_unittest.cc", 226 "message_center_impl_unittest.cc",
227 "message_center_tray_unittest.cc", 227 "message_center_tray_unittest.cc",
228 "notification_delegate_unittest.cc", 228 "notification_delegate_unittest.cc",
229 "notification_list_unittest.cc", 229 "notification_list_unittest.cc",
230 ] 230 ]
231 231
(...skipping 21 matching lines...) Expand all
253 } 253 }
254 254
255 if (!is_ios) { 255 if (!is_ios) {
256 sources += [ "mojo/struct_traits_unittest.cc" ] 256 sources += [ "mojo/struct_traits_unittest.cc" ]
257 deps += [ 257 deps += [
258 "//mojo/edk/system", 258 "//mojo/edk/system",
259 "//ui/gfx:test_support", 259 "//ui/gfx:test_support",
260 "//ui/message_center/mojo:test_interfaces", 260 "//ui/message_center/mojo:test_interfaces",
261 ] 261 ]
262 } 262 }
263 } # enable_notifications && !is_android 263 } # !is_ios && !is_android
264 } 264 }
OLDNEW
« no previous file with comments | « tools/grit/grit_rule.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698