| 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", | 23 "//components/bookmarks/managed", |
| 24 "//components/keyed_service/core", | 24 "//components/keyed_service/core", |
| 25 "//components/pref_registry", | 25 "//components/pref_registry", |
| 26 "//components/strings", | 26 "//components/strings", |
| 27 "//components/url_matcher", | 27 "//components/url_matcher", |
| 28 "//net", | 28 "//net", |
| 29 "//ui/base", | 29 "//ui/base", |
| 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", |
| 40 "cloud/message_util.cc", | 40 "cloud/message_util.cc", |
| 41 "cloud/message_util.h", | 41 "cloud/message_util.h", |
| 42 "configuration_policy_handler.cc", | 42 "configuration_policy_handler.cc", |
| 43 "configuration_policy_handler.h", | 43 "configuration_policy_handler.h", |
| 44 "configuration_policy_handler_list.cc", | 44 "configuration_policy_handler_list.cc", |
| 45 "configuration_policy_handler_list.h", | 45 "configuration_policy_handler_list.h", |
| 46 "configuration_policy_pref_store.cc", | 46 "configuration_policy_pref_store.cc", |
| 47 "configuration_policy_pref_store.h", | 47 "configuration_policy_pref_store.h", |
| 48 "managed_bookmarks_tracker.cc", | |
| 49 "managed_bookmarks_tracker.h", | |
| 50 "policy_error_map.cc", | 48 "policy_error_map.cc", |
| 51 "policy_error_map.h", | 49 "policy_error_map.h", |
| 52 "url_blacklist_policy_handler.cc", | 50 "url_blacklist_policy_handler.cc", |
| 53 "url_blacklist_policy_handler.h", | 51 "url_blacklist_policy_handler.h", |
| 54 ] | 52 ] |
| 55 | 53 |
| 56 deps += [ | 54 deps += [ |
| 57 "//components/autofill/core/common", | 55 "//components/autofill/core/common", |
| 58 "//components/policy", | 56 "//components/policy", |
| 59 "//components/policy/proto", | 57 "//components/policy/proto", |
| 60 "//third_party/icu", | 58 "//third_party/icu", |
| 61 ] | 59 ] |
| 62 } | 60 } |
| 63 } | 61 } |
| OLD | NEW |