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

Unified Diff: build/common.gypi

Issue 347653006: Define a single macro for enabling backup function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | chrome/browser/sync/backup_rollback_controller.cc » ('j') | 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 5b15e70db934c48f668345ed59f78af641f1d96f..d42a9687101944ea18b345c8c07b127a55b908db 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -418,6 +418,9 @@
# Whether one-click signin is enabled or not.
'enable_one_click_signin%': 0,
+ # Whether to back up data before sync.
+ 'enable_pre_sync_backup%': 0,
+
# Enable Chrome browser extensions
'enable_extensions%': 1,
@@ -678,6 +681,7 @@
['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
pvalenzuela1 2014/06/19 00:15:58 Based on the CL description (and the changes here)
haitaol1 2014/06/19 16:36:31 Because there's only one OS variable, it can't be
pvalenzuela1 2014/06/19 18:30:21 Ah, you're right. I misread. This should work; you
'enable_one_click_signin%': 1,
+ 'enable_pre_sync_backup%': 1,
}],
['OS=="android"', {
@@ -1042,6 +1046,7 @@
'use_third_party_translations%': '<(use_third_party_translations)',
'remoting%': '<(remoting)',
'enable_one_click_signin%': '<(enable_one_click_signin)',
+ 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)',
'enable_webrtc%': '<(enable_webrtc)',
'chromium_win_pch%': '<(chromium_win_pch)',
'configuration_policy%': '<(configuration_policy)',
@@ -2459,6 +2464,9 @@
['enable_one_click_signin==1', {
'defines': ['ENABLE_ONE_CLICK_SIGNIN'],
}],
+ ['enable_pre_sync_backup==1', {
+ 'defines': ['ENABLE_PRE_SYNC_BACKUP'],
+ }],
['use_xi2_mt!=0 and use_x11==1', {
'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
}],
« no previous file with comments | « no previous file | chrome/browser/sync/backup_rollback_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698