| 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 | 7 |
| 8 source_set("unittest_support") { | 8 source_set("unittest_support") { |
| 9 sources = [ | 9 sources = [ |
| 10 "test_window.h", | 10 "test_window.h", |
| 11 ] | 11 ] |
| 12 | 12 |
| 13 deps = [ | 13 deps = [ |
| 14 "//base", | 14 "//base", |
| 15 "//components/mus/public/cpp", | 15 "//components/mus/public/cpp", |
| 16 ] | 16 ] |
| 17 } | 17 } |
| 18 | 18 |
| 19 source_set("test_support") { | 19 source_set("test_support") { |
| 20 testonly = true | 20 testonly = true |
| 21 | 21 |
| 22 sources = [ | 22 sources = [ |
| 23 "window_server_shelltest_base.cc", |
| 24 "window_server_shelltest_base.h", |
| 23 "window_server_test_base.cc", | 25 "window_server_test_base.cc", |
| 24 "window_server_test_base.h", | 26 "window_server_test_base.h", |
| 25 ] | 27 ] |
| 26 | 28 |
| 27 deps = [ | 29 deps = [ |
| 28 "//base", | 30 "//base", |
| 29 "//base/test:test_config", | 31 "//base/test:test_config", |
| 32 "//components/mus/common:mus_common", |
| 30 "//components/mus/public/cpp", | 33 "//components/mus/public/cpp", |
| 34 "//mojo/shell/public/cpp:shell_test_support", |
| 31 "//mojo/shell/public/cpp:sources", | 35 "//mojo/shell/public/cpp:sources", |
| 32 "//mojo/shell/public/cpp:test_support", | 36 "//mojo/shell/public/cpp:test_support", |
| 33 "//testing/gtest", | 37 "//testing/gtest", |
| 38 "//ui/gl", |
| 34 ] | 39 ] |
| 35 } | 40 } |
| 36 | 41 |
| 37 test("mojo_view_manager_lib_unittests") { | 42 test("mojo_view_manager_lib_unittests") { |
| 38 sources = [ | 43 sources = [ |
| 39 "run_all_unittests.cc", | 44 "run_all_unittests.cc", |
| 40 "test_window_tree.cc", | 45 "test_window_tree.cc", |
| 41 "test_window_tree.h", | 46 "test_window_tree.h", |
| 42 "window_server_test_suite.cc", | 47 "window_server_test_suite.cc", |
| 43 "window_server_test_suite.h", | 48 "window_server_test_suite.h", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 63 "//ui/events", | 68 "//ui/events", |
| 64 "//ui/gfx:test_support", | 69 "//ui/gfx:test_support", |
| 65 "//ui/gfx/geometry", | 70 "//ui/gfx/geometry", |
| 66 "//ui/mojo/geometry:interfaces", | 71 "//ui/mojo/geometry:interfaces", |
| 67 ] | 72 ] |
| 68 | 73 |
| 69 if (use_x11) { | 74 if (use_x11) { |
| 70 deps += [ "//ui/gfx/x" ] | 75 deps += [ "//ui/gfx/x" ] |
| 71 } | 76 } |
| 72 } | 77 } |
| OLD | NEW |