| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 "user_window_controller_impl.cc", | 75 "user_window_controller_impl.cc", |
| 76 "user_window_controller_impl.h", | 76 "user_window_controller_impl.h", |
| 77 "window_manager.cc", | 77 "window_manager.cc", |
| 78 "window_manager.h", | 78 "window_manager.h", |
| 79 "window_manager_application.cc", | 79 "window_manager_application.cc", |
| 80 "window_manager_application.h", | 80 "window_manager_application.h", |
| 81 ] | 81 ] |
| 82 | 82 |
| 83 public_deps = [ | 83 public_deps = [ |
| 84 "//ash", | 84 "//ash", |
| 85 "//ash/mus/resources", |
| 85 "//ash/public/interfaces", | 86 "//ash/public/interfaces", |
| 86 "//base", | 87 "//base", |
| 87 "//components/mus/common:mus_common", | 88 "//components/mus/common:mus_common", |
| 88 "//components/mus/public/cpp", | 89 "//components/mus/public/cpp", |
| 89 "//components/mus/public/interfaces", | 90 "//components/mus/public/interfaces", |
| 90 "//mash/session/public/interfaces", | 91 "//mash/session/public/interfaces", |
| 91 "//mash/wm/resources", | |
| 92 "//mojo/common:common_base", | 92 "//mojo/common:common_base", |
| 93 "//services/shell/public/cpp", | 93 "//services/shell/public/cpp", |
| 94 "//services/tracing/public/cpp", | 94 "//services/tracing/public/cpp", |
| 95 "//skia", | 95 "//skia", |
| 96 "//ui/aura", | 96 "//ui/aura", |
| 97 "//ui/display/mojo", | 97 "//ui/display/mojo", |
| 98 "//ui/events", | 98 "//ui/events", |
| 99 "//ui/events/mojo", | 99 "//ui/events/mojo", |
| 100 "//ui/gfx", | 100 "//ui/gfx", |
| 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("wm") { | 110 mojo_native_application("mus") { |
| 111 output_name = "desktop_wm" | 111 output_name = "desktop_wm" |
| 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/mash_wm_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 = "desktop_wm" |
| 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/mash/wm/resources/mash_wm_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", |
| 145 ] | 145 ] |
| 146 output = "$root_out_dir/mash_wm_resources.pak" | 146 output = "$root_out_dir/ash_mus_resources.pak" |
| 147 deps = [ | 147 deps = [ |
| 148 "//mash/wm/resources", | 148 "//ash/mus/resources", |
| 149 "//ui/resources", | 149 "//ui/resources", |
| 150 "//ui/strings", | 150 "//ui/strings", |
| 151 "//ui/views/mus:resources", | 151 "//ui/views/mus:resources", |
| 152 "//ui/views/resources", | 152 "//ui/views/resources", |
| 153 ] | 153 ] |
| 154 } | 154 } |
| 155 | 155 |
| 156 source_set("unittests") { | 156 source_set("unittests") { |
| 157 testonly = true | 157 testonly = true |
| 158 | 158 |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 "//ui/display", | 192 "//ui/display", |
| 193 "//ui/events", | 193 "//ui/events", |
| 194 "//ui/events/mojo", | 194 "//ui/events/mojo", |
| 195 "//ui/gfx:test_support", | 195 "//ui/gfx:test_support", |
| 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 ":wm", | 202 ":mus", |
| 203 "//mash/quick_launch", | 203 "//mash/quick_launch", |
| 204 ] | 204 ] |
| 205 } | 205 } |
| OLD | NEW |