Chromium Code Reviews| Index: build/common.gypi |
| diff --git a/build/common.gypi b/build/common.gypi |
| index 06fda3714ece9d3ae13c28c24861ddcab6afe56b..fb410f97ce01811dff637c9e32797c57e9569131 100644 |
| --- a/build/common.gypi |
| +++ b/build/common.gypi |
| @@ -201,6 +201,10 @@ |
| # Set to 1 to enable dcheck in release without having to use the flag. |
| 'dcheck_always_on%': 0, |
| + # Set to 1 to make a build that logs like an official build, but is not |
| + # necessarily an official build. |
| + 'logging_is_official_build%': 0, |
|
Mark Mentovai
2013/06/20 16:09:42
_like_ makes more sense than _is_.
Document that
Mostyn Bramley-Moore
2013/06/20 19:24:30
Done in patchset 2.
I also rejigged the ifdeffery
|
| + |
| # Disable file manager component extension by default. |
| 'file_manager_extension%': 0, |
| @@ -761,6 +765,7 @@ |
| 'image_loader_extension%': '<(image_loader_extension)', |
| 'fastbuild%': '<(fastbuild)', |
| 'dcheck_always_on%': '<(dcheck_always_on)', |
| + 'logging_is_official_build%': '<(logging_is_official_build)', |
| 'python_ver%': '<(python_ver)', |
| 'arm_version%': '<(arm_version)', |
| 'armv7%': '<(armv7)', |
| @@ -2047,6 +2052,9 @@ |
| ['dcheck_always_on!=0', { |
| 'defines': ['DCHECK_ALWAYS_ON=1'], |
| }], # dcheck_always_on!=0 |
| + ['logging_is_official_build!=0', { |
| + 'defines': ['LOGGING_IS_OFFICIAL_BUILD=1'], |
| + }], # logging_is_official_build!=0 |
| ['win_use_allocator_shim==0', { |
| 'conditions': [ |
| ['OS=="win"', { |