diff options
author | dnicoara@chromium.org <dnicoara@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 17:38:23 +0000 |
---|---|---|
committer | dnicoara@chromium.org <dnicoara@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-28 17:38:23 +0000 |
commit | 236754afe8615dfffebc8f5f4b0257c4cebcf137 (patch) | |
tree | c513216c90163f869ac0a925ad31e45ae3b57c2d /build/common.gypi | |
parent | ffdd452063e25308a32c71944d17af3557b77f38 (diff) | |
download | chromium_src-236754afe8615dfffebc8f5f4b0257c4cebcf137.zip chromium_src-236754afe8615dfffebc8f5f4b0257c4cebcf137.tar.gz chromium_src-236754afe8615dfffebc8f5f4b0257c4cebcf137.tar.bz2 |
Adding a Wayland basic toolkit
This is essentially a OO wrapper over the Wayland library. It will be used to
add Wayland support for Chrome.
This was written with the intent of being as standalone as possible and it
should not require any external Chrome dependencies.
BUG=None
TEST=None
R=evan@chromium.org
Review URL: http://codereview.chromium.org/7457023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94492 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/common.gypi')
-rw-r--r-- | build/common.gypi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi index 33b6dd0..d8cacd2 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -90,6 +90,8 @@ 'toolkit_views%': '<(toolkit_views)', 'toolkit_uses_pure_views%': '<(toolkit_uses_pure_views)', 'views_compositor%': '<(views_compositor)', + # Whether to build for Wayland display server + 'use_wayland%': 0, # We used to provide a variable for changing how libraries were built. # This variable remains until we can clean up all the users. @@ -211,6 +213,9 @@ 'toolkit_uses_gtk%': 0, 'use_x11%': 0, }, { + # TODO(dnicoara) Wayland build should have these disabled, but + # currently GTK and X is too spread and it's hard to completely + # remove every dependency. 'toolkit_uses_gtk%': 1, 'use_x11%': 1, }], @@ -291,6 +296,7 @@ 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', + 'use_wayland%': '<(use_wayland)', # The release channel that this build targets. This is used to restrict # channel-specific build options, like which installer packages to create. @@ -732,6 +738,9 @@ ['touchui==1', { 'defines': ['TOUCH_UI=1'], }], + ['use_wayland==1', { + 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'], + }], ['file_manager_extension==1', { 'defines': ['FILE_MANAGER_EXTENSION=1'], }], |