| 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 source_set("common") { | 7 source_set("common") { |
| 8 visibility = [ "//components/policy/*" ] | 8 visibility = [ |
| 9 "//components/policy/*", |
| 10 "//components/syncable_prefs/*", |
| 11 ] |
| 9 | 12 |
| 10 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] | 13 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] |
| 11 | 14 |
| 12 if (enable_configuration_policy) { | 15 if (enable_configuration_policy) { |
| 13 sources = [ | 16 sources = [ |
| 14 "../../policy_export.h", | 17 "../../policy_export.h", |
| 15 "async_policy_loader.cc", | 18 "async_policy_loader.cc", |
| 16 "async_policy_loader.h", | 19 "async_policy_loader.h", |
| 17 "async_policy_provider.cc", | 20 "async_policy_provider.cc", |
| 18 "async_policy_provider.h", | 21 "async_policy_provider.h", |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 277 ] | 280 ] |
| 278 } | 281 } |
| 279 | 282 |
| 280 deps = [ | 283 deps = [ |
| 281 "//components/policy:policy_component_test_support", | 284 "//components/policy:policy_component_test_support", |
| 282 "//testing/gmock", | 285 "//testing/gmock", |
| 283 "//testing/gtest", | 286 "//testing/gtest", |
| 284 ] | 287 ] |
| 285 } | 288 } |
| 286 } | 289 } |
| OLD | NEW |