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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 "cloud/external_policy_data_updater.cc", | 156 "cloud/external_policy_data_updater.cc", |
157 "cloud/external_policy_data_updater.h", | 157 "cloud/external_policy_data_updater.h", |
158 "cloud/resource_cache.cc", | 158 "cloud/resource_cache.cc", |
159 "cloud/resource_cache.h", | 159 "cloud/resource_cache.h", |
160 "config_dir_policy_loader.cc", | 160 "config_dir_policy_loader.cc", |
161 "config_dir_policy_loader.h", | 161 "config_dir_policy_loader.h", |
162 "policy_load_status.cc", | 162 "policy_load_status.cc", |
163 "policy_load_status.h", | 163 "policy_load_status.h", |
164 ] | 164 ] |
165 } | 165 } |
166 if (is_chromeos) { | 166 if (use_cros_fe) { |
167 sources += [ | 167 sources += [ |
168 "proxy_policy_provider.cc", | 168 "proxy_policy_provider.cc", |
169 "proxy_policy_provider.h", | 169 "proxy_policy_provider.h", |
170 ] | 170 ] |
171 sources -= [ | 171 sources -= [ |
172 "cloud/cloud_policy_client_registration_helper.cc", | 172 "cloud/cloud_policy_client_registration_helper.cc", |
173 "cloud/cloud_policy_client_registration_helper.h", | 173 "cloud/cloud_policy_client_registration_helper.h", |
174 "cloud/user_cloud_policy_manager.cc", | 174 "cloud/user_cloud_policy_manager.cc", |
175 "cloud/user_cloud_policy_manager.h", | 175 "cloud/user_cloud_policy_manager.h", |
176 "cloud/user_cloud_policy_store.cc", | 176 "cloud/user_cloud_policy_store.cc", |
(...skipping 23 matching lines...) Expand all Loading... |
200 "policy_service.cc", | 200 "policy_service.cc", |
201 "policy_service.h", | 201 "policy_service.h", |
202 "policy_service_stub.cc", | 202 "policy_service_stub.cc", |
203 "policy_service_stub.h", | 203 "policy_service_stub.h", |
204 ] | 204 ] |
205 deps = [ | 205 deps = [ |
206 "//base", | 206 "//base", |
207 ] | 207 ] |
208 } | 208 } |
209 } | 209 } |
OLD | NEW |