Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: build/common.gypi

Issue 7314015: Start compiling in smooth scrolling by default on Linux. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index fbc7da64cc4c0b2587856da5a72f87faf764a090..00a94d95fcd650814fe438d982f465be9963b6a1 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -172,6 +172,9 @@
# Enable navigator.registerProtocolHandler and supporting UI.
'enable_register_protocol_handler%': 1,
+ # Smooth scrolling is disabled by default.
+ 'enable_smooth_scrolling%': 0,
+
'conditions': [
# Use Skia as WebKit renderer on Mac
['OS=="mac"', {
@@ -224,6 +227,13 @@
}, {
'file_manager_extension%': 0,
}],
+
+ # Enable smooth scrolling for Linux and ChromeOS
+ ['OS=="linux"', {
+ 'enable_smooth_scrolling%': 1,
+ }, {
+ 'enable_smooth_scrolling%': 0,
+ }],
],
},
@@ -261,9 +271,7 @@
'configuration_policy%': '<(configuration_policy)',
'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)',
'enable_register_protocol_handler%': '<(enable_register_protocol_handler)',
-
- # Smooth scrolling is disabled by default.
- 'enable_smooth_scrolling%': 0,
+ 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)',
# The release channel that this build targets. This is used to restrict
# channel-specific build options, like which installer packages to create.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698