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("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//mojo/public/mojo_application.gni") | 7 import("//mojo/public/mojo_application.gni") |
8 import("//mojo/public/mojo_application_manifest.gni") | 8 import("//mojo/public/mojo_application_manifest.gni") |
9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 ] | 28 ] |
29 } | 29 } |
30 } else { | 30 } else { |
31 mojo_native_application("mus") { | 31 mojo_native_application("mus") { |
32 sources = [ | 32 sources = [ |
33 "main.cc", | 33 "main.cc", |
34 ] | 34 ] |
35 | 35 |
36 deps = [ | 36 deps = [ |
37 ":lib", | 37 ":lib", |
38 ":manifest", | |
39 "//mojo/platform_handle:for_shared_library", | 38 "//mojo/platform_handle:for_shared_library", |
40 "//mojo/shell/public/cpp:sources", | 39 "//mojo/shell/public/cpp:sources", |
41 ] | 40 ] |
42 | 41 |
43 if (is_win) { | 42 if (is_win) { |
44 deps += [ ":copy_gl_libraries" ] | 43 deps += [ ":copy_gl_libraries" ] |
45 } | 44 } |
| 45 |
| 46 data_deps = [ |
| 47 ":manifest", |
| 48 ] |
46 } | 49 } |
47 | 50 |
48 mojo_application_manifest("manifest") { | 51 mojo_application_manifest("manifest") { |
49 application_name = "mus" | 52 application_name = "mus" |
50 source = "manifest.json" | 53 source = "manifest.json" |
51 } | 54 } |
52 } | 55 } |
53 | 56 |
54 if (is_win) { | 57 if (is_win) { |
55 copy("copy_gl_libraries") { | 58 copy("copy_gl_libraries") { |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 | 138 |
136 repack("resources_200") { | 139 repack("resources_200") { |
137 sources = [ | 140 sources = [ |
138 "$root_gen_dir/ui/resources/ui_resources_200_percent.pak", | 141 "$root_gen_dir/ui/resources/ui_resources_200_percent.pak", |
139 ] | 142 ] |
140 output = "$root_out_dir/mus/resources/mus_app_resources_200.pak" | 143 output = "$root_out_dir/mus/resources/mus_app_resources_200.pak" |
141 deps = [ | 144 deps = [ |
142 "//ui/resources", | 145 "//ui/resources", |
143 ] | 146 ] |
144 } | 147 } |
OLD | NEW |