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

Unified Diff: components/sync_driver.gypi

Issue 1487873003: Convert enable_pre_sync_backup flag to new flags system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Created 5 years 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 | « components/components_tests.gyp ('k') | components/sync_driver/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver.gypi
diff --git a/components/sync_driver.gypi b/components/sync_driver.gypi
index 7bda955703b62de168bf81779e2222148c0236cf..fa4aeb33da83950598b5557a054acbc8d992030d 100644
--- a/components/sync_driver.gypi
+++ b/components/sync_driver.gypi
@@ -18,6 +18,7 @@
'invalidation_public',
'os_crypt',
'signin_core_browser',
+ 'sync_driver_features',
'version_info',
],
'include_dirs': [
@@ -152,6 +153,26 @@
],
},
{
+ # GN version: //components/sync_driver:features
+ 'target_name': 'sync_driver_features',
+ 'includes': [ '../build/buildflag_header.gypi' ],
+ 'variables': {
+ 'buildflag_header_path': 'components/sync_driver/sync_driver_features.h',
+ 'variables': {
+ 'conditions': [
+ ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
+ 'enable_pre_sync_backup%': 1,
+ }, {
+ 'enable_pre_sync_backup%': 0,
+ }],
+ ],
+ },
+ 'buildflag_flags': [
+ "ENABLE_PRE_SYNC_BACKUP=<(enable_pre_sync_backup)",
+ ],
+ },
+ },
+ {
'target_name': 'sync_driver_test_support',
'type': 'static_library',
'dependencies': [
« no previous file with comments | « components/components_tests.gyp ('k') | components/sync_driver/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698