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("//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 source_set("lib") { | 11 source_set("lib") { |
12 sources = [ | 12 sources = [ |
13 "session.cc", | 13 "session.cc", |
14 "session.h", | 14 "session.h", |
15 ] | 15 ] |
16 | 16 |
17 deps = [ | 17 deps = [ |
18 "//base", | 18 "//base", |
19 "//mash/login/public/interfaces", | 19 "//mash/login/public/interfaces", |
20 "//mash/session/public/interfaces", | 20 "//mash/session/public/interfaces", |
21 "//mojo/common", | 21 "//mojo/common", |
22 "//mojo/public/cpp/bindings", | 22 "//mojo/public/cpp/bindings", |
23 "//mojo/shell/public/cpp", | 23 "//services/shell/public/cpp", |
24 "//mojo/shell/public/cpp:sources", | 24 "//services/shell/public/cpp:sources", |
25 ] | 25 ] |
26 | 26 |
27 data_deps = [ | 27 data_deps = [ |
28 "//ash/mus", | 28 "//ash/mus", |
29 "//mash/browser_driver", | 29 "//mash/browser_driver", |
30 "//mash/quick_launch", | 30 "//mash/quick_launch", |
31 "//mash/wm", | 31 "//mash/wm", |
32 ] | 32 ] |
33 } | 33 } |
34 | 34 |
35 mojo_native_application("session") { | 35 mojo_native_application("session") { |
36 output_name = "mash_session" | 36 output_name = "mash_session" |
37 | 37 |
38 sources = [ | 38 sources = [ |
39 "main.cc", | 39 "main.cc", |
40 ] | 40 ] |
41 | 41 |
42 deps = [ | 42 deps = [ |
43 ":lib", | 43 ":lib", |
44 "//base", | 44 "//base", |
45 "//mash/session/public/interfaces", | 45 "//mash/session/public/interfaces", |
46 "//mojo/common", | 46 "//mojo/common", |
47 "//mojo/public/cpp/bindings", | 47 "//mojo/public/cpp/bindings", |
48 "//mojo/shell/public/cpp", | 48 "//services/shell/public/cpp", |
49 "//mojo/shell/public/cpp:sources", | 49 "//services/shell/public/cpp:sources", |
50 ] | 50 ] |
51 | 51 |
52 data_deps = [ | 52 data_deps = [ |
53 ":manifest", | 53 ":manifest", |
54 ] | 54 ] |
55 } | 55 } |
56 | 56 |
57 mojo_application_manifest("manifest") { | 57 mojo_application_manifest("manifest") { |
58 application_name = "mash_session" | 58 application_name = "mash_session" |
59 source = "manifest.json" | 59 source = "manifest.json" |
60 } | 60 } |
OLD | NEW |