| 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/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
| 9 | 9 |
| 10 group("wm") { | 10 group("tests") { |
| 11 testonly = true | 11 testonly = true |
| 12 deps = [ | 12 deps = [ |
| 13 ":apptests", | 13 ":apptests", |
| 14 ":example_wm", | |
| 15 ] | 14 ] |
| 16 } | 15 } |
| 17 | 16 |
| 18 source_set("example_wm_lib") { | 17 source_set("lib") { |
| 19 sources = [ | 18 sources = [ |
| 20 "background_layout.cc", | 19 "background_layout.cc", |
| 21 "background_layout.h", | 20 "background_layout.h", |
| 22 "frame/caption_buttons/caption_button_types.h", | 21 "frame/caption_buttons/caption_button_types.h", |
| 23 "frame/caption_buttons/frame_caption_button.cc", | 22 "frame/caption_buttons/frame_caption_button.cc", |
| 24 "frame/caption_buttons/frame_caption_button.h", | 23 "frame/caption_buttons/frame_caption_button.h", |
| 25 "frame/caption_buttons/frame_caption_button_container_view.cc", | 24 "frame/caption_buttons/frame_caption_button_container_view.cc", |
| 26 "frame/caption_buttons/frame_caption_button_container_view.h", | 25 "frame/caption_buttons/frame_caption_button_container_view.h", |
| 27 "frame/default_header_painter.cc", | 26 "frame/default_header_painter.cc", |
| 28 "frame/default_header_painter.h", | 27 "frame/default_header_painter.h", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 "//ui/events", | 67 "//ui/events", |
| 69 "//ui/gfx", | 68 "//ui/gfx", |
| 70 "//ui/gfx/geometry", | 69 "//ui/gfx/geometry", |
| 71 "//ui/mojo/init", | 70 "//ui/mojo/init", |
| 72 "//ui/strings", | 71 "//ui/strings", |
| 73 "//ui/views", | 72 "//ui/views", |
| 74 "//ui/views/mus:for_mojo_application", | 73 "//ui/views/mus:for_mojo_application", |
| 75 ] | 74 ] |
| 76 } | 75 } |
| 77 | 76 |
| 78 mojo_native_application("example_wm") { | 77 mojo_native_application("wm") { |
| 78 output_name = "mash_wm" |
| 79 |
| 79 sources = [ | 80 sources = [ |
| 80 "main.cc", | 81 "main.cc", |
| 81 ] | 82 ] |
| 82 | 83 |
| 83 deps = [ | 84 deps = [ |
| 84 ":example_wm_lib", | 85 ":lib", |
| 85 ":resources", | 86 ":resources", |
| 86 "//mojo/application/public/cpp", | 87 "//mojo/application/public/cpp", |
| 87 ] | 88 ] |
| 88 | 89 |
| 89 data_deps = [ | 90 data_deps = [ |
| 90 "//components/mus", | 91 "//components/mus", |
| 91 ] | 92 ] |
| 92 | 93 |
| 93 resources = [ "$root_out_dir/mash_wm_resources.pak" ] | 94 resources = [ "$root_out_dir/mash_wm_resources.pak" ] |
| 94 } | 95 } |
| (...skipping 10 matching lines...) Expand all Loading... |
| 105 deps = [ | 106 deps = [ |
| 106 "//mash/wm/resources", | 107 "//mash/wm/resources", |
| 107 "//ui/resources", | 108 "//ui/resources", |
| 108 "//ui/strings", | 109 "//ui/strings", |
| 109 "//ui/views/mus:resources", | 110 "//ui/views/mus:resources", |
| 110 "//ui/views/resources", | 111 "//ui/views/resources", |
| 111 ] | 112 ] |
| 112 } | 113 } |
| 113 | 114 |
| 114 mojo_native_application("apptests") { | 115 mojo_native_application("apptests") { |
| 115 output_name = "mus_example_wm_apptests" | 116 output_name = "mash_wm_apptests" |
| 116 testonly = true | 117 testonly = true |
| 117 | 118 |
| 118 sources = [ | 119 sources = [ |
| 119 "window_manager_apptest.cc", | 120 "window_manager_apptest.cc", |
| 120 ] | 121 ] |
| 121 | 122 |
| 122 deps = [ | 123 deps = [ |
| 123 "//base", | 124 "//base", |
| 124 "//base/test:test_config", | 125 "//base/test:test_config", |
| 125 "//components/mus/public/cpp", | 126 "//components/mus/public/cpp", |
| 126 "//components/mus/public/cpp/tests:test_support", | 127 "//components/mus/public/cpp/tests:test_support", |
| 127 "//components/mus/public/interfaces", | 128 "//components/mus/public/interfaces", |
| 128 "//mojo/application/public/cpp:sources", | 129 "//mojo/application/public/cpp:sources", |
| 129 "//mojo/application/public/cpp:test_support", | 130 "//mojo/application/public/cpp:test_support", |
| 130 "//mojo/common:common_base", | 131 "//mojo/common:common_base", |
| 131 "//mojo/converters/geometry", | 132 "//mojo/converters/geometry", |
| 132 "//ui/mojo/geometry:interfaces", | 133 "//ui/mojo/geometry:interfaces", |
| 133 "//ui/mojo/geometry:util", | 134 "//ui/mojo/geometry:util", |
| 134 ] | 135 ] |
| 135 | 136 |
| 136 data_deps = [ | 137 data_deps = [ |
| 137 ":example_wm", | 138 ":wm", |
| 138 ] | 139 ] |
| 139 } | 140 } |
| 140 | 141 |
| 141 source_set("unittests") { | 142 source_set("unittests") { |
| 142 testonly = true | 143 testonly = true |
| 143 | 144 |
| 144 sources = [ | 145 sources = [ |
| 145 "frame/move_loop_unittest.cc", | 146 "frame/move_loop_unittest.cc", |
| 146 ] | 147 ] |
| 147 | 148 |
| 148 deps = [ | 149 deps = [ |
| 149 ":example_wm_lib", | 150 ":lib", |
| 150 "//base", | 151 "//base", |
| 151 "//base/test:test_config", | 152 "//base/test:test_config", |
| 152 "//components/mus/public/cpp", | 153 "//components/mus/public/cpp", |
| 153 "//components/mus/public/cpp/tests:unittest_support", | 154 "//components/mus/public/cpp/tests:unittest_support", |
| 154 "//mojo/converters/geometry", | 155 "//mojo/converters/geometry", |
| 155 "//mojo/converters/input_events", | 156 "//mojo/converters/input_events", |
| 156 "//mojo/gles2", | 157 "//mojo/gles2", |
| 157 "//mojo/platform_handle", | 158 "//mojo/platform_handle", |
| 158 "//mojo/public/cpp/system", | 159 "//mojo/public/cpp/system", |
| 159 "//testing/gtest", | 160 "//testing/gtest", |
| 160 "//third_party/mojo/src/mojo/edk/system", | 161 "//third_party/mojo/src/mojo/edk/system", |
| 161 "//ui/events", | 162 "//ui/events", |
| 162 "//ui/gfx:test_support", | 163 "//ui/gfx:test_support", |
| 163 "//ui/gfx/geometry", | 164 "//ui/gfx/geometry", |
| 164 "//ui/mojo/geometry:interfaces", | 165 "//ui/mojo/geometry:interfaces", |
| 165 "//ui/mojo/geometry:util", | 166 "//ui/mojo/geometry:util", |
| 166 ] | 167 ] |
| 167 } | 168 } |
| OLD | NEW |