From f987cca61f037bcbaa2cc68a8781ffdaa1138e20 Mon Sep 17 00:00:00 2001 From: maxbogue Date: Thu, 6 Aug 2015 11:57:16 -0700 Subject: [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} --- components/sync_driver/BUILD.gn | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'components/sync_driver/BUILD.gn') 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") { -- cgit v1.1