| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//mojo/public/mojo_application_manifest.gni") | 5 import("//mojo/public/mojo_application_manifest.gni") |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 group("all") { | 9 group("all") { |
| 10 testonly = true | 10 testonly = true |
| 11 deps = [ | 11 deps = [ |
| 12 ":shell", | 12 ":shell", |
| 13 "//services/shell/background", | 13 "//services/shell/background", |
| 14 "//services/shell/runner", | 14 "//services/shell/runner", |
| 15 "//services/shell/standalone", | 15 "//services/shell/standalone", |
| 16 "//services/shell/tests", | 16 "//services/shell/tests", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | 19 |
| 20 source_set("shell") { | 20 source_set("shell") { |
| 21 output_name = "mojo_shell" | 21 output_name = "mojo_shell" |
| 22 sources = [ | 22 sources = [ |
| 23 "connect_params.cc", | 23 "connect_params.cc", |
| 24 "connect_params.h", | 24 "connect_params.h", |
| 25 "connect_util.cc", | 25 "connect_util.cc", |
| 26 "connect_util.h", | 26 "connect_util.h", |
| 27 "loader.h", | |
| 28 "native_runner.h", | 27 "native_runner.h", |
| 29 "native_runner_delegate.h", | 28 "native_runner_delegate.h", |
| 30 "shell.cc", | 29 "shell.cc", |
| 31 "shell.h", | 30 "shell.h", |
| 32 "switches.cc", | 31 "switches.cc", |
| 33 "switches.h", | 32 "switches.h", |
| 34 ] | 33 ] |
| 35 | 34 |
| 36 deps = [ | 35 deps = [ |
| 37 "//base", | 36 "//base", |
| 38 "//base/third_party/dynamic_annotations", | 37 "//base/third_party/dynamic_annotations", |
| 39 "//mojo/common", | 38 "//mojo/common", |
| 40 "//mojo/public/cpp/bindings", | 39 "//mojo/public/cpp/bindings", |
| 41 "//mojo/util:filename_util", | 40 "//mojo/util:filename_util", |
| 42 "//services/catalog/public/interfaces", | 41 "//services/catalog/public/interfaces", |
| 43 "//services/shell/public/cpp:sources", | 42 "//services/shell/public/cpp:sources", |
| 44 "//services/shell/public/interfaces", | 43 "//services/shell/public/interfaces", |
| 45 "//url", | 44 "//url", |
| 46 ] | 45 ] |
| 47 | 46 |
| 48 public_deps = [ | 47 public_deps = [ |
| 49 # ApplicationManager exposes and uses PackageManager types in its header. | 48 # ApplicationManager exposes and uses PackageManager types in its header. |
| 50 "//services/catalog:lib", | 49 "//services/catalog:lib", |
| 51 ] | 50 ] |
| 52 | 51 |
| 53 data_deps = [ | 52 data_deps = [ |
| 54 ":manifest", | 53 ":manifest", |
| 55 ] | 54 ] |
| 56 | |
| 57 # For services/shell/loader.h | |
| 58 allow_circular_includes_from = [ "//services/catalog:lib" ] | |
| 59 } | 55 } |
| 60 | 56 |
| 61 mojo_application_manifest("manifest") { | 57 mojo_application_manifest("manifest") { |
| 62 application_name = "shell" | 58 application_name = "shell" |
| 63 source = "manifest.json" | 59 source = "manifest.json" |
| 64 } | 60 } |
| OLD | NEW |