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