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

Unified Diff: components/sync_driver/BUILD.gn

Issue 1490713002: Revert of Convert enable_pre_sync_backup flag to new flags system. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/sync_driver.gypi ('k') | components/sync_driver/backup_rollback_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_driver/BUILD.gn
diff --git a/components/sync_driver/BUILD.gn b/components/sync_driver/BUILD.gn
index 38b89a8c3e2747c69eb7901f849d95ba69b565a6..ffe41b8b23f1dc137cda814fbe564932764f8486 100644
--- a/components/sync_driver/BUILD.gn
+++ b/components/sync_driver/BUILD.gn
@@ -2,7 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import("//build/buildflag_header.gni")
import("//build/config/features.gni")
source_set("sync_driver") {
@@ -121,9 +120,6 @@
"user_selectable_sync_type.h",
]
- public_deps = [
- ":features",
- ]
deps = [
"//base",
"//base:prefs",
@@ -254,12 +250,3 @@
]
}
}
-
-buildflag_header("features") {
- header = "sync_driver_features.h"
-
- # Whether to back up data before sync.
- enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
-
- flags = [ "ENABLE_PRE_SYNC_BACKUP=$enable_pre_sync_backup" ]
-}
« no previous file with comments | « components/sync_driver.gypi ('k') | components/sync_driver/backup_rollback_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698