Index: build/build_config.h |
diff --git a/build/build_config.h b/build/build_config.h |
index d8cea8222aeab81d07877d63a67c8017751e8186..da7a37fb9ca04ac0b184e98b4e1c6814e5a3b25c 100644 |
--- a/build/build_config.h |
+++ b/build/build_config.h |
@@ -36,6 +36,12 @@ |
#error Please add support for your platform in build/build_config.h |
#endif |
+// A flag derived from the above flags, used to cover GTK code in |
+// both TOOLKIT_GTK and TOOLKIT_VIEWS. |
+#if defined(TOOLKIT_GTK) || (defined(TOOLKIT_VIEWS) && !defined(OS_WIN)) |
+#define TOOLKIT_USES_GTK 1 |
+#endif |
+ |
#if defined(OS_LINUX) || defined(OS_FREEBSD) || defined(OS_OPENBSD) |
#define USE_NSS 1 // Use NSS for crypto. |
#define USE_X11 1 // Use X for graphics. |