Chromium Code Reviews| Index: services/authentication/BUILD.gn |
| diff --git a/services/authentication/BUILD.gn b/services/authentication/BUILD.gn |
| index 2b8052cac990078220ea74badca7be684f866a60..e7762e86011095114407fb93feb1d3595ecbe279 100644 |
| --- a/services/authentication/BUILD.gn |
| +++ b/services/authentication/BUILD.gn |
| @@ -38,16 +38,61 @@ if (is_android) { |
| mojo_native_application("authentication") { |
| sources = [ |
| - "dummy_authentication_app.cc", |
| + "accounts_db_manager.cc", |
| + "accounts_db_manager.h", |
| + "auth_data.cc", |
| + "auth_data.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/services/authentication/interfaces", |
| + "//mojo/services/network/interfaces", |
| + "//mojo/services/files/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", |
| + "auth_data.cc", |
| + "auth_data.h", |
| + "auth_data_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)", |
|
qsr
2016/02/16 14:17:06
Any reason you need to specify the toolchain here?
ukode
2016/02/26 21:35:49
Its implemented this way for all services, dont kn
|
| + ] |
| + } |
| + |
| + mojom("interfaces") { |
| + sources = [ |
| + "authentication_impl_db.mojom", |
| ] |
| } |
| } |