Add a message pump for ChromeOS Embedded.

A message pump implementation for embedded ChromeOS.

BUG=180666


Review URL: https://chromiumcodereview.appspot.com/12546010

git-svn-id: http://src.chromium.org/svn/trunk/src/build@192703 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
rjkroege@chromium.org 2013-04-06 04:51:21 +00:00
Родитель 94be773c32
Коммит fa3d4d6cbe
2 изменённых файлов: 22 добавлений и 5 удалений

Просмотреть файл

@ -69,7 +69,7 @@
#endif
#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) && \
!defined(OS_NACL)
!defined(OS_NACL) && !defined(USE_MESSAGEPUMP_LINUX)
#define USE_X11 1 // Use X for graphics.
#endif

Просмотреть файл

@ -26,12 +26,18 @@
# Whether or not we are building the Ash shell.
'use_ash%': 0,
# Whether or not we are using the embedded messagepump.
'use_messagepump_linux%': 0,
},
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
# Whether or not we are using the /dev/input/event* message pump.
'use_messagepump_linux%': '<(use_messagepump_linux)',
# Whether we are using Views Toolkit
'toolkit_views%': 0,
@ -91,6 +97,7 @@
'chromeos%': '<(chromeos)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
'use_messagepump_linux%': '<(use_messagepump_linux)',
'use_openssl%': '<(use_openssl)',
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
@ -171,6 +178,7 @@
'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
'use_messagepump_linux%': '<(use_messagepump_linux)',
'use_openssl%': '<(use_openssl)',
'enable_viewport%': '<(enable_viewport)',
'enable_hidpi%': '<(enable_hidpi)',
@ -423,15 +431,20 @@
'use_nss%': 0,
}],
# Flags to use X11 on non-Mac POSIX platforms
['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', {
'use_glib%': 0,
# Flags to use X11 on non-Mac POSIX platforms.
['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_messagepump_linux==1', {
'use_x11%': 0,
}, {
'use_glib%': 1,
'use_x11%': 1,
}],
# Flags to use glib on non-Mac POSIX platforms.
['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', {
'use_glib%': 0,
}, {
'use_glib%': 1,
}],
# We always use skia text rendering in Aura on Windows, since GDI
# doesn't agree with our BackingStore.
# TODO(beng): remove once skia text rendering is on by default.
@ -675,6 +688,7 @@
'os_bsd%': '<(os_bsd)',
'os_posix%': '<(os_posix)',
'use_glib%': '<(use_glib)',
'use_messagepump_linux%': '<(use_messagepump_linux)',
'toolkit_uses_gtk%': '<(toolkit_uses_gtk)',
'use_x11%': '<(use_x11)',
'use_gnome_keyring%': '<(use_gnome_keyring)',
@ -1747,6 +1761,9 @@
['use_ash==1', {
'defines': ['USE_ASH=1'],
}],
['use_messagepump_linux==1', {
'defines': ['USE_MESSAGEPUMP_LINUX=1'],
}],
['use_default_render_theme==1', {
'defines': ['USE_DEFAULT_RENDER_THEME=1'],
}],