diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-11 20:04:06 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-11 20:04:06 +0000 |
commit | c51e8d50a9314b0580444ed93640b7ae1a2433b8 (patch) | |
tree | bd5cc97d132f87af4d9f345bec703c0d5a7de79a /build/build_config.h | |
parent | f49ea7d24815992ec9484aaf7545e37753bbf727 (diff) | |
download | chromium_src-c51e8d50a9314b0580444ed93640b7ae1a2433b8.zip chromium_src-c51e8d50a9314b0580444ed93640b7ae1a2433b8.tar.gz chromium_src-c51e8d50a9314b0580444ed93640b7ae1a2433b8.tar.bz2 |
Changes to build/ from a combination of FreeBSD and OpenBSD patches.
Review URL: http://codereview.chromium.org/491053
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34371 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/build_config.h')
-rw-r--r-- | build/build_config.h | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/build/build_config.h b/build/build_config.h index 8b74e50..fbb2eef 100644 --- a/build/build_config.h +++ b/build/build_config.h @@ -29,10 +29,18 @@ #elif defined(__FreeBSD__) #define OS_FREEBSD 1 #define TOOLKIT_GTK +#elif defined(__OpenBSD__) +#define OS_OPENBSD 1 +#define TOOLKIT_GTK #else #error Please add support for your platform in build/build_config.h #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. +#endif + // For access to standard POSIXish features, use OS_POSIX instead of a // more specific macro. #if defined(OS_MACOSX) || defined(OS_LINUX) || defined(OS_FREEBSD) @@ -44,16 +52,6 @@ #define USE_BASE_DATA_PACK 1 #endif -// Use NSS for crypto. -#if defined(OS_LINUX) || defined(OS_FREEBSD) -#define USE_NSS 1 -#endif - -// Use X11 (and hence GTK/GDK) -#if defined(OS_LINUX) || defined(OS_FREEBSD) -#define USE_X11 1 -#endif - // Use tcmalloc #if defined(OS_WIN) && ! defined(NO_TCMALLOC) #define USE_TCMALLOC 1 |