OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 import("//mojo/public/mojo_application_manifest.gni") | 7 import("//mojo/public/mojo_application_manifest.gni") |
8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
11 mojo_native_application("login") { | 11 mojo_native_application("login") { |
12 sources = [ | 12 sources = [ |
13 "login.cc", | 13 "login.cc", |
14 "login.h", | 14 "login.h", |
15 "main.cc", | 15 "main.cc", |
16 ] | 16 ] |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//components/mus/public/cpp", | 20 "//components/mus/public/cpp", |
21 "//mash/init/public/interfaces", | 21 "//mash/init/public/interfaces", |
22 "//mash/login/public/interfaces", | 22 "//mash/login/public/interfaces", |
23 "//mash/wm/public/interfaces", | 23 "//mash/wm/public/interfaces", |
24 "//mojo/public/cpp/bindings", | 24 "//mojo/public/cpp/bindings", |
25 "//mojo/services/tracing/public/cpp", | 25 "//mojo/services/tracing/public/cpp", |
26 "//mojo/shell/public/cpp", | 26 "//services/shell/public/cpp", |
27 "//ui/views", | 27 "//ui/views", |
28 "//ui/views/mus:for_mojo_application", | 28 "//ui/views/mus:for_mojo_application", |
29 ] | 29 ] |
30 | 30 |
31 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 31 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
32 | 32 |
33 data_deps = [ | 33 data_deps = [ |
34 ":manifest", | 34 ":manifest", |
35 "//components/mus", | 35 "//components/mus", |
36 ] | 36 ] |
37 } | 37 } |
38 | 38 |
39 mojo_application_manifest("manifest") { | 39 mojo_application_manifest("manifest") { |
40 application_name = "login" | 40 application_name = "login" |
41 source = "manifest.json" | 41 source = "manifest.json" |
42 } | 42 } |
OLD | NEW |