diff options
Diffstat (limited to 'cc/dcheck.h')
-rw-r--r-- | cc/dcheck.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cc/dcheck.h b/cc/dcheck.h new file mode 100644 index 0000000..acd3c90 --- /dev/null +++ b/cc/dcheck.h @@ -0,0 +1,18 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef CC_DCHECK_H_ +#define CC_DCHECK_H_ + +#include "base/logging.h" + +// TODO(danakj): Move this into base/logging. + +#if !LOGGING_IS_OFFICIAL_BUILD +#define CC_DCHECK_ENABLED() 1 +#else +#define CC_DCHECK_ENABLED() 0 +#endif + +#endif // CC_DCHECK_H_ |