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 /base/file_util_unittest.cc | |
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 'base/file_util_unittest.cc')
-rw-r--r-- | base/file_util_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_util_unittest.cc b/base/file_util_unittest.cc index c44b804..7b12fb8c 100644 --- a/base/file_util_unittest.cc +++ b/base/file_util_unittest.cc @@ -223,7 +223,7 @@ TEST_F(FileUtilTest, AppendToPath) { EXPECT_EQ(value.result, result); } -#ifdef NDEBUG +#if defined(NDEBUG) && !defined(DCHECK_ALWAYS_ON) file_util::AppendToPath(NULL, L"path"); // asserts in debug mode #endif } |