summaryrefslogtreecommitdiffstats
path: root/components/sync_driver/BUILD.gn
diff options
context:
space:
mode:
authormaxbogue <maxbogue@chromium.org>2015-08-06 11:57:16 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-06 18:58:02 +0000
commitf987cca61f037bcbaa2cc68a8781ffdaa1138e20 (patch)
tree26a591c2f0a0c4dfbee2dcf9cfdc2ae5dc11d2b9 /components/sync_driver/BUILD.gn
parente791f20199dbc67f1908409b24102d0a3438b6d2 (diff)
downloadchromium_src-f987cca61f037bcbaa2cc68a8781ffdaa1138e20.zip
chromium_src-f987cca61f037bcbaa2cc68a8781ffdaa1138e20.tar.gz
chromium_src-f987cca61f037bcbaa2cc68a8781ffdaa1138e20.tar.bz2
[Sync] Componentize sync_policy_handler.
BUG=512484 TBR=bartfab@chromium.org Review URL: https://codereview.chromium.org/1265893002 Cr-Commit-Position: refs/heads/master@{#342165}
Diffstat (limited to 'components/sync_driver/BUILD.gn')
-rw-r--r--components/sync_driver/BUILD.gn9
1 files changed, 9 insertions, 0 deletions
diff --git a/components/sync_driver/BUILD.gn b/components/sync_driver/BUILD.gn
index 8f4e585..7f31a70 100644
--- a/components/sync_driver/BUILD.gn
+++ b/components/sync_driver/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/features.gni")
+
static_library("sync_driver") {
sources = [
"backend_data_type_configurer.cc",
@@ -78,6 +80,13 @@ static_library("sync_driver") {
"//components/signin/core/browser",
"//sync",
]
+
+ if (enable_configuration_policy) {
+ sources += [
+ "sync_policy_handler.cc",
+ "sync_policy_handler.h",
+ ]
+ }
}
static_library("test_support") {