Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / components / policy / core / browser / BUILD.gn
blob4b74d13407cca76a1d662c084522822734030f19
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 import("//build/config/features.gni")
7 # GYP version: components/policy.gypi:policy_component_core_browser
8 source_set("browser") {
9   sources = [
10     # Note that these sources are always included, even for builds that disable
11     # policy. Most source files should go in the conditional sources list
12     # below. url_blacklist_manager.h is used by managed mode.
13     "url_blacklist_manager.cc",
14     "url_blacklist_manager.h",
15   ]
17   defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ]
19   deps = [
20     "//base",
21     "//base:prefs",
22     "//base/third_party/dynamic_annotations",
23     "//components/bookmarks/managed",
24     "//components/keyed_service/core",
25     "//components/pref_registry",
26     "//components/strings",
27     "//components/url_matcher",
28     "//net",
29     "//ui/base",
30   ]
32   if (enable_configuration_policy) {
33     sources += [
34       "autofill_policy_handler.cc",
35       "autofill_policy_handler.h",
36       "browser_policy_connector.cc",
37       "browser_policy_connector.h",
38       "browser_policy_connector_ios.h",
39       "browser_policy_connector_ios.mm",
40       "cloud/message_util.cc",
41       "cloud/message_util.h",
42       "configuration_policy_handler.cc",
43       "configuration_policy_handler.h",
44       "configuration_policy_handler_list.cc",
45       "configuration_policy_handler_list.h",
46       "configuration_policy_pref_store.cc",
47       "configuration_policy_pref_store.h",
48       "policy_error_map.cc",
49       "policy_error_map.h",
50       "url_blacklist_policy_handler.cc",
51       "url_blacklist_policy_handler.h",
52     ]
54     deps += [
55       "//components/autofill/core/common",
56       "//components/policy",
57       "//components/policy/proto",
58       "//third_party/icu",
59     ]
60   }