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