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", |
viettrungluu
2015/12/18 20:59:49
delete?
ukode
2016/01/06 23:52:59
Done.
| |
42 "accounts_db_manager.cc", | |
43 "accounts_db_manager.h", | |
44 "auth_data.cc", | |
45 "auth_data.h", | |
46 "google_authentication_impl.cc", | |
47 "google_authentication_impl.h", | |
48 "main.cc", | |
42 ] | 49 ] |
43 | 50 |
44 deps = [ | 51 deps = [ |
52 "//base", | |
45 "//mojo/common", | 53 "//mojo/common", |
54 "//mojo/data_pipe_utils", | |
46 "//mojo/public/cpp/application", | 55 "//mojo/public/cpp/application", |
47 "//mojo/public/cpp/application:standalone", | 56 "//mojo/public/cpp/application:standalone", |
viettrungluu
2015/12/18 20:59:49
If you're going to use //base, *probably* you shou
ukode
2016/01/06 23:52:59
Done.
| |
48 "//mojo/public/cpp/bindings", | 57 "//mojo/public/cpp/bindings", |
58 "//mojo/public/cpp/bindings:callback", | |
49 "//mojo/public/cpp/system", | 59 "//mojo/public/cpp/system", |
50 "//mojo/services/authentication/interfaces", | 60 "//mojo/services/authentication/interfaces", |
61 "//mojo/services/network/interfaces", | |
62 "//mojo/services/files/interfaces", | |
63 ] | |
64 } | |
65 | |
66 mojo_native_application("apptests") { | |
67 output_name = "authentication_apptests" | |
68 testonly = true | |
69 | |
70 sources = [ | |
71 "accounts_db_manager.cc", | |
72 "accounts_db_manager.h", | |
73 "accounts_db_manager_unittest.cc", | |
74 "auth_data.cc", | |
75 "auth_data.h", | |
76 "auth_data_unittest.cc", | |
77 ] | |
78 | |
79 deps = [ | |
80 "//base", | |
81 "//mojo/application", | |
82 "//mojo/application:test_support", | |
83 "//mojo/public/cpp/bindings", | |
84 "//mojo/services/files/interfaces", | |
85 "//testing/gtest:gtest", | |
86 ] | |
87 | |
88 data_deps = [ | |
89 ":authentication($default_toolchain)", | |
51 ] | 90 ] |
52 } | 91 } |
53 } | 92 } |
OLD | NEW |