| Index: build/config/BUILD.gn
|
| diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn
|
| index 7138336c296735658d8599d29db62b886882f77a..9a154b74ebf28786b2289aa62f44cf546952d3f0 100644
|
| --- a/build/config/BUILD.gn
|
| +++ b/build/config/BUILD.gn
|
| @@ -31,12 +31,15 @@ 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.
|
| ]
|
|
|
| + if (enable_notifications) {
|
| + defines += [ "ENABLE_NOTIFICATIONS" ]
|
| + }
|
| +
|
| if (cld_version > 0) {
|
| defines += [ "CLD_VERSION=$cld_version" ]
|
| }
|
|
|