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 = [ "//components/policy/*" ] |
9 | 9 |
10 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] | 10 defines = [ "POLICY_COMPONENT_IMPLEMENTATION" ] |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 ] | 253 ] |
254 | 254 |
255 if (is_chromeos) { | 255 if (is_chromeos) { |
256 sources -= [ | 256 sources -= [ |
257 "cloud/user_cloud_policy_manager_unittest.cc", | 257 "cloud/user_cloud_policy_manager_unittest.cc", |
258 "cloud/user_cloud_policy_store_unittest.cc", | 258 "cloud/user_cloud_policy_store_unittest.cc", |
259 ] | 259 ] |
260 } | 260 } |
261 | 261 |
262 deps = [ | 262 deps = [ |
263 "//components/policy:policy_component_test_support", | |
264 "//testing/gmock", | 263 "//testing/gmock", |
265 "//testing/gtest", | 264 "//testing/gtest", |
266 ] | 265 ] |
| 266 if (enable_configuration_policy) { |
| 267 deps += [ "//components/policy:policy_component_test_support" ] |
| 268 } |
267 } | 269 } |
OLD | NEW |