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

Side by Side Diff: extensions/browser/BUILD.gn

Issue 2693373003: PreloadCheck class for extension pre-install checks (Closed)
Patch Set: rebase Created 3 years, 9 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("//extensions/features/features.gni") 6 import("//extensions/features/features.gni")
7 7
8 group("browser") { 8 group("browser") {
9 public_deps = [ 9 public_deps = [
10 "//extensions/browser:browser_context_keyed_service_factories", 10 "//extensions/browser:browser_context_keyed_service_factories",
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 "management_policy.cc", 217 "management_policy.cc",
218 "management_policy.h", 218 "management_policy.h",
219 "mojo/keep_alive_impl.cc", 219 "mojo/keep_alive_impl.cc",
220 "mojo/keep_alive_impl.h", 220 "mojo/keep_alive_impl.h",
221 "mojo/service_registration.cc", 221 "mojo/service_registration.cc",
222 "mojo/service_registration.h", 222 "mojo/service_registration.h",
223 "notification_types.cc", 223 "notification_types.cc",
224 "notification_types.h", 224 "notification_types.h",
225 "null_app_sorting.cc", 225 "null_app_sorting.cc",
226 "null_app_sorting.h", 226 "null_app_sorting.h",
227 "policy_check.cc",
228 "policy_check.h",
227 "pref_names.cc", 229 "pref_names.cc",
228 "pref_names.h", 230 "pref_names.h",
231 "preload_check.cc",
232 "preload_check.h",
229 "process_manager.cc", 233 "process_manager.cc",
230 "process_manager.h", 234 "process_manager.h",
231 "process_manager_delegate.h", 235 "process_manager_delegate.h",
232 "process_manager_factory.cc", 236 "process_manager_factory.cc",
233 "process_manager_factory.h", 237 "process_manager_factory.h",
234 "process_manager_observer.h", 238 "process_manager_observer.h",
235 "process_map.cc", 239 "process_map.cc",
236 "process_map.h", 240 "process_map.h",
237 "process_map_factory.cc", 241 "process_map_factory.cc",
238 "process_map_factory.h", 242 "process_map_factory.h",
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 # Needed for App Shell.app's Helper. 359 # Needed for App Shell.app's Helper.
356 deps += [ "//extensions/shell:app_shell" ] 360 deps += [ "//extensions/shell:app_shell" ]
357 } 361 }
358 if (is_chromeos) { 362 if (is_chromeos) {
359 sources += [ "api/virtual_keyboard/virtual_keyboard_apitest.cc" ] 363 sources += [ "api/virtual_keyboard/virtual_keyboard_apitest.cc" ]
360 364
361 deps += [ "//chromeos" ] 365 deps += [ "//chromeos" ]
362 } 366 }
363 } 367 }
364 368
369 source_set("test_support") {
Devlin 2017/03/14 01:44:34 do we need this in test_support (instead of unitte
michaelpg 2017/03/14 21:58:30 this is how I'm getting these sources in chrome/te
370 testonly = true
371 sources = [
372 "preload_check_test_util.cc",
373 "preload_check_test_util.h",
374 ]
375
376 deps = [
377 "//base",
378 "//extensions/common",
379 ]
380 }
381
365 source_set("unit_tests") { 382 source_set("unit_tests") {
366 testonly = true 383 testonly = true
367 sources = [ 384 sources = [
368 "api/alarms/alarms_api_unittest.cc", 385 "api/alarms/alarms_api_unittest.cc",
369 "api/api_resource_manager_unittest.cc", 386 "api/api_resource_manager_unittest.cc",
370 "api/bluetooth/bluetooth_event_router_unittest.cc", 387 "api/bluetooth/bluetooth_event_router_unittest.cc",
371 "api/cast_channel/cast_auth_util_unittest.cc", 388 "api/cast_channel/cast_auth_util_unittest.cc",
372 "api/cast_channel/cast_channel_api_unittest.cc", 389 "api/cast_channel/cast_channel_api_unittest.cc",
373 "api/cast_channel/cast_framer_unittest.cc", 390 "api/cast_channel/cast_framer_unittest.cc",
374 "api/cast_channel/cast_socket_unittest.cc", 391 "api/cast_channel/cast_socket_unittest.cc",
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 "extension_throttle_test_support.h", 434 "extension_throttle_test_support.h",
418 "extension_throttle_unittest.cc", 435 "extension_throttle_unittest.cc",
419 "file_highlighter_unittest.cc", 436 "file_highlighter_unittest.cc",
420 "file_reader_unittest.cc", 437 "file_reader_unittest.cc",
421 "image_loader_unittest.cc", 438 "image_loader_unittest.cc",
422 "info_map_unittest.cc", 439 "info_map_unittest.cc",
423 "lazy_background_task_queue_unittest.cc", 440 "lazy_background_task_queue_unittest.cc",
424 "load_monitoring_extension_host_queue_unittest.cc", 441 "load_monitoring_extension_host_queue_unittest.cc",
425 "management_policy_unittest.cc", 442 "management_policy_unittest.cc",
426 "mojo/keep_alive_impl_unittest.cc", 443 "mojo/keep_alive_impl_unittest.cc",
444 "policy_check_unittest.cc",
427 "process_manager_unittest.cc", 445 "process_manager_unittest.cc",
428 "process_map_unittest.cc", 446 "process_map_unittest.cc",
429 "quota_service_unittest.cc", 447 "quota_service_unittest.cc",
430 "runtime_data_unittest.cc", 448 "runtime_data_unittest.cc",
431 "sandboxed_unpacker_unittest.cc", 449 "sandboxed_unpacker_unittest.cc",
432 "updater/update_service_unittest.cc", 450 "updater/update_service_unittest.cc",
433 "value_store/leveldb_scoped_database_unittest.cc", 451 "value_store/leveldb_scoped_database_unittest.cc",
434 "value_store/leveldb_value_store_unittest.cc", 452 "value_store/leveldb_value_store_unittest.cc",
435 "value_store/testing_value_store_unittest.cc", 453 "value_store/testing_value_store_unittest.cc",
436 "value_store/value_store_change_unittest.cc", 454 "value_store/value_store_change_unittest.cc",
437 "value_store/value_store_frontend_unittest.cc", 455 "value_store/value_store_frontend_unittest.cc",
438 "value_store/value_store_unittest.cc", 456 "value_store/value_store_unittest.cc",
439 "value_store/value_store_unittest.h", 457 "value_store/value_store_unittest.h",
440 "verified_contents_unittest.cc", 458 "verified_contents_unittest.cc",
441 "warning_service_unittest.cc", 459 "warning_service_unittest.cc",
442 ] 460 ]
443 461
444 deps = [ 462 deps = [
445 ":browser", 463 ":browser",
464 ":test_support",
446 "//base", 465 "//base",
447 "//base/test:test_support", 466 "//base/test:test_support",
448 "//components/cast_certificate", 467 "//components/cast_certificate",
449 "//components/cast_certificate:test_support", 468 "//components/cast_certificate:test_support",
450 "//components/cast_certificate/proto:unittest_proto", 469 "//components/cast_certificate/proto:unittest_proto",
451 "//components/crx_file", 470 "//components/crx_file",
452 "//components/keyed_service/content", 471 "//components/keyed_service/content",
453 "//components/pref_registry:pref_registry", 472 "//components/pref_registry:pref_registry",
454 "//components/prefs:test_support", 473 "//components/prefs:test_support",
455 "//components/sync_preferences:test_support", 474 "//components/sync_preferences:test_support",
(...skipping 12 matching lines...) Expand all
468 "//net:test_support", 487 "//net:test_support",
469 "//third_party/leveldatabase", 488 "//third_party/leveldatabase",
470 "//third_party/zlib:zip", 489 "//third_party/zlib:zip",
471 ] 490 ]
472 491
473 if (is_chromeos) { 492 if (is_chromeos) {
474 sources += [ "api/webcam_private/visca_webcam_unittest.cc" ] 493 sources += [ "api/webcam_private/visca_webcam_unittest.cc" ]
475 deps += [ "//chromeos:test_support" ] 494 deps += [ "//chromeos:test_support" ]
476 } 495 }
477 } 496 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698