OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 # GYP version: components/policy.gypi:policy_component_core_browser | 7 # GYP version: components/policy.gypi:policy_component_core_browser |
8 source_set("browser") { | 8 source_set("browser") { |
9 sources = [ | 9 sources = [ |
10 # Note that these sources are always included, even for builds that disable | 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 | 11 # policy. Most source files should go in the conditional sources list |
12 # below. url_blacklist_manager.h is used by managed mode. | 12 # below. url_blacklist_manager.h is used by managed mode. |
13 "url_blacklist_manager.cc", | 13 "url_blacklist_manager.cc", |
14 "url_blacklist_manager.h", | 14 "url_blacklist_manager.h", |
15 ] | 15 ] |
16 | 16 |
17 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] | 17 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 "//base:prefs", | 21 "//base:prefs", |
22 "//base/third_party/dynamic_annotations", | 22 "//base/third_party/dynamic_annotations", |
23 "//components/bookmarks/browser", | |
24 "//components/keyed_service/core", | 23 "//components/keyed_service/core", |
25 "//components/pref_registry", | 24 "//components/pref_registry", |
26 "//components/strings", | 25 "//components/strings", |
27 "//components/url_matcher", | 26 "//components/url_matcher", |
28 "//net", | 27 "//net", |
29 "//ui/base", | 28 "//ui/base", |
| 29 #'bookmarks_browser', TODO(GYP) |
30 ] | 30 ] |
31 | 31 |
32 if (enable_configuration_policy) { | 32 if (enable_configuration_policy) { |
33 sources += [ | 33 sources += [ |
34 "autofill_policy_handler.cc", | 34 "autofill_policy_handler.cc", |
35 "autofill_policy_handler.h", | 35 "autofill_policy_handler.h", |
36 "browser_policy_connector.cc", | 36 "browser_policy_connector.cc", |
37 "browser_policy_connector.h", | 37 "browser_policy_connector.h", |
38 "browser_policy_connector_ios.h", | 38 "browser_policy_connector_ios.h", |
39 "browser_policy_connector_ios.mm", | 39 "browser_policy_connector_ios.mm", |
(...skipping 15 matching lines...) Expand all Loading... |
55 | 55 |
56 deps += [ | 56 deps += [ |
57 "//components/autofill/core/browser", | 57 "//components/autofill/core/browser", |
58 "//components/autofill/core/common", | 58 "//components/autofill/core/common", |
59 "//components/policy", | 59 "//components/policy", |
60 "//components/policy/proto", | 60 "//components/policy/proto", |
61 "//third_party/icu", | 61 "//third_party/icu", |
62 ] | 62 ] |
63 } | 63 } |
64 } | 64 } |
OLD | NEW |