Index: services/authentication/BUILD.gn |
diff --git a/services/authentication/BUILD.gn b/services/authentication/BUILD.gn |
index 2b8052cac990078220ea74badca7be684f866a60..81c2384fc65b7a9dd1b36175585854f8df6396cf 100644 |
--- a/services/authentication/BUILD.gn |
+++ b/services/authentication/BUILD.gn |
@@ -38,16 +38,58 @@ if (is_android) { |
mojo_native_application("authentication") { |
sources = [ |
- "dummy_authentication_app.cc", |
+ "accounts_db_manager.cc", |
+ "accounts_db_manager.h", |
+ "google_authentication_impl.cc", |
+ "google_authentication_impl.h", |
+ "main.cc", |
] |
deps = [ |
+ ":interfaces", |
+ "//base", |
+ "//mojo/application", |
"//mojo/common", |
- "//mojo/public/cpp/application", |
- "//mojo/public/cpp/application:standalone", |
+ "//mojo/data_pipe_utils", |
"//mojo/public/cpp/bindings", |
+ "//mojo/public/cpp/bindings:callback", |
"//mojo/public/cpp/system", |
+ "//mojo/public/cpp/utility", |
"//mojo/services/authentication/interfaces", |
+ "//mojo/services/files/interfaces", |
+ "//mojo/services/network/interfaces", |
+ ] |
+ } |
+ |
+ mojo_native_application("apptests") { |
+ output_name = "authentication_apptests" |
+ testonly = true |
+ |
+ sources = [ |
+ "accounts_db_manager.cc", |
+ "accounts_db_manager.h", |
+ "accounts_db_manager_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":interfaces", |
+ "//base", |
+ "//mojo/application", |
+ "//mojo/application:test_support", |
+ "//mojo/public/cpp/bindings", |
+ "//mojo/services/files/interfaces", |
+ "//testing/gtest:gtest", |
+ ] |
+ |
+ data_deps = [ |
+ ":authentication($default_toolchain)", |
+ ] |
+ } |
+ |
+ mojom("interfaces") { |
+ sources = [ |
+ "authentication_impl_db.mojom", |
+ "credentials_impl_db.mojom", |
] |
} |
} |