| 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 testonly = true |
| 10 |
| 9 sources = [ | 11 sources = [ |
| 10 "test_window.h", | 12 "test_window.h", |
| 13 "test_window_tree.cc", |
| 14 "test_window_tree.h", |
| 15 "test_window_tree_connection_setup.cc", |
| 16 "test_window_tree_connection_setup.h", |
| 17 "window_tree_client_impl_private.cc", |
| 18 "window_tree_client_impl_private.h", |
| 11 ] | 19 ] |
| 12 | 20 |
| 13 deps = [ | 21 deps = [ |
| 14 "//base", | 22 "//base", |
| 15 "//components/mus/public/cpp", | 23 "//components/mus/public/cpp", |
| 24 "//mojo/converters/geometry", |
| 25 "//testing/gtest", |
| 16 ] | 26 ] |
| 17 } | 27 } |
| 18 | 28 |
| 19 source_set("test_support") { | 29 source_set("test_support") { |
| 20 testonly = true | 30 testonly = true |
| 21 | 31 |
| 22 sources = [ | 32 sources = [ |
| 23 "window_server_shelltest_base.cc", | 33 "window_server_shelltest_base.cc", |
| 24 "window_server_shelltest_base.h", | 34 "window_server_shelltest_base.h", |
| 25 "window_server_test_base.cc", | 35 "window_server_test_base.cc", |
| 26 "window_server_test_base.h", | 36 "window_server_test_base.h", |
| 27 ] | 37 ] |
| 28 | 38 |
| 29 deps = [ | 39 deps = [ |
| 30 "//base", | 40 "//base", |
| 31 "//base/test:test_config", | 41 "//base/test:test_config", |
| 32 "//components/mus/common:mus_common", | 42 "//components/mus/common:mus_common", |
| 33 "//components/mus/public/cpp", | 43 "//components/mus/public/cpp", |
| 34 "//services/shell/public/cpp:shell_test_support", | 44 "//services/shell/public/cpp:shell_test_support", |
| 35 "//services/shell/public/cpp:sources", | 45 "//services/shell/public/cpp:sources", |
| 36 "//testing/gtest", | 46 "//testing/gtest", |
| 37 "//ui/gl", | 47 "//ui/gl", |
| 38 ] | 48 ] |
| 39 } | 49 } |
| 40 | 50 |
| 41 test("mus_public_unittests") { | 51 test("mus_public_unittests") { |
| 42 sources = [ | 52 sources = [ |
| 43 "property_type_converters_unittest.cc", | 53 "property_type_converters_unittest.cc", |
| 44 "run_all_unittests.cc", | 54 "run_all_unittests.cc", |
| 45 "test_window_tree.cc", | |
| 46 "test_window_tree.h", | |
| 47 "window_server_test_suite.cc", | 55 "window_server_test_suite.cc", |
| 48 "window_server_test_suite.h", | 56 "window_server_test_suite.h", |
| 49 "window_tree_client_impl_unittest.cc", | 57 "window_tree_client_impl_unittest.cc", |
| 50 "window_unittest.cc", | 58 "window_unittest.cc", |
| 51 ] | 59 ] |
| 52 | 60 |
| 53 deps = [ | 61 deps = [ |
| 54 ":unittest_support", | 62 ":unittest_support", |
| 55 "//base", | 63 "//base", |
| 56 "//base/test:test_support", | 64 "//base/test:test_support", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 68 "//ui/events", | 76 "//ui/events", |
| 69 "//ui/gfx:test_support", | 77 "//ui/gfx:test_support", |
| 70 "//ui/gfx/geometry", | 78 "//ui/gfx/geometry", |
| 71 "//ui/mojo/geometry:interfaces", | 79 "//ui/mojo/geometry:interfaces", |
| 72 ] | 80 ] |
| 73 | 81 |
| 74 if (use_x11) { | 82 if (use_x11) { |
| 75 deps += [ "//ui/gfx/x" ] | 83 deps += [ "//ui/gfx/x" ] |
| 76 } | 84 } |
| 77 } | 85 } |
| OLD | NEW |