| 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("//mojo/public/mojo_application.gni") | 6 import("//mojo/public/mojo_application.gni") |
| 7 import("//mojo/public/mojo_application_manifest.gni") | 7 import("//mojo/public/mojo_application_manifest.gni") |
| 8 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
| 9 import("//tools/grit/repack.gni") | 9 import("//tools/grit/repack.gni") |
| 10 | 10 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 "//ui/gfx/geometry", | 101 "//ui/gfx/geometry", |
| 102 "//ui/gfx/geometry/mojo", | 102 "//ui/gfx/geometry/mojo", |
| 103 "//ui/resources", | 103 "//ui/resources", |
| 104 "//ui/strings", | 104 "//ui/strings", |
| 105 "//ui/views", | 105 "//ui/views", |
| 106 "//ui/views/mus:for_mojo_application", | 106 "//ui/views/mus:for_mojo_application", |
| 107 ] | 107 ] |
| 108 } | 108 } |
| 109 | 109 |
| 110 mojo_native_application("mus") { | 110 mojo_native_application("mus") { |
| 111 output_name = "desktop_wm" | 111 output_name = "ash" |
| 112 | 112 |
| 113 sources = [ | 113 sources = [ |
| 114 "main.cc", | 114 "main.cc", |
| 115 ] | 115 ] |
| 116 | 116 |
| 117 deps = [ | 117 deps = [ |
| 118 ":lib", | 118 ":lib", |
| 119 ":resources", | 119 ":resources", |
| 120 "//services/shell/public/cpp", | 120 "//services/shell/public/cpp", |
| 121 ] | 121 ] |
| 122 | 122 |
| 123 # TODO(beng): This target relies on //mash/session, but there is a cycle so we | 123 # TODO(beng): This target relies on //mash/session, but there is a cycle so we |
| 124 # can't state that dependency here. | 124 # can't state that dependency here. |
| 125 data_deps = [ | 125 data_deps = [ |
| 126 ":manifest", | 126 ":manifest", |
| 127 "//components/mus", | 127 "//components/mus", |
| 128 ] | 128 ] |
| 129 | 129 |
| 130 resources = [ "$root_out_dir/ash_mus_resources.pak" ] | 130 resources = [ "$root_out_dir/ash_mus_resources.pak" ] |
| 131 } | 131 } |
| 132 | 132 |
| 133 mojo_application_manifest("manifest") { | 133 mojo_application_manifest("manifest") { |
| 134 application_name = "desktop_wm" | 134 application_name = "ash" |
| 135 source = "manifest.json" | 135 source = "manifest.json" |
| 136 } | 136 } |
| 137 | 137 |
| 138 repack("resources") { | 138 repack("resources") { |
| 139 sources = [ | 139 sources = [ |
| 140 "$root_gen_dir/ash/mus/resources/ash_mus_resources_100_percent.pak", | 140 "$root_gen_dir/ash/mus/resources/ash_mus_resources_100_percent.pak", |
| 141 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", | 141 "$root_gen_dir/ui/resources/ui_resources_100_percent.pak", |
| 142 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", | 142 "$root_gen_dir/ui/strings/app_locale_settings_en-US.pak", |
| 143 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", | 143 "$root_gen_dir/ui/strings/ui_strings_en-US.pak", |
| 144 "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak", | 144 "$root_gen_dir/ui/views/resources/views_resources_100_percent.pak", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 "//ui/gfx/geometry", | 196 "//ui/gfx/geometry", |
| 197 "//ui/gfx/geometry/mojo", | 197 "//ui/gfx/geometry/mojo", |
| 198 "//ui/views/mus", | 198 "//ui/views/mus", |
| 199 ] | 199 ] |
| 200 | 200 |
| 201 data_deps = [ | 201 data_deps = [ |
| 202 ":mus", | 202 ":mus", |
| 203 "//mash/quick_launch", | 203 "//mash/quick_launch", |
| 204 ] | 204 ] |
| 205 } | 205 } |
| OLD | NEW |