Index: chrome/browser/chromeos/BUILD.gn |
diff --git a/chrome/browser/chromeos/BUILD.gn b/chrome/browser/chromeos/BUILD.gn |
index fdd79c2f610e9719e408c67109c1ecbb964d87cb..0436d91df6b78b0e2044eb1e620f6b5afa411425 100644 |
--- a/chrome/browser/chromeos/BUILD.gn |
+++ b/chrome/browser/chromeos/BUILD.gn |
@@ -1450,6 +1450,25 @@ static_library("arc_test_support") { |
] |
} |
+static_library("test_support") { |
+ testonly = true |
+ |
+ sources = [ |
+ "login/enrollment/enterprise_enrollment_helper_mock.cc", |
+ "login/enrollment/enterprise_enrollment_helper_mock.h", |
+ "login/enrollment/mock_enrollment_screen.cc", |
+ "login/enrollment/mock_enrollment_screen.h", |
+ "login/enrollment/mock_enrollment_screen.h", |
xiyuan
2017/02/03 23:34:14
We have a duplicated mock_enrollment_screen.h. Nuk
kumarniranjan
2017/02/06 21:38:24
Done.
|
+ "login/screens/mock_base_screen_delegate.cc", |
+ "login/screens/mock_base_screen_delegate.h", |
+ ] |
+ |
+ deps = [ |
+ "//components/policy/proto", |
+ "//testing/gmock", |
+ ] |
+} |
+ |
source_set("unit_tests") { |
testonly = true |
@@ -1576,6 +1595,7 @@ source_set("unit_tests") { |
"login/auth/cryptohome_authenticator_unittest.cc", |
"login/easy_unlock/easy_unlock_challenge_wrapper_unittest.cc", |
"login/easy_unlock/easy_unlock_tpm_key_manager_unittest.cc", |
+ "login/enrollment/enrollment_screen_unittest.cc", |
"login/error_screens_histogram_helper_unittest.cc", |
"login/existing_user_controller_auto_login_unittest.cc", |
"login/hwid_checker_unittest.cc", |
@@ -1719,6 +1739,7 @@ source_set("unit_tests") { |
":arc_test_support", |
":attestation_proto", |
":device_policy_proto", |
+ ":test_support", |
"//ash/resources", |
"//components/drive", |
"//components/drive:test_support_chromeos", |