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

Unified Diff: build/common.gypi

Issue 3380004: Linux: make compile-time dependency on gnome-keyring optional. (Closed)
Patch Set: fixes Created 10 years, 3 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 | build/linux/system.gyp » ('j') | build/linux/system.gyp » ('J')
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 9b68623d20014fb8554664c914952dfcb71b236f..045d59c951843a08f73b1c2f7c5f37627b101612 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -73,16 +73,26 @@
'library%': 'static_library',
},
- # 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
+ # We set those at this level of nesting so the values are available for
# other conditionals below.
'conditions': [
+ # Set default value of toolkit_views on for Windows, Chrome OS
+ # and the touch UI.
['OS=="win" or chromeos==1 or touchui==1', {
'toolkit_views%': 1,
}, {
'toolkit_views%': 0,
}],
+
+ # A flag to enable or disable our compile-time dependency
+ # on gnome-keyring. If that dependency is disabled, no gnome-keyring
+ # support will be available. This option is useful
+ # for Linux distributions.
+ ['chromeos==1', {
+ 'use_gnome_keyring%': 0,
+ }, {
+ 'use_gnome_keyring%': 1,
+ }],
],
'host_arch%': '<(host_arch)',
@@ -143,6 +153,7 @@
'target_arch%': '<(target_arch)',
'host_arch%': '<(host_arch)',
'toolkit_views%': '<(toolkit_views)',
+ 'use_gnome_keyring%': '<(use_gnome_keyring)',
'chromeos%': '<(chromeos)',
'touchui%': '<(touchui)',
'inside_chromium_build%': '<(inside_chromium_build)',
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | build/linux/system.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698