| 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 = [ | 8 visibility = [ |
| 9 "//components/policy/*", | 9 "//components/policy/*", |
| 10 "//components/syncable_prefs/*", | 10 "//components/syncable_prefs/*", |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 ] | 182 ] |
| 183 sources -= [ | 183 sources -= [ |
| 184 "cloud/cloud_policy_client_registration_helper.cc", | 184 "cloud/cloud_policy_client_registration_helper.cc", |
| 185 "cloud/cloud_policy_client_registration_helper.h", | 185 "cloud/cloud_policy_client_registration_helper.h", |
| 186 "cloud/user_cloud_policy_manager.cc", | 186 "cloud/user_cloud_policy_manager.cc", |
| 187 "cloud/user_cloud_policy_manager.h", | 187 "cloud/user_cloud_policy_manager.h", |
| 188 "cloud/user_cloud_policy_store.cc", | 188 "cloud/user_cloud_policy_store.cc", |
| 189 "cloud/user_cloud_policy_store.h", | 189 "cloud/user_cloud_policy_store.h", |
| 190 ] | 190 ] |
| 191 } | 191 } |
| 192 if (is_mac) { |
| 193 libs = [ "CoreFoundation.framework" ] |
| 194 } |
| 192 if (!is_ios && !is_mac) { | 195 if (!is_ios && !is_mac) { |
| 193 sources -= [ | 196 sources -= [ |
| 194 "mac_util.cc", | 197 "mac_util.cc", |
| 195 "mac_util.h", | 198 "mac_util.h", |
| 196 ] | 199 ] |
| 197 } | 200 } |
| 198 } else { | 201 } else { |
| 199 # Some of the policy code is always enabled, so that other parts of Chrome | 202 # Some of the policy code is always enabled, so that other parts of Chrome |
| 200 # can always interface with the PolicyService without having to #ifdef on | 203 # can always interface with the PolicyService without having to #ifdef on |
| 201 # ENABLE_CONFIGURATION_POLICY. | 204 # ENABLE_CONFIGURATION_POLICY. |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 "//components/policy:policy_component_test_support", | 302 "//components/policy:policy_component_test_support", |
| 300 "//components/prefs:test_support", | 303 "//components/prefs:test_support", |
| 301 "//components/prefs:test_support", | 304 "//components/prefs:test_support", |
| 302 "//google_apis", | 305 "//google_apis", |
| 303 "//net:test_support", | 306 "//net:test_support", |
| 304 "//testing/gmock", | 307 "//testing/gmock", |
| 305 "//testing/gtest", | 308 "//testing/gtest", |
| 306 ] | 309 ] |
| 307 } | 310 } |
| 308 } | 311 } |
| OLD | NEW |