Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3812)

Unified Diff: cc/stubs/config.h

Issue 11048044: cc: Switch to Chromium DCHECKs and LOGs (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/stubs/config.h
diff --git a/cc/stubs/config.h b/cc/stubs/config.h
new file mode 100644
index 0000000000000000000000000000000000000000..d5ffd8866d2c5449a92898a0283b40c17606b430
--- /dev/null
+++ b/cc/stubs/config.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_STUBS_CONFIG_H_
+#define CC_STUBS_CONFIG_H_
+
+#if INSIDE_WEBKIT_BUILD
+#include "Source/WTF/config.h"
+#else
+#include "third_party/WebKit/Source/WTF/config.h"
+#endif
+
+// Cause LOG to get defined and remove it so we don't conflict with base/logging.h
+#include <wtf/Assertions.h>
+#undef LOG
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698