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("//services/service_manager/public/cpp/service.gni") | 6 import("//services/service_manager/public/cpp/service.gni") |
7 import("//services/service_manager/public/service_manifest.gni") | 7 import("//services/service_manager/public/service_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 |
(...skipping 11 matching lines...) Expand all Loading... |
22 "//mash/quick_launch/public/interfaces:constants", | 22 "//mash/quick_launch/public/interfaces:constants", |
23 "//mash/screenlock/public/interfaces:constants", | 23 "//mash/screenlock/public/interfaces:constants", |
24 "//mash/session/public/interfaces", | 24 "//mash/session/public/interfaces", |
25 "//mojo/common", | 25 "//mojo/common", |
26 "//mojo/public/cpp/bindings", | 26 "//mojo/public/cpp/bindings", |
27 "//services/service_manager/public/cpp", | 27 "//services/service_manager/public/cpp", |
28 "//services/service_manager/public/cpp:sources", | 28 "//services/service_manager/public/cpp:sources", |
29 ] | 29 ] |
30 | 30 |
31 data_deps = [ | 31 data_deps = [ |
32 "//ash/mus", | |
33 "//mash/quick_launch", | 32 "//mash/quick_launch", |
34 ] | 33 ] |
| 34 |
| 35 if (is_chromeos) { |
| 36 data_deps += [ "//ash/mus" ] |
| 37 } |
35 } | 38 } |
36 | 39 |
37 service("session") { | 40 service("session") { |
38 output_name = "mash_session" | 41 output_name = "mash_session" |
39 | 42 |
40 sources = [ | 43 sources = [ |
41 "main.cc", | 44 "main.cc", |
42 ] | 45 ] |
43 | 46 |
44 deps = [ | 47 deps = [ |
45 ":lib", | 48 ":lib", |
46 "//base", | 49 "//base", |
47 "//mash/session/public/interfaces", | 50 "//mash/session/public/interfaces", |
48 "//mojo/common", | 51 "//mojo/common", |
49 "//mojo/public/cpp/bindings", | 52 "//mojo/public/cpp/bindings", |
50 "//services/service_manager/public/cpp", | 53 "//services/service_manager/public/cpp", |
51 "//services/service_manager/public/cpp:sources", | 54 "//services/service_manager/public/cpp:sources", |
52 ] | 55 ] |
53 | 56 |
54 data_deps = [ | 57 data_deps = [ |
55 ":manifest", | 58 ":manifest", |
56 ] | 59 ] |
57 } | 60 } |
58 | 61 |
59 service_manifest("manifest") { | 62 service_manifest("manifest") { |
60 name = "mash_session" | 63 name = "mash_session" |
61 source = "manifest.json" | 64 source = "manifest.json" |
62 } | 65 } |
OLD | NEW |