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