OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 | 9 |
10 android_library("authentication") { | 10 android_library("authentication") { |
(...skipping 20 matching lines...) Expand all Loading... |
31 mojom("interfaces") { | 31 mojom("interfaces") { |
32 sources = [ | 32 sources = [ |
33 "authentication_impl_db.mojom", | 33 "authentication_impl_db.mojom", |
34 ] | 34 ] |
35 } | 35 } |
36 } else { | 36 } else { |
37 import("//mojo/public/mojo_application.gni") | 37 import("//mojo/public/mojo_application.gni") |
38 | 38 |
39 mojo_native_application("authentication") { | 39 mojo_native_application("authentication") { |
40 sources = [ | 40 sources = [ |
41 "dummy_authentication_app.cc", | 41 # "dummy_authentication_app.cc", |
| 42 "accounts_db_manager.cc", |
| 43 "accounts_db_manager.h", |
| 44 "auth_data.cc", |
| 45 "auth_data.h", |
| 46 "google_authentication_service.cc", |
42 ] | 47 ] |
43 | 48 |
44 deps = [ | 49 deps = [ |
| 50 "//base", |
45 "//mojo/common", | 51 "//mojo/common", |
| 52 "//mojo/data_pipe_utils", |
46 "//mojo/public/cpp/application", | 53 "//mojo/public/cpp/application", |
47 "//mojo/public/cpp/application:standalone", | 54 "//mojo/public/cpp/application:standalone", |
48 "//mojo/public/cpp/bindings", | 55 "//mojo/public/cpp/bindings", |
| 56 "//mojo/public/cpp/bindings:callback", |
49 "//mojo/public/cpp/system", | 57 "//mojo/public/cpp/system", |
50 "//mojo/services/authentication/interfaces", | 58 "//mojo/services/authentication/interfaces", |
| 59 "//mojo/services/network/interfaces", |
| 60 "//mojo/services/files/interfaces", |
| 61 ] |
| 62 } |
| 63 |
| 64 mojo_native_application("apptests") { |
| 65 output_name = "authentication_apptests" |
| 66 testonly = true |
| 67 |
| 68 sources = [ |
| 69 "accounts_db_manager.cc", |
| 70 "accounts_db_manager.h", |
| 71 "accounts_db_manager_unittest.cc", |
| 72 "auth_data.cc", |
| 73 "auth_data.h", |
| 74 "auth_data_unittest.cc", |
| 75 ] |
| 76 |
| 77 deps = [ |
| 78 "//base", |
| 79 "//mojo/application", |
| 80 "//mojo/application:test_support", |
| 81 "//mojo/public/cpp/bindings", |
| 82 "//mojo/services/files/interfaces", |
| 83 "//testing/gtest:gtest", |
| 84 ] |
| 85 |
| 86 data_deps = [ |
| 87 ":authentication($default_toolchain)", |
51 ] | 88 ] |
52 } | 89 } |
53 } | 90 } |
OLD | NEW |