| 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 visibility = [ "//components/policy/*" ] | 9 visibility = [ "//components/policy/*" ] |
| 10 sources = [ | 10 sources = [ |
| 11 # Note that these sources are always included, even for builds that disable | 11 # Note that these sources are always included, even for builds that disable |
| 12 # policy. Most source files should go in the conditional sources list | 12 # policy. Most source files should go in the conditional sources list |
| 13 # below. url_blacklist_manager.h is used by managed mode. | 13 # below. url_blacklist_manager.h is used by managed mode. |
| 14 "url_blacklist_manager.cc", | 14 "url_blacklist_manager.cc", |
| 15 "url_blacklist_manager.h", | 15 "url_blacklist_manager.h", |
| 16 ] | 16 ] |
| 17 | 17 |
| 18 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] | 18 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] |
| 19 | 19 |
| 20 deps = [ | 20 deps = [ |
| 21 "//base", | 21 "//base", |
| 22 "//base:prefs", | |
| 23 "//base/third_party/dynamic_annotations", | 22 "//base/third_party/dynamic_annotations", |
| 24 "//components/bookmarks/managed", | 23 "//components/bookmarks/managed", |
| 25 "//components/keyed_service/core", | 24 "//components/keyed_service/core", |
| 26 "//components/policy/core/common", | 25 "//components/policy/core/common", |
| 27 "//components/pref_registry", | 26 "//components/pref_registry", |
| 27 "//components/prefs", |
| 28 "//components/strings", | 28 "//components/strings", |
| 29 "//components/url_matcher", | 29 "//components/url_matcher", |
| 30 "//ui/base", | 30 "//ui/base", |
| 31 ] | 31 ] |
| 32 | 32 |
| 33 if (is_android) { | 33 if (is_android) { |
| 34 sources += [ | 34 sources += [ |
| 35 "android/android_combined_policy_provider.cc", | 35 "android/android_combined_policy_provider.cc", |
| 36 "android/android_combined_policy_provider.h", | 36 "android/android_combined_policy_provider.h", |
| 37 "android/component_jni_registrar.cc", | 37 "android/component_jni_registrar.cc", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 "autofill_policy_handler_unittest.cc", | 89 "autofill_policy_handler_unittest.cc", |
| 90 "browser_policy_connector_unittest.cc", | 90 "browser_policy_connector_unittest.cc", |
| 91 "configuration_policy_handler_unittest.cc", | 91 "configuration_policy_handler_unittest.cc", |
| 92 "configuration_policy_pref_store_unittest.cc", | 92 "configuration_policy_pref_store_unittest.cc", |
| 93 "proxy_policy_handler_unittest.cc", | 93 "proxy_policy_handler_unittest.cc", |
| 94 "url_blacklist_manager_unittest.cc", | 94 "url_blacklist_manager_unittest.cc", |
| 95 "url_blacklist_policy_handler_unittest.cc", | 95 "url_blacklist_policy_handler_unittest.cc", |
| 96 ] | 96 ] |
| 97 deps = [ | 97 deps = [ |
| 98 "//base", | 98 "//base", |
| 99 "//base:prefs_test_support", | |
| 100 "//components/autofill/core/common", | 99 "//components/autofill/core/common", |
| 101 "//components/policy", | 100 "//components/policy", |
| 102 "//components/policy:policy_component_test_support", | 101 "//components/policy:policy_component_test_support", |
| 102 "//components/prefs:test_support", |
| 103 "//components/proxy_config", | 103 "//components/proxy_config", |
| 104 "//components/url_formatter", | 104 "//components/url_formatter", |
| 105 "//google_apis", | 105 "//google_apis", |
| 106 "//net", | 106 "//net", |
| 107 "//testing/gmock", | 107 "//testing/gmock", |
| 108 "//testing/gtest", | 108 "//testing/gtest", |
| 109 ] | 109 ] |
| 110 } | 110 } |
| 111 } | 111 } |
| OLD | NEW |