Index: build/config/BUILD.gn |
diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn |
index 7138336c296735658d8599d29db62b886882f77a..45b61cf024bb92d489b4f5a35b82365cfa5d8bb1 100644 |
--- a/build/config/BUILD.gn |
+++ b/build/config/BUILD.gn |
@@ -31,7 +31,6 @@ config("feature_flags") { |
# TODO(brettw) most of these need to be parameterized. |
defines = [ |
"CHROMIUM_BUILD", |
- "ENABLE_NOTIFICATIONS", |
"ENABLE_EGLIMAGE=1", |
"ENABLE_BACKGROUND=1", |
"V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. |
@@ -43,6 +42,9 @@ config("feature_flags") { |
if (enable_mdns) { |
defines += [ "ENABLE_MDNS=1" ] |
} |
+ if (enable_notifications) { |
+ defines += [ "ENABLE_NOTIFICATIONS" ] |
+ } |
if (enable_pepper_cdms) { |
# TODO(brettw) should probably be "=1" |
defines += [ "ENABLE_PEPPER_CDMS" ] |