summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorsaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-11 03:00:38 +0000
committersaintlou@chromium.org <saintlou@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-11 03:00:38 +0000
commitcefddfccce7b72f2ffaf9c51ed43daa1fbac2b9b (patch)
tree316f72b99f76d7edd33cb43eaaa37a452641d142 /build
parent832291d279acd20f729875c0405f4a257dbafdb8 (diff)
downloadchromium_src-cefddfccce7b72f2ffaf9c51ed43daa1fbac2b9b.zip
chromium_src-cefddfccce7b72f2ffaf9c51ed43daa1fbac2b9b.tar.gz
chromium_src-cefddfccce7b72f2ffaf9c51ed43daa1fbac2b9b.tar.bz2
IsPureViews() is always true under USE_AURA and TOUCH_UI at compile time (as before).
For other configurations it can also be set by a command line option at run-time (also as before). What changes is that we are removing use_only_pure_views as a separate GYP flag which we no longer really need. BUG=none TEST=none Review URL: http://codereview.chromium.org/8528014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109571 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi29
1 files changed, 3 insertions, 26 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 4c9487b..3a26189 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -24,13 +24,6 @@
# Whether we are using Views Toolkit
'toolkit_views%': 0,
- # Whether the Views toolkit can use its Pure form when available
- # or if it must only use GTK (the default at the moment).
- # This is an intermediate step until all of Views is 'Pure',
- # at which point we plan to remove those switches.
- # This turns on the USE_ONLY_PURE_VIEWS macro.
- 'use_only_pure_views%': 0,
-
# Disable touch support by default.
'touchui%': 0,
@@ -45,7 +38,6 @@
},
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
- 'use_only_pure_views%': '<(use_only_pure_views)',
'touchui%': '<(touchui)',
'views_compositor%': '<(views_compositor)',
'use_aura%': '<(use_aura)',
@@ -68,19 +60,12 @@
# Set default value of toolkit_views on for Windows, Chrome OS,
# Touch and PureView.
- ['OS=="win" or chromeos==1 or touchui==1 or use_only_pure_views==1 or use_aura==1', {
+ ['OS=="win" or chromeos==1 or touchui==1 or use_aura==1', {
'toolkit_views%': 1,
}, {
'toolkit_views%': 0,
}],
- # Views are always Pure in Touch and Aura case.
- ['touchui==1 or use_aura==1', {
- 'use_only_pure_views%': 1,
- }, {
- 'use_only_pure_views%': 0,
- }],
-
# Use virtual keyboard by default in TouchUI builds.
['touchui==1', {
'use_virtual_keyboard%': 1,
@@ -102,7 +87,6 @@
'use_virtual_keyboard%': '<(use_virtual_keyboard)',
'host_arch%': '<(host_arch)',
'toolkit_views%': '<(toolkit_views)',
- 'use_only_pure_views%': '<(use_only_pure_views)',
'views_compositor%': '<(views_compositor)',
'use_webkit_compositor%': '<(use_webkit_compositor)',
'use_aura%': '<(use_aura)',
@@ -321,7 +305,7 @@
}],
# Enable file manager extension on Chrome OS, Touch, PureView, Aura.
- ['chromeos==1 or touchui==1 or use_only_pure_views==1 or use_aura==1', {
+ ['chromeos==1 or touchui==1 or use_aura==1', {
'file_manager_extension%': 1,
}, {
'file_manager_extension%': 0,
@@ -333,7 +317,7 @@
}],
# Enable WebUI TaskManager always on Chrome OS, Touch or PureView.
- ['chromeos==1 or touchui==1 or use_only_pure_views==1 or use_aura==1', {
+ ['chromeos==1 or touchui==1 or use_aura==1', {
'webui_task_manager%': 1,
}],
@@ -359,7 +343,6 @@
'host_arch%': '<(host_arch)',
'library%': 'static_library',
'toolkit_views%': '<(toolkit_views)',
- 'use_only_pure_views%': '<(use_only_pure_views)',
'views_compositor%': '<(views_compositor)',
'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
'use_webkit_compositor%': '<(use_webkit_compositor)',
@@ -819,9 +802,6 @@
['toolkit_views==1', {
'grit_defines': ['-D', 'toolkit_views'],
}],
- ['use_only_pure_views==1', {
- 'grit_defines': ['-D', 'use_only_pure_views'],
- }],
['use_aura==1', {
'grit_defines': ['-D', 'use_aura'],
}],
@@ -975,9 +955,6 @@
['toolkit_views==1', {
'defines': ['TOOLKIT_VIEWS=1'],
}],
- ['use_only_pure_views==1', {
- 'defines': ['USE_ONLY_PURE_VIEWS=1'],
- }],
['views_compositor==1', {
'defines': ['VIEWS_COMPOSITOR=1'],
}],