| 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 = [ |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 "cloud/message_util.cc", | 55 "cloud/message_util.cc", |
| 56 "cloud/message_util.h", | 56 "cloud/message_util.h", |
| 57 "configuration_policy_handler.cc", | 57 "configuration_policy_handler.cc", |
| 58 "configuration_policy_handler.h", | 58 "configuration_policy_handler.h", |
| 59 "configuration_policy_handler_list.cc", | 59 "configuration_policy_handler_list.cc", |
| 60 "configuration_policy_handler_list.h", | 60 "configuration_policy_handler_list.h", |
| 61 "configuration_policy_pref_store.cc", | 61 "configuration_policy_pref_store.cc", |
| 62 "configuration_policy_pref_store.h", | 62 "configuration_policy_pref_store.h", |
| 63 "policy_error_map.cc", | 63 "policy_error_map.cc", |
| 64 "policy_error_map.h", | 64 "policy_error_map.h", |
| 65 "proxy_policy_handler.cc", |
| 66 "proxy_policy_handler.h", |
| 65 "url_blacklist_policy_handler.cc", | 67 "url_blacklist_policy_handler.cc", |
| 66 "url_blacklist_policy_handler.h", | 68 "url_blacklist_policy_handler.h", |
| 67 ] | 69 ] |
| 68 | 70 |
| 69 deps += [ | 71 deps += [ |
| 70 "//components/autofill/core/common", | 72 "//components/autofill/core/common", |
| 71 "//components/policy", | 73 "//components/policy", |
| 72 "//components/policy/proto", | 74 "//components/policy/proto", |
| 75 "//components/proxy_config", |
| 73 "//third_party/icu", | 76 "//third_party/icu", |
| 74 ] | 77 ] |
| 75 } | 78 } |
| 76 } | 79 } |
| 77 | 80 |
| 78 source_set("unit_tests") { | 81 source_set("unit_tests") { |
| 79 testonly = true | 82 testonly = true |
| 80 sources = [ | 83 sources = [ |
| 81 "android/android_combined_policy_provider_unittest.cc", | 84 "android/android_combined_policy_provider_unittest.cc", |
| 82 "android/policy_converter_unittest.cc", | 85 "android/policy_converter_unittest.cc", |
| 83 "autofill_policy_handler_unittest.cc", | 86 "autofill_policy_handler_unittest.cc", |
| 84 "browser_policy_connector_unittest.cc", | 87 "browser_policy_connector_unittest.cc", |
| 85 "configuration_policy_handler_unittest.cc", | 88 "configuration_policy_handler_unittest.cc", |
| 86 "configuration_policy_pref_store_unittest.cc", | 89 "configuration_policy_pref_store_unittest.cc", |
| 90 "proxy_policy_handler_unittest.cc", |
| 87 "url_blacklist_manager_unittest.cc", | 91 "url_blacklist_manager_unittest.cc", |
| 88 "url_blacklist_policy_handler_unittest.cc", | 92 "url_blacklist_policy_handler_unittest.cc", |
| 89 ] | 93 ] |
| 90 deps = [ | 94 deps = [ |
| 91 "//components/url_formatter", | 95 "//components/url_formatter", |
| 92 "//testing/gmock", | 96 "//testing/gmock", |
| 93 "//testing/gtest", | 97 "//testing/gtest", |
| 94 ] | 98 ] |
| 95 if (enable_configuration_policy) { | 99 if (enable_configuration_policy) { |
| 96 deps += [ "//components/policy:policy_component_test_support" ] | 100 deps += [ "//components/policy:policy_component_test_support" ] |
| 97 } | 101 } |
| 98 } | 102 } |
| OLD | NEW |