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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 mojo_native_application("client") { | 10 source_set("common") { |
11 output_name = "example_client" | |
12 testonly = true | 11 testonly = true |
13 | 12 |
14 sources = [ | 13 sources = [ |
15 "client_application_delegate.cc", | 14 "mus_views_init.cc", |
16 "client_application_delegate.h", | 15 "mus_views_init.h", |
17 "main.cc", | |
18 ] | 16 ] |
19 | 17 |
20 deps = [ | 18 deps = [ |
21 ":resources", | |
22 "//base", | 19 "//base", |
23 "//components/mus/example/wm:interfaces", | 20 "//components/mus/example/wm:interfaces", |
| 21 "//components/mus/public/cpp", |
| 22 "//components/mus/public/interfaces", |
24 "//mojo/application/public/cpp", | 23 "//mojo/application/public/cpp", |
25 "//mandoline/ui/aura", | 24 "//mandoline/ui/aura", |
26 "//mojo/application/public/cpp:sources", | 25 "//mojo/application/public/cpp:sources", |
27 "//mojo/converters/geometry", | |
28 "//skia", | |
29 "//third_party/mojo/src/mojo/public/cpp/bindings", | 26 "//third_party/mojo/src/mojo/public/cpp/bindings", |
30 "//ui/gfx", | |
31 "//ui/gfx/geometry", | |
32 "//ui/mojo/events:interfaces", | |
33 "//ui/views", | 27 "//ui/views", |
34 ] | 28 ] |
35 | 29 |
36 resources = [ "$root_out_dir/example_resources.pak" ] | |
37 | |
38 data_deps = [ | 30 data_deps = [ |
39 "//components/mus", | 31 "//components/mus", |
40 ] | 32 ] |
| 33 |
| 34 public_deps = [ |
| 35 ":resources", |
| 36 ] |
41 } | 37 } |
42 | 38 |
43 repack("resources") { | 39 repack("resources") { |
44 sources = [ | 40 sources = [ |
45 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 41 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
46 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 42 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
47 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 43 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
48 "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak", | 44 "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak", |
49 ] | 45 ] |
50 output = "$root_out_dir/example_resources.pak" | 46 output = "$root_out_dir/example_resources.pak" |
51 deps = [ | 47 deps = [ |
52 "//ui/strings", | 48 "//ui/strings", |
53 "//ui/resources", | 49 "//ui/resources", |
54 "//ui/views/resources", | 50 "//ui/views/resources", |
55 ] | 51 ] |
56 } | 52 } |
OLD | NEW |