diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 20:59:01 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-20 20:59:01 +0000 |
commit | 20960e074cf789825155f771e1c035df41cd0e75 (patch) | |
tree | 560b967c07210bda790dbeebf6174e3e971b5eb7 /build/common.gypi | |
parent | c4f7571e88637185eb79e598bd3b6301490a2255 (diff) | |
download | chromium_src-20960e074cf789825155f771e1c035df41cd0e75.zip chromium_src-20960e074cf789825155f771e1c035df41cd0e75.tar.gz chromium_src-20960e074cf789825155f771e1c035df41cd0e75.tar.bz2 |
Add a gyp flag to enable dcheck by default in release without
having the pass a flag. This will be used on the try bots.
BUG=96753
Review URL: http://codereview.chromium.org/7719007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102017 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index a4ab78cf..f46ba16 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -135,6 +135,9 @@ # compilation. 'fastbuild%': 0, + # Set to 1 to enable dcheck in release without having to use the flag. + 'dcheck_always_on%': 0, + # Disable file manager component extension by default. 'file_manager_extension%': 0, @@ -318,6 +321,7 @@ 'webui_task_manager%': '<(webui_task_manager)', 'inside_chromium_build%': '<(inside_chromium_build)', 'fastbuild%': '<(fastbuild)', + 'dcheck_always_on%': '<(dcheck_always_on)', 'python_ver%': '<(python_ver)', 'armv7%': '<(armv7)', 'arm_neon%': '<(arm_neon)', @@ -931,6 +935,9 @@ }], ], # conditions for fastbuild. }], # fastbuild!=0 + ['dcheck_always_on!=0', { + 'defines': ['DCHECK_ALWAYS_ON=1'], + }], # dcheck_always_on!=0 ['selinux==1', { 'defines': ['CHROMIUM_SELINUX=1'], }], |