Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Side by Side Diff: components/policy/core/common/BUILD.gn

Issue 1961473003: [Mac/GN] Set up the component build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698