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

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

Issue 2942373002: Extract AD policy scheduler into separate class (Closed)
Patch Set: Simplify public interface (and implementation) Created 3 years, 6 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 import("//testing/libfuzzer/fuzzer_test.gni") 6 import("//testing/libfuzzer/fuzzer_test.gni")
7 7
8 group("common") { 8 group("common") {
9 if (is_component_build) { 9 if (is_component_build) {
10 public_deps = [ 10 public_deps = [
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 "//url", 150 "//url",
151 ] 151 ]
152 152
153 if (is_win) { 153 if (is_win) {
154 libs = [ 154 libs = [
155 "shlwapi.lib", 155 "shlwapi.lib",
156 "userenv.lib", 156 "userenv.lib",
157 "ntdsapi.lib", 157 "ntdsapi.lib",
158 ] 158 ]
159 } 159 }
160
160 # Compile on Linux for fuzzer and since code is reused on Chrome OS. 161 # Compile on Linux for fuzzer and since code is reused on Chrome OS.
161 if (is_win || is_linux) { 162 if (is_win || is_linux) {
162 sources += [ 163 sources += [
163 "preg_parser.cc", 164 "preg_parser.cc",
164 "preg_parser.h", 165 "preg_parser.h",
165 "registry_dict.cc", 166 "registry_dict.cc",
166 "registry_dict.h", 167 "registry_dict.h",
167 ] 168 ]
168 } 169 }
169 if (is_android) { 170 if (is_android) {
(...skipping 11 matching lines...) Expand all
181 "cloud/resource_cache.cc", 182 "cloud/resource_cache.cc",
182 "cloud/resource_cache.h", 183 "cloud/resource_cache.h",
183 "config_dir_policy_loader.cc", 184 "config_dir_policy_loader.cc",
184 "config_dir_policy_loader.h", 185 "config_dir_policy_loader.h",
185 "policy_load_status.cc", 186 "policy_load_status.cc",
186 "policy_load_status.h", 187 "policy_load_status.h",
187 ] 188 ]
188 } 189 }
189 if (is_chromeos) { 190 if (is_chromeos) {
190 sources += [ 191 sources += [
192 "policy_scheduler.cc",
193 "policy_scheduler.h",
191 "proxy_policy_provider.cc", 194 "proxy_policy_provider.cc",
192 "proxy_policy_provider.h", 195 "proxy_policy_provider.h",
193 ] 196 ]
194 sources -= [ 197 sources -= [
195 "cloud/cloud_policy_client_registration_helper.cc", 198 "cloud/cloud_policy_client_registration_helper.cc",
196 "cloud/cloud_policy_client_registration_helper.h", 199 "cloud/cloud_policy_client_registration_helper.h",
197 "cloud/user_cloud_policy_manager.cc", 200 "cloud/user_cloud_policy_manager.cc",
198 "cloud/user_cloud_policy_manager.h", 201 "cloud/user_cloud_policy_manager.h",
199 "cloud/user_cloud_policy_store.cc", 202 "cloud/user_cloud_policy_store.cc",
200 "cloud/user_cloud_policy_store.h", 203 "cloud/user_cloud_policy_store.h",
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 "schema_registry_unittest.cc", 301 "schema_registry_unittest.cc",
299 "schema_unittest.cc", 302 "schema_unittest.cc",
300 ] 303 ]
301 if (is_win || is_linux) { 304 if (is_win || is_linux) {
302 sources += [ 305 sources += [
303 "preg_parser_unittest.cc", 306 "preg_parser_unittest.cc",
304 "registry_dict_unittest.cc", 307 "registry_dict_unittest.cc",
305 ] 308 ]
306 } 309 }
307 if (is_chromeos) { 310 if (is_chromeos) {
308 sources += [ "proxy_policy_provider_unittest.cc" ] 311 sources += [
312 "policy_scheduler_unittest.cc",
313 "proxy_policy_provider_unittest.cc",
314 ]
309 } else { 315 } else {
310 sources += [ 316 sources += [
311 "cloud/user_cloud_policy_manager_unittest.cc", 317 "cloud/user_cloud_policy_manager_unittest.cc",
312 "cloud/user_cloud_policy_store_unittest.cc", 318 "cloud/user_cloud_policy_store_unittest.cc",
313 ] 319 ]
314 } 320 }
315 if (!is_android) { 321 if (!is_android) {
316 sources += [ "async_policy_provider_unittest.cc" ] 322 sources += [ "async_policy_provider_unittest.cc" ]
317 } 323 }
318 if (!is_android && !is_ios) { 324 if (!is_android && !is_ios) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 "preg_parser_fuzzer.cc", 362 "preg_parser_fuzzer.cc",
357 ] 363 ]
358 seed_corpus = "//chrome/test/data/policy/gpo/fuzzer_corpus" 364 seed_corpus = "//chrome/test/data/policy/gpo/fuzzer_corpus"
359 dict = "//chrome/test/data/policy/gpo/fuzzer.dict" 365 dict = "//chrome/test/data/policy/gpo/fuzzer.dict"
360 deps = [ 366 deps = [
361 ":internal", 367 ":internal",
362 "//base", 368 "//base",
363 ] 369 ]
364 } 370 }
365 } 371 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/active_directory_policy_manager.cc ('k') | components/policy/core/common/policy_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698