Index: extensions/browser/BUILD.gn |
diff --git a/extensions/browser/BUILD.gn b/extensions/browser/BUILD.gn |
index 350e84579b7559d908fc0c40e58033ad33a31746..7a2ec100cb9c27a33acd5787ded6547f08f9e779 100644 |
--- a/extensions/browser/BUILD.gn |
+++ b/extensions/browser/BUILD.gn |
@@ -224,8 +224,12 @@ source_set("browser_sources") { |
"notification_types.h", |
"null_app_sorting.cc", |
"null_app_sorting.h", |
+ "policy_check.cc", |
+ "policy_check.h", |
"pref_names.cc", |
"pref_names.h", |
+ "preload_check.cc", |
+ "preload_check.h", |
"process_manager.cc", |
"process_manager.h", |
"process_manager_delegate.h", |
@@ -362,6 +366,19 @@ source_set("browser_tests") { |
} |
} |
+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
|
+ testonly = true |
+ sources = [ |
+ "preload_check_test_util.cc", |
+ "preload_check_test_util.h", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//extensions/common", |
+ ] |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
sources = [ |
@@ -424,6 +441,7 @@ source_set("unit_tests") { |
"load_monitoring_extension_host_queue_unittest.cc", |
"management_policy_unittest.cc", |
"mojo/keep_alive_impl_unittest.cc", |
+ "policy_check_unittest.cc", |
"process_manager_unittest.cc", |
"process_map_unittest.cc", |
"quota_service_unittest.cc", |
@@ -443,6 +461,7 @@ source_set("unit_tests") { |
deps = [ |
":browser", |
+ ":test_support", |
"//base", |
"//base/test:test_support", |
"//components/cast_certificate", |