| 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("//mojo/public/mojo_constants.gni") | 9 import("//mojo/public/mojo_constants.gni") |
| 10 import("//tools/grit/repack.gni") | 10 import("//tools/grit/repack.gni") |
| 11 | 11 |
| 12 group("all") { | 12 group("all") { |
| 13 testonly = true | 13 testonly = true |
| 14 deps = [ | 14 deps = [ |
| 15 ":mus", | 15 ":ui", |
| 16 "//components/mus/test_wm", | 16 "//services/ui/test_wm", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | 19 |
| 20 mojo_native_application("mus") { | 20 mojo_native_application("ui") { |
| 21 output_name = "mus" |
| 21 sources = [ | 22 sources = [ |
| 22 "main.cc", | 23 "main.cc", |
| 23 ] | 24 ] |
| 24 | 25 |
| 25 deps = [ | 26 deps = [ |
| 26 ":lib", | 27 ":lib", |
| 27 ":resources_100", | 28 ":resources_100", |
| 28 ":resources_200", | 29 ":resources_200", |
| 29 ":resources_strings", | 30 ":resources_strings", |
| 30 "//services/shell/public/cpp:sources", | 31 "//services/shell/public/cpp:sources", |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 } | 70 } |
| 70 } | 71 } |
| 71 | 72 |
| 72 source_set("lib") { | 73 source_set("lib") { |
| 73 sources = [ | 74 sources = [ |
| 74 "mus_app.cc", | 75 "mus_app.cc", |
| 75 "mus_app.h", | 76 "mus_app.h", |
| 76 ] | 77 ] |
| 77 | 78 |
| 78 public_deps = [ | 79 public_deps = [ |
| 79 "//components/mus/common:mus_common", | 80 "//services/ui/common:mus_common", |
| 80 ] | 81 ] |
| 81 deps = [ | 82 deps = [ |
| 82 "//base", | 83 "//base", |
| 83 "//cc", | 84 "//cc", |
| 84 "//cc/surfaces", | 85 "//cc/surfaces", |
| 85 "//components/mus/clipboard:lib", | |
| 86 "//components/mus/gles2", | |
| 87 "//components/mus/gpu", | |
| 88 "//components/mus/gpu/display_compositor", | |
| 89 "//components/mus/input_devices", | |
| 90 "//components/mus/public/interfaces", | |
| 91 "//components/mus/surfaces", | |
| 92 "//components/mus/ws:lib", | |
| 93 "//components/mus/ws:test_interface", | |
| 94 "//mojo/common:common_base", | 86 "//mojo/common:common_base", |
| 95 "//services/catalog/public/cpp", | 87 "//services/catalog/public/cpp", |
| 96 "//services/shell/public/cpp", | 88 "//services/shell/public/cpp", |
| 97 "//services/tracing/public/cpp", | 89 "//services/tracing/public/cpp", |
| 90 "//services/ui/clipboard:lib", |
| 91 "//services/ui/gles2", |
| 92 "//services/ui/gpu", |
| 93 "//services/ui/gpu/display_compositor", |
| 94 "//services/ui/input_devices", |
| 95 "//services/ui/public/interfaces", |
| 96 "//services/ui/surfaces", |
| 97 "//services/ui/ws:lib", |
| 98 "//services/ui/ws:test_interface", |
| 98 "//ui/events", | 99 "//ui/events", |
| 99 "//ui/events/ozone:events_ozone_layout", | 100 "//ui/events/ozone:events_ozone_layout", |
| 100 "//ui/gl:gl", | 101 "//ui/gl:gl", |
| 101 "//ui/platform_window:platform_impls", | 102 "//ui/platform_window:platform_impls", |
| 102 "//ui/platform_window:platform_window", | 103 "//ui/platform_window:platform_window", |
| 103 ] | 104 ] |
| 104 | 105 |
| 105 if (use_x11) { | 106 if (use_x11) { |
| 106 public_configs = [ "//build/config/linux:x11" ] | 107 public_configs = [ "//build/config/linux:x11" ] |
| 107 public_deps += [ "//ui/events/platform/x11" ] | 108 public_deps += [ "//ui/events/platform/x11" ] |
| (...skipping 26 matching lines...) Expand all Loading... |
| 134 | 135 |
| 135 repack("resources_200") { | 136 repack("resources_200") { |
| 136 sources = [ | 137 sources = [ |
| 137 "$root_gen_dir/ui/resources/ui_resources_200_percent.pak", | 138 "$root_gen_dir/ui/resources/ui_resources_200_percent.pak", |
| 138 ] | 139 ] |
| 139 output = "$root_out_dir/mus_app_resources_200.pak" | 140 output = "$root_out_dir/mus_app_resources_200.pak" |
| 140 deps = [ | 141 deps = [ |
| 141 "//ui/resources", | 142 "//ui/resources", |
| 142 ] | 143 ] |
| 143 } | 144 } |
| OLD | NEW |