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: http://src.chromium.org/svn/trunk/src/build@35402 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
6262e642eb
Коммит
24fb92782e
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче