diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 20:10:49 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-10 20:10:49 +0000 |
commit | 93012ca75a1f611b48447fd15ef7db48793c6722 (patch) | |
tree | d612d073c1530386a3cffa87ac9ef4c132dd02c6 | |
parent | c8463a431cf61e71db88419f89e44cdae57f8293 (diff) | |
download | chromium_src-93012ca75a1f611b48447fd15ef7db48793c6722.zip chromium_src-93012ca75a1f611b48447fd15ef7db48793c6722.tar.gz chromium_src-93012ca75a1f611b48447fd15ef7db48793c6722.tar.bz2 |
Lands http://codereview.chromium.org/3166002 for bryeung:
Chain toolkit_views to touchui.
All touchui work is based on toolkit_views.
TEST=manually via gclient runhooks
BUG=none
Review URL: http://codereview.chromium.org/3173001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55613 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | build/common.gypi | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/build/common.gypi b/build/common.gypi index 5407742..c27dc75 100644 --- a/build/common.gypi +++ b/build/common.gypi @@ -61,6 +61,9 @@ # toolkit_views test below. 'chromeos%': '0', + # Disable touch support by default. + 'touchui%': 0, + # To do a shared build on linux we need to be able to choose between # type static_library and shared_library. We default to doing a static # build but you can override this with "gyp -Dlibrary=shared_library" @@ -70,11 +73,12 @@ 'library%': 'static_library', }, - # Set default value of toolkit_views on for Windows and Chrome OS. + # Set default value of toolkit_views on for Windows, Chrome OS + # and the touch UI. # We set it at this level of nesting so the value is available for # other conditionals below. 'conditions': [ - ['OS=="win" or chromeos==1', { + ['OS=="win" or chromeos==1 or touchui==1', { 'toolkit_views%': 1, }, { 'toolkit_views%': 0, @@ -94,8 +98,9 @@ 'linux_chromium_dump_symbols%': 0, # Also see linux_strip_binary below. - # Copy conditionally-set chromeos variable out one scope. + # Copy conditionally-set chromeos and touchui variables out one scope. 'chromeos%': '<(chromeos)', + 'touchui%': '<(touchui)', # This variable tells WebCore.gyp and JavaScriptCore.gyp whether they are # are built under a chromium full build (1) or a webkit.org chromium @@ -146,6 +151,7 @@ 'host_arch%': '<(host_arch)', 'toolkit_views%': '<(toolkit_views)', 'chromeos%': '<(chromeos)', + 'touchui%': '<(touchui)', 'inside_chromium_build%': '<(inside_chromium_build)', 'fastbuild%': '<(fastbuild)', 'linux_fpic%': '<(linux_fpic)', @@ -380,9 +386,6 @@ 'sk', 'sl', 'sr', 'sv', 'sw', 'ta', 'te', 'th', 'tr', 'uk', 'vi', 'zh-CN', 'zh-TW', ], - - # Disable touch support by default. - 'touchui%': 0, }, 'target_defaults': { 'variables': { |