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

Unified Diff: build/build_config.h

Issue 519030: bsds: views/ and webkit/ support for FreeBSD/OpenBSD (Closed)
Patch Set: Created 11 years 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
« no previous file with comments | « no previous file | views/view.cc » ('j') | webkit/tools/test_shell/test_shell_request_context.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | views/view.cc » ('j') | webkit/tools/test_shell/test_shell_request_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698