Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 4dad56f51f9e48fb5944e50803432fcc59fd4c7e..8b5f75f1c3d10c3462cf99e37db2068baf87fbc9 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -538,6 +538,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, |
@@ -809,6 +812,7 @@ |
['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
'enable_one_click_signin%': 1, |
+ 'enable_pre_sync_backup%': 1, |
}], |
['OS=="android"', { |
@@ -1159,6 +1163,7 @@ |
'use_titlecase_in_grd%': '<(use_titlecase_in_grd)', |
'remoting%': '<(remoting)', |
'enable_one_click_signin%': '<(enable_one_click_signin)', |
+ 'enable_pre_sync_backup%': '<(enable_pre_sync_backup)', |
'enable_media_router%': '<(enable_media_router)', |
'enable_webrtc%': '<(enable_webrtc)', |
'chromium_win_pch%': '<(chromium_win_pch)', |
@@ -2729,6 +2734,9 @@ |
}], |
['enable_one_click_signin==1', { |
'defines': ['ENABLE_ONE_CLICK_SIGNIN'], |
+ }], |
+ ['enable_pre_sync_backup==1', { |
+ 'defines': ['ENABLE_PRE_SYNC_BACKUP'], |
}], |
['image_loader_extension==1', { |
'defines': ['IMAGE_LOADER_EXTENSION=1'], |