| 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 static_library("unittest_support") { | 8 static_library("unittest_support") { |
| 9 testonly = true | 9 testonly = true |
| 10 | 10 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 sources = [ | 35 sources = [ |
| 36 "window_server_shelltest_base.cc", | 36 "window_server_shelltest_base.cc", |
| 37 "window_server_shelltest_base.h", | 37 "window_server_shelltest_base.h", |
| 38 "window_server_test_base.cc", | 38 "window_server_test_base.cc", |
| 39 "window_server_test_base.h", | 39 "window_server_test_base.h", |
| 40 ] | 40 ] |
| 41 | 41 |
| 42 deps = [ | 42 deps = [ |
| 43 "//base", | 43 "//base", |
| 44 "//base/test:test_config", | 44 "//base/test:test_config", |
| 45 "//services/shell/public/cpp:service_test_support", | 45 "//services/service_manager/public/cpp:service_test_support", |
| 46 "//services/shell/public/cpp:sources", | 46 "//services/service_manager/public/cpp:sources", |
| 47 "//services/ui/common:mus_common", | 47 "//services/ui/common:mus_common", |
| 48 "//services/ui/public/cpp", | 48 "//services/ui/public/cpp", |
| 49 "//testing/gtest", | 49 "//testing/gtest", |
| 50 "//ui/gl", | 50 "//ui/gl", |
| 51 ] | 51 ] |
| 52 } | 52 } |
| 53 | 53 |
| 54 test("mus_public_unittests") { | 54 test("mus_public_unittests") { |
| 55 sources = [ | 55 sources = [ |
| 56 "property_type_converters_unittest.cc", | 56 "property_type_converters_unittest.cc", |
| 57 "run_all_unittests.cc", | 57 "run_all_unittests.cc", |
| 58 "window_server_test_suite.cc", | 58 "window_server_test_suite.cc", |
| 59 "window_server_test_suite.h", | 59 "window_server_test_suite.h", |
| 60 "window_tree_client_unittest.cc", | 60 "window_tree_client_unittest.cc", |
| 61 "window_unittest.cc", | 61 "window_unittest.cc", |
| 62 ] | 62 ] |
| 63 | 63 |
| 64 deps = [ | 64 deps = [ |
| 65 ":unittest_support", | 65 ":unittest_support", |
| 66 "//base", | 66 "//base", |
| 67 "//base/test:test_support", | 67 "//base/test:test_support", |
| 68 "//mojo/common:common_base", | 68 "//mojo/common:common_base", |
| 69 "//mojo/edk/system", | 69 "//mojo/edk/system", |
| 70 "//mojo/public/cpp/system", | 70 "//mojo/public/cpp/system", |
| 71 "//services/shell/public/cpp", | 71 "//services/service_manager/public/cpp", |
| 72 "//services/ui/common:mus_common", | 72 "//services/ui/common:mus_common", |
| 73 "//services/ui/public/cpp", | 73 "//services/ui/public/cpp", |
| 74 "//services/ui/public/cpp:internal_or_test", | 74 "//services/ui/public/cpp:internal_or_test", |
| 75 "//testing/gtest", | 75 "//testing/gtest", |
| 76 "//ui/events", | 76 "//ui/events", |
| 77 "//ui/gfx:test_support", | 77 "//ui/gfx:test_support", |
| 78 "//ui/gfx/geometry", | 78 "//ui/gfx/geometry", |
| 79 "//ui/gfx/geometry/mojo", | 79 "//ui/gfx/geometry/mojo", |
| 80 ] | 80 ] |
| 81 | 81 |
| 82 if (use_x11) { | 82 if (use_x11) { |
| 83 deps += [ "//ui/gfx/x" ] | 83 deps += [ "//ui/gfx/x" ] |
| 84 } | 84 } |
| 85 } | 85 } |
| OLD | NEW |