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 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 Loading... |
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 Loading... |
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 "cloud/device_management_service_unittest.cc", | 285 "cloud/device_management_service_unittest.cc", |
283 "cloud/policy_header_io_helper_unittest.cc", | 286 "cloud/policy_header_io_helper_unittest.cc", |
284 "cloud/policy_header_service_unittest.cc", | 287 "cloud/policy_header_service_unittest.cc", |
285 "cloud/user_info_fetcher_unittest.cc", | 288 "cloud/user_info_fetcher_unittest.cc", |
286 "generate_policy_source_unittest.cc", | 289 "generate_policy_source_unittest.cc", |
287 "policy_bundle_unittest.cc", | 290 "policy_bundle_unittest.cc", |
288 "policy_loader_ios_unittest.mm", | 291 "policy_loader_ios_unittest.mm", |
289 "policy_loader_mac_unittest.cc", | 292 "policy_loader_mac_unittest.cc", |
290 "policy_loader_win_unittest.cc", | 293 "policy_loader_win_unittest.cc", |
291 "policy_map_unittest.cc", | 294 "policy_map_unittest.cc", |
| 295 "policy_scheduler_unittest.cc", |
292 "policy_service_impl_unittest.cc", | 296 "policy_service_impl_unittest.cc", |
293 "policy_statistics_collector_unittest.cc", | 297 "policy_statistics_collector_unittest.cc", |
294 "remote_commands/remote_commands_queue_unittest.cc", | 298 "remote_commands/remote_commands_queue_unittest.cc", |
295 "remote_commands/remote_commands_service_unittest.cc", | 299 "remote_commands/remote_commands_service_unittest.cc", |
296 "schema_map_unittest.cc", | 300 "schema_map_unittest.cc", |
297 "schema_registry_tracking_policy_provider_unittest.cc", | 301 "schema_registry_tracking_policy_provider_unittest.cc", |
298 "schema_registry_unittest.cc", | 302 "schema_registry_unittest.cc", |
299 "schema_unittest.cc", | 303 "schema_unittest.cc", |
300 ] | 304 ] |
301 if (is_win || is_linux) { | 305 if (is_win || is_linux) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 "preg_parser_fuzzer.cc", | 360 "preg_parser_fuzzer.cc", |
357 ] | 361 ] |
358 seed_corpus = "//chrome/test/data/policy/gpo/fuzzer_corpus" | 362 seed_corpus = "//chrome/test/data/policy/gpo/fuzzer_corpus" |
359 dict = "//chrome/test/data/policy/gpo/fuzzer.dict" | 363 dict = "//chrome/test/data/policy/gpo/fuzzer.dict" |
360 deps = [ | 364 deps = [ |
361 ":internal", | 365 ":internal", |
362 "//base", | 366 "//base", |
363 ] | 367 ] |
364 } | 368 } |
365 } | 369 } |
OLD | NEW |