summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 23:41:29 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-07 23:41:29 +0000
commit0ae186fdc196eeb1ee8e56285a06c6fd3012ea60 (patch)
tree8ced53b52ef5dc1441bc6fa62f8f927494ca4bc5 /build
parent601bffcbec8cd6222ebda98f554adba0fb9cc1f0 (diff)
downloadchromium_src-0ae186fdc196eeb1ee8e56285a06c6fd3012ea60.zip
chromium_src-0ae186fdc196eeb1ee8e56285a06c6fd3012ea60.tar.gz
chromium_src-0ae186fdc196eeb1ee8e56285a06c6fd3012ea60.tar.bz2
Fleshes out WidgetGTK and WindowGTK a bit more. This is still vary
rough, but makes things work a bit more. BUG=none TEST=none Review URL: http://codereview.chromium.org/113123 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15598 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/build_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h
index 824e31e..43d36f0 100644
--- a/build/build_config.h
+++ b/build/build_config.h
@@ -19,6 +19,10 @@
#define OS_MACOSX 1
#elif defined(__linux__)
#define OS_LINUX 1
+// Use TOOLKIT_GTK on linux if TOOLKIT_VIEWS isn't defined.
+#if !defined(TOOLKIT_VIEWS)
+#define TOOLKIT_GTK
+#endif
#elif defined(_WIN32)
#define OS_WIN 1
#else