Chromium Code Reviews| Index: build/config/BUILD.gn |
| diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn |
| index 2d1dd1ed7d4dbcf0184722fe87f9de3928d087c3..db1bc76d58afa717dddc3f0609d1e27852d98346 100644 |
| --- a/build/config/BUILD.gn |
| +++ b/build/config/BUILD.gn |
| @@ -44,11 +44,8 @@ declare_args() { |
| # For now we define these globally to match the current GYP build. |
| config("feature_flags") { |
| # TODO(brettw) this probably needs to be parameterized. |
| - defines = [ "V8_DEPRECATION_WARNINGS" ] # Don't use deprecated V8 APIs anywhere. |
| - |
| - if (cld_version > 0) { |
| - defines += [ "CLD_VERSION=$cld_version" ] |
| - } |
| + defines = [ "V8_DEPRECATION_WARNINGS", # Don't use deprecated V8 APIs anywhere. |
| + "CLD_VERSION=$cld_version" ] |
|
Takashi Toyoshima
2015/07/30 09:00:04
For multiple items,
foo = [
"bar",
"baz"
]
is
hajimehoshi
2015/07/30 09:22:57
Ugh, I didn't notice that there was a warning for
|
| if (enable_mdns) { |
| defines += [ "ENABLE_MDNS=1" ] |
| } |