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