| 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 8 | 8 |
| 9 group("wm") { | 9 group("wm") { |
| 10 testonly = true | 10 testonly = true |
| 11 deps = [ | 11 deps = [ |
| 12 ":example_wm", | 12 ":example_wm", |
| 13 ":apptests", | 13 ":apptests", |
| 14 ] | 14 ] |
| 15 } | 15 } |
| 16 | 16 |
| 17 source_set("example_wm_lib") { | 17 source_set("example_wm_lib") { |
| 18 sources = [ | 18 sources = [ |
| 19 "background_layout.cc", | 19 "background_layout.cc", |
| 20 "background_layout.h", | 20 "background_layout.h", |
| 21 "layout_manager.cc", | 21 "layout_manager.cc", |
| 22 "layout_manager.h", | 22 "layout_manager.h", |
| 23 "move_loop.cc", | 23 "move_loop.cc", |
| 24 "move_loop.h", | 24 "move_loop.h", |
| 25 "non_client_frame_controller.cc", |
| 26 "non_client_frame_controller.h", |
| 27 "non_client_frame_view_impl.cc", |
| 28 "non_client_frame_view_impl.h", |
| 25 "property_util.cc", | 29 "property_util.cc", |
| 26 "property_util.h", | 30 "property_util.h", |
| 27 "shelf_layout.cc", | 31 "shelf_layout.cc", |
| 28 "shelf_layout.h", | 32 "shelf_layout.h", |
| 29 "window_layout.cc", | 33 "window_layout.cc", |
| 30 "window_layout.h", | 34 "window_layout.h", |
| 31 "window_manager_application.cc", | 35 "window_manager_application.cc", |
| 32 "window_manager_application.h", | 36 "window_manager_application.h", |
| 33 "window_manager_impl.cc", | 37 "window_manager_impl.cc", |
| 34 "window_manager_impl.h", | 38 "window_manager_impl.h", |
| 35 ] | 39 ] |
| 36 | 40 |
| 37 deps = [ | 41 deps = [ |
| 38 "//base", | 42 "//base", |
| 39 "//components/mus/example/wm/public/interfaces", | 43 "//components/mus/example/wm/public/interfaces", |
| 40 "//components/mus/public/cpp", | 44 "//components/mus/public/cpp", |
| 41 "//components/mus/public/interfaces", | 45 "//components/mus/public/interfaces", |
| 42 "//mojo/application/public/cpp", | 46 "//mojo/application/public/cpp", |
| 43 "//mojo/common:common_base", | 47 "//mojo/common:common_base", |
| 44 "//mojo/converters/geometry", | 48 "//mojo/converters/geometry", |
| 49 "//skia", |
| 50 "//ui/views", |
| 51 "//ui/views/mus", |
| 45 ] | 52 ] |
| 46 } | 53 } |
| 47 | 54 |
| 48 mojo_native_application("example_wm") { | 55 mojo_native_application("example_wm") { |
| 49 sources = [ | 56 sources = [ |
| 50 "main.cc", | 57 "main.cc", |
| 51 ] | 58 ] |
| 52 | 59 |
| 53 deps = [ | 60 deps = [ |
| 54 ":example_wm_lib", | 61 ":example_wm_lib", |
| 55 "//mojo/application/public/cpp", | 62 "//mojo/application/public/cpp", |
| 63 "//ui/views/mus:resources", |
| 56 ] | 64 ] |
| 57 | 65 |
| 58 data_deps = [ | 66 data_deps = [ |
| 59 "//components/mus", | 67 "//components/mus", |
| 60 ] | 68 ] |
| 69 |
| 70 resources = [ "$root_out_dir/views_mus_resources.pak" ] |
| 61 } | 71 } |
| 62 | 72 |
| 63 mojo_native_application("apptests") { | 73 mojo_native_application("apptests") { |
| 64 output_name = "mus_example_wm_apptests" | 74 output_name = "mus_example_wm_apptests" |
| 65 testonly = true | 75 testonly = true |
| 66 | 76 |
| 67 sources = [ | 77 sources = [ |
| 68 "window_manager_apptest.cc", | 78 "window_manager_apptest.cc", |
| 69 ] | 79 ] |
| 70 | 80 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 "//testing/gtest", | 117 "//testing/gtest", |
| 108 "//third_party/mojo/src/mojo/edk/system", | 118 "//third_party/mojo/src/mojo/edk/system", |
| 109 "//third_party/mojo/src/mojo/public/cpp/system", | 119 "//third_party/mojo/src/mojo/public/cpp/system", |
| 110 "//ui/events", | 120 "//ui/events", |
| 111 "//ui/gfx/geometry", | 121 "//ui/gfx/geometry", |
| 112 "//ui/gfx:test_support", | 122 "//ui/gfx:test_support", |
| 113 "//ui/mojo/geometry:interfaces", | 123 "//ui/mojo/geometry:interfaces", |
| 114 "//ui/mojo/geometry:util", | 124 "//ui/mojo/geometry:util", |
| 115 ] | 125 ] |
| 116 } | 126 } |
| OLD | NEW |