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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/grit/grit_rule.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/BUILD.gn
diff --git a/ui/message_center/BUILD.gn b/ui/message_center/BUILD.gn
index ea3cf13c2b78c7cf546e2c870733d11a0c387cd9..5f2bbe931f00b7d58121cc227401036cb3ae399a 100644
--- a/ui/message_center/BUILD.gn
+++ b/ui/message_center/BUILD.gn
@@ -16,7 +16,7 @@ component("message_center") {
defines = [ "MESSAGE_CENTER_IMPLEMENTATION" ]
- if (enable_notifications && !is_android) {
+ if (!is_ios && !is_android) {
deps += [
"//base:i18n",
"//base/third_party/dynamic_annotations",
@@ -167,7 +167,7 @@ component("message_center") {
static_library("test_support") {
testonly = true
- if (enable_notifications && !is_android) {
+ if (!is_ios && !is_android) {
sources = [
"fake_message_center.cc",
"fake_message_center.h",
@@ -218,7 +218,7 @@ test("message_center_unittests") {
"//ui/resources:ui_test_pak_data",
]
- if (enable_notifications && !is_android) {
+ if (!is_ios && !is_android) {
sources += [
"cocoa/notification_controller_unittest.mm",
"cocoa/popup_collection_unittest.mm",
@@ -260,5 +260,5 @@ test("message_center_unittests") {
"//ui/message_center/mojo:test_interfaces",
]
}
- } # enable_notifications && !is_android
+ } # !is_ios && !is_android
}
« 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