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("screenlock") { | 11 mojo_native_application("screenlock") { |
12 sources = [ | 12 sources = [ |
13 "main.cc", | 13 "main.cc", |
14 "screenlock.cc", | 14 "screenlock.cc", |
15 "screenlock.h", | 15 "screenlock.h", |
16 ] | 16 ] |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 "//base", | 19 "//base", |
20 "//components/mus/public/cpp", | 20 "//components/mus/public/cpp", |
21 "//mash/session/public/interfaces", | 21 "//mash/session/public/interfaces", |
22 "//mash/wm/public/interfaces", | 22 "//mash/wm/public/interfaces", |
23 "//mojo/common", | 23 "//mojo/common", |
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 "//mojo/shell/public/cpp:sources", | 27 "//services/shell/public/cpp:sources", |
28 "//ui/views", | 28 "//ui/views", |
29 "//ui/views/mus:for_mojo_application", | 29 "//ui/views/mus:for_mojo_application", |
30 ] | 30 ] |
31 | 31 |
32 resources = [ "$root_out_dir/views_mus_resources.pak" ] | 32 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
33 | 33 |
34 data_deps = [ | 34 data_deps = [ |
35 ":manifest", | 35 ":manifest", |
36 "//components/mus", | 36 "//components/mus", |
37 ] | 37 ] |
38 } | 38 } |
39 | 39 |
40 mojo_application_manifest("manifest") { | 40 mojo_application_manifest("manifest") { |
41 application_name = "screenlock" | 41 application_name = "screenlock" |
42 source = "manifest.json" | 42 source = "manifest.json" |
43 } | 43 } |
OLD | NEW |