diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-31 01:03:52 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-31 01:03:52 +0000 |
commit | 10a6e77b356565b7c8d18812747b261f0605aae4 (patch) | |
tree | 669258341cb2099c6be4d7d5909bcebb0307dcc4 /build/build_config.h | |
parent | b7b412a5ee120091770e9c8bd10b5cb17a8a9aa4 (diff) | |
download | chromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.zip chromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.tar.gz chromium_src-10a6e77b356565b7c8d18812747b261f0605aae4.tar.bz2 |
bsds: views/ and webkit/ support for FreeBSD/OpenBSD
- add a TOOLKIT_USES_GTK #define to catch GTK and Views+GTK
- lots of ifdef twiddling
Review URL: http://codereview.chromium.org/519030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/build_config.h')
-rw-r--r-- | build/build_config.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/build/build_config.h b/build/build_config.h index d8cea82..da7a37f 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. |