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

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

Issue 2481753002: Push preg_parser and registry_dict changes upstream (Closed)
Patch Set: Minor formatting fixes Created 4 years, 1 month 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
« no previous file with comments | « no previous file | components/policy/core/common/policy_loader_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 group("common") { 7 group("common") {
8 if (is_component_build) { 8 if (is_component_build) {
9 public_deps = [ 9 public_deps = [
10 "//components/policy", 10 "//components/policy",
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 "policy_service.h", 105 "policy_service.h",
106 "policy_service_impl.cc", 106 "policy_service_impl.cc",
107 "policy_service_impl.h", 107 "policy_service_impl.h",
108 "policy_statistics_collector.cc", 108 "policy_statistics_collector.cc",
109 "policy_statistics_collector.h", 109 "policy_statistics_collector.h",
110 "policy_switches.cc", 110 "policy_switches.cc",
111 "policy_switches.h", 111 "policy_switches.h",
112 "policy_types.h", 112 "policy_types.h",
113 "preferences_mac.cc", 113 "preferences_mac.cc",
114 "preferences_mac.h", 114 "preferences_mac.h",
115 "preg_parser_win.cc",
116 "preg_parser_win.h",
117 "registry_dict_win.cc",
118 "registry_dict_win.h",
119 "remote_commands/remote_command_job.cc", 115 "remote_commands/remote_command_job.cc",
120 "remote_commands/remote_command_job.h", 116 "remote_commands/remote_command_job.h",
121 "remote_commands/remote_commands_factory.cc", 117 "remote_commands/remote_commands_factory.cc",
122 "remote_commands/remote_commands_factory.h", 118 "remote_commands/remote_commands_factory.h",
123 "remote_commands/remote_commands_queue.cc", 119 "remote_commands/remote_commands_queue.cc",
124 "remote_commands/remote_commands_queue.h", 120 "remote_commands/remote_commands_queue.h",
125 "remote_commands/remote_commands_service.cc", 121 "remote_commands/remote_commands_service.cc",
126 "remote_commands/remote_commands_service.h", 122 "remote_commands/remote_commands_service.h",
127 "schema.cc", 123 "schema.cc",
128 "schema.h", 124 "schema.h",
(...skipping 24 matching lines...) Expand all
153 "//url", 149 "//url",
154 ] 150 ]
155 151
156 if (is_win) { 152 if (is_win) {
157 libs = [ 153 libs = [
158 "shlwapi.lib", 154 "shlwapi.lib",
159 "userenv.lib", 155 "userenv.lib",
160 "ntdsapi.lib", 156 "ntdsapi.lib",
161 ] 157 ]
162 } 158 }
159 if (is_win || is_chromeos) {
160 sources += [
161 "preg_parser.cc",
162 "preg_parser.h",
163 "registry_dict.cc",
164 "registry_dict.h",
165 ]
166 }
163 if (is_android) { 167 if (is_android) {
164 sources += [ "cloud/component_cloud_policy_service_stub.cc" ] 168 sources += [ "cloud/component_cloud_policy_service_stub.cc" ]
165 sources -= [ 169 sources -= [
166 "cloud/component_cloud_policy_service.cc", 170 "cloud/component_cloud_policy_service.cc",
167 "cloud/component_cloud_policy_store.cc", 171 "cloud/component_cloud_policy_store.cc",
168 "cloud/component_cloud_policy_store.h", 172 "cloud/component_cloud_policy_store.h",
169 "cloud/component_cloud_policy_updater.cc", 173 "cloud/component_cloud_policy_updater.cc",
170 "cloud/component_cloud_policy_updater.h", 174 "cloud/component_cloud_policy_updater.h",
171 "cloud/external_policy_data_fetcher.cc", 175 "cloud/external_policy_data_fetcher.cc",
172 "cloud/external_policy_data_fetcher.h", 176 "cloud/external_policy_data_fetcher.h",
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 "cloud/policy_header_service_unittest.cc", 305 "cloud/policy_header_service_unittest.cc",
302 "cloud/user_info_fetcher_unittest.cc", 306 "cloud/user_info_fetcher_unittest.cc",
303 "generate_policy_source_unittest.cc", 307 "generate_policy_source_unittest.cc",
304 "policy_bundle_unittest.cc", 308 "policy_bundle_unittest.cc",
305 "policy_loader_ios_unittest.mm", 309 "policy_loader_ios_unittest.mm",
306 "policy_loader_mac_unittest.cc", 310 "policy_loader_mac_unittest.cc",
307 "policy_loader_win_unittest.cc", 311 "policy_loader_win_unittest.cc",
308 "policy_map_unittest.cc", 312 "policy_map_unittest.cc",
309 "policy_service_impl_unittest.cc", 313 "policy_service_impl_unittest.cc",
310 "policy_statistics_collector_unittest.cc", 314 "policy_statistics_collector_unittest.cc",
311 "preg_parser_win_unittest.cc",
312 "registry_dict_win_unittest.cc",
313 "remote_commands/remote_commands_queue_unittest.cc", 315 "remote_commands/remote_commands_queue_unittest.cc",
314 "remote_commands/remote_commands_service_unittest.cc", 316 "remote_commands/remote_commands_service_unittest.cc",
315 "schema_map_unittest.cc", 317 "schema_map_unittest.cc",
316 "schema_registry_tracking_policy_provider_unittest.cc", 318 "schema_registry_tracking_policy_provider_unittest.cc",
317 "schema_registry_unittest.cc", 319 "schema_registry_unittest.cc",
318 "schema_unittest.cc", 320 "schema_unittest.cc",
319 ] 321 ]
322 if (is_win || is_chromeos) {
323 sources += [
324 "preg_parser_unittest.cc",
325 "registry_dict_unittest.cc",
326 ]
327 }
320 if (is_chromeos) { 328 if (is_chromeos) {
321 sources += [ "proxy_policy_provider_unittest.cc" ] 329 sources += [ "proxy_policy_provider_unittest.cc" ]
322 } else { 330 } else {
323 sources += [ 331 sources += [
324 "cloud/user_cloud_policy_manager_unittest.cc", 332 "cloud/user_cloud_policy_manager_unittest.cc",
325 "cloud/user_cloud_policy_store_unittest.cc", 333 "cloud/user_cloud_policy_store_unittest.cc",
326 ] 334 ]
327 } 335 }
328 if (!is_android) { 336 if (!is_android) {
329 sources += [ "async_policy_provider_unittest.cc" ] 337 sources += [ "async_policy_provider_unittest.cc" ]
330 } 338 }
331 if (!is_android && !is_ios) { 339 if (!is_android && !is_ios) {
332 sources += [ 340 sources += [
333 "cloud/component_cloud_policy_service_unittest.cc", 341 "cloud/component_cloud_policy_service_unittest.cc",
334 "cloud/component_cloud_policy_store_unittest.cc", 342 "cloud/component_cloud_policy_store_unittest.cc",
335 "cloud/component_cloud_policy_updater_unittest.cc", 343 "cloud/component_cloud_policy_updater_unittest.cc",
336 "cloud/external_policy_data_fetcher_unittest.cc", 344 "cloud/external_policy_data_fetcher_unittest.cc",
337 "cloud/external_policy_data_updater_unittest.cc", 345 "cloud/external_policy_data_updater_unittest.cc",
338 "cloud/resource_cache_unittest.cc", 346 "cloud/resource_cache_unittest.cc",
339 "config_dir_policy_loader_unittest.cc", 347 "config_dir_policy_loader_unittest.cc",
340 ] 348 ]
341 } 349 }
342 if (is_mac || is_ios) { 350 if (is_mac || is_ios) {
343 sources += [ "mac_util_unittest.cc" ] 351 sources += [ "mac_util_unittest.cc" ]
344 } 352 }
345 353 if (is_win || is_chromeos) {
346 if (is_win) { 354 # Needed by policy_loader_win_unittest.cc and preg_parser_unittest.cc
347 # Needed by policy_loader_win_unittest.cc and preg_parser_win_unittest.cc
348 data = [ 355 data = [
349 "//chrome/test/data/policy/", 356 "//chrome/test/data/policy/",
350 ] 357 ]
351 } 358 }
352 359
353 deps = [ 360 deps = [
354 ":test_support", 361 ":test_support",
355 "//base", 362 "//base",
356 "//base/test:test_support", 363 "//base/test:test_support",
357 "//components/policy:generated", 364 "//components/policy:generated",
358 "//components/prefs:test_support", 365 "//components/prefs:test_support",
359 "//google_apis", 366 "//google_apis",
360 "//net:test_support", 367 "//net:test_support",
361 "//testing/gmock", 368 "//testing/gmock",
362 "//testing/gtest", 369 "//testing/gtest",
363 ] 370 ]
364 } 371 }
365 } 372 }
OLDNEW
« no previous file with comments | « no previous file | components/policy/core/common/policy_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698