| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 | 8 |
| 9 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 "display_manager_delegate.h", | 54 "display_manager_delegate.h", |
| 55 "display_manager_factory.h", | 55 "display_manager_factory.h", |
| 56 "event_dispatcher.cc", | 56 "event_dispatcher.cc", |
| 57 "event_dispatcher.h", | 57 "event_dispatcher.h", |
| 58 "focus_controller.cc", | 58 "focus_controller.cc", |
| 59 "focus_controller.h", | 59 "focus_controller.h", |
| 60 "focus_controller_delegate.h", | 60 "focus_controller_delegate.h", |
| 61 "gesture_manager.cc", | 61 "gesture_manager.cc", |
| 62 "gesture_manager.h", | 62 "gesture_manager.h", |
| 63 "gesture_manager_delegate.h", | 63 "gesture_manager_delegate.h", |
| 64 "mus_app.cc", |
| 65 "mus_app.h", |
| 64 "server_view.cc", | 66 "server_view.cc", |
| 65 "server_view.h", | 67 "server_view.h", |
| 66 "server_view_delegate.h", | 68 "server_view_delegate.h", |
| 67 "server_view_drawn_tracker.cc", | 69 "server_view_drawn_tracker.cc", |
| 68 "server_view_drawn_tracker.h", | 70 "server_view_drawn_tracker.h", |
| 69 "server_view_drawn_tracker_observer.h", | 71 "server_view_drawn_tracker_observer.h", |
| 70 "server_view_observer.h", | 72 "server_view_observer.h", |
| 71 "view_coordinate_conversions.cc", | 73 "view_coordinate_conversions.cc", |
| 72 "view_coordinate_conversions.h", | 74 "view_coordinate_conversions.h", |
| 73 "view_locator.cc", | 75 "view_locator.cc", |
| 74 "view_locator.h", | 76 "view_locator.h", |
| 75 "view_manager_app.cc", | |
| 76 "view_manager_app.h", | |
| 77 "view_tree_host_connection.cc", | 77 "view_tree_host_connection.cc", |
| 78 "view_tree_host_connection.h", | 78 "view_tree_host_connection.h", |
| 79 "view_tree_host_delegate.h", | 79 "view_tree_host_delegate.h", |
| 80 "view_tree_host_impl.cc", | 80 "view_tree_host_impl.cc", |
| 81 "view_tree_host_impl.h", | 81 "view_tree_host_impl.h", |
| 82 "view_tree_impl.cc", | 82 "view_tree_impl.cc", |
| 83 "view_tree_impl.h", | 83 "view_tree_impl.h", |
| 84 "window_manager_access_policy.cc", | 84 "window_manager_access_policy.cc", |
| 85 "window_manager_access_policy.h", | 85 "window_manager_access_policy.h", |
| 86 ] | 86 ] |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 "//mojo/common", | 135 "//mojo/common", |
| 136 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", | 136 "//third_party/mojo/src/mojo/public/cpp/bindings:bindings", |
| 137 "//ui/mojo/geometry:interfaces", | 137 "//ui/mojo/geometry:interfaces", |
| 138 ] | 138 ] |
| 139 } | 139 } |
| 140 | 140 |
| 141 group("tests") { | 141 group("tests") { |
| 142 testonly = true | 142 testonly = true |
| 143 deps = [ | 143 deps = [ |
| 144 ":apptests", | 144 ":apptests", |
| 145 ":view_manager_unittests", | 145 ":mus_unittests", |
| 146 "//components/mus/public/cpp/tests:mojo_view_manager_lib_unittests", | 146 "//components/mus/public/cpp/tests:mojo_mus_lib_unittests", |
| 147 ] | 147 ] |
| 148 } | 148 } |
| 149 | 149 |
| 150 test("view_manager_unittests") { | 150 test("mus_unittests") { |
| 151 sources = [ | 151 sources = [ |
| 152 "focus_controller_unittest.cc", | 152 "focus_controller_unittest.cc", |
| 153 "gesture_manager_unittest.cc", | 153 "gesture_manager_unittest.cc", |
| 154 "server_view_drawn_tracker_unittest.cc", | 154 "server_view_drawn_tracker_unittest.cc", |
| 155 "test_server_view_delegate.cc", | 155 "test_server_view_delegate.cc", |
| 156 "test_server_view_delegate.h", | 156 "test_server_view_delegate.h", |
| 157 "view_coordinate_conversions_unittest.cc", | 157 "view_coordinate_conversions_unittest.cc", |
| 158 "view_tree_unittest.cc", | 158 "view_tree_unittest.cc", |
| 159 ] | 159 ] |
| 160 | 160 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 181 "//ui/gfx:test_support", | 181 "//ui/gfx:test_support", |
| 182 "//ui/gfx/geometry", | 182 "//ui/gfx/geometry", |
| 183 ] | 183 ] |
| 184 | 184 |
| 185 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. | 185 if (!is_android) { # TODO(GYP) Enable on Android when osmesa links. |
| 186 deps += [ "//third_party/mesa:osmesa" ] | 186 deps += [ "//third_party/mesa:osmesa" ] |
| 187 } | 187 } |
| 188 } | 188 } |
| 189 | 189 |
| 190 mojo_native_application("apptests") { | 190 mojo_native_application("apptests") { |
| 191 output_name = "view_manager_apptests" | 191 output_name = "mus_apptests" |
| 192 testonly = true | 192 testonly = true |
| 193 | 193 |
| 194 sources = [ | 194 sources = [ |
| 195 "view_manager_client_apptest.cc", | 195 "mus_client_apptest.cc", |
| 196 "view_tree_apptest.cc", | 196 "view_tree_apptest.cc", |
| 197 ] | 197 ] |
| 198 | 198 |
| 199 deps = [ | 199 deps = [ |
| 200 ":test_support", | 200 ":test_support", |
| 201 "//base", | 201 "//base", |
| 202 "//base/test:test_config", | 202 "//base/test:test_config", |
| 203 "//components/mus/public/cpp", | 203 "//components/mus/public/cpp", |
| 204 "//components/mus/public/cpp/tests:test_support", | 204 "//components/mus/public/cpp/tests:test_support", |
| 205 "//components/mus/public/interfaces", | 205 "//components/mus/public/interfaces", |
| 206 "//mojo/application/public/cpp:sources", | 206 "//mojo/application/public/cpp:sources", |
| 207 "//mojo/application/public/cpp:test_support", | 207 "//mojo/application/public/cpp:test_support", |
| 208 "//ui/mojo/geometry:interfaces", | 208 "//ui/mojo/geometry:interfaces", |
| 209 "//ui/mojo/geometry:util", | 209 "//ui/mojo/geometry:util", |
| 210 ] | 210 ] |
| 211 | 211 |
| 212 data_deps = [ ":mus" ] | 212 data_deps = [ ":mus" ] |
| 213 } | 213 } |
| OLD | NEW |