| 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("test_support") { | 8 source_set("test_support") { |
| 9 testonly = true | 9 testonly = true |
| 10 | 10 |
| 11 sources = [ | 11 sources = [ |
| 12 "view_manager_test_base.cc", | 12 "view_manager_test_base.cc", |
| 13 "view_manager_test_base.h", | 13 "view_manager_test_base.h", |
| 14 ] | 14 ] |
| 15 | 15 |
| 16 deps = [ | 16 deps = [ |
| 17 "//base", | 17 "//base", |
| 18 "//base/test:test_config", | 18 "//base/test:test_config", |
| 19 "//components/view_manager/public/cpp", | 19 "//components/mus/public/cpp", |
| 20 "//mojo/application/public/cpp:sources", | 20 "//mojo/application/public/cpp:sources", |
| 21 "//mojo/application/public/cpp:test_support", | 21 "//mojo/application/public/cpp:test_support", |
| 22 "//testing/gtest", | 22 "//testing/gtest", |
| 23 ] | 23 ] |
| 24 } | 24 } |
| 25 | 25 |
| 26 test("mojo_view_manager_lib_unittests") { | 26 test("mojo_view_manager_lib_unittests") { |
| 27 sources = [ | 27 sources = [ |
| 28 "run_all_unittests.cc", | 28 "run_all_unittests.cc", |
| 29 "view_manager_test_suite.cc", | 29 "view_manager_test_suite.cc", |
| 30 "view_manager_test_suite.h", | 30 "view_manager_test_suite.h", |
| 31 "view_unittest.cc", | 31 "view_unittest.cc", |
| 32 ] | 32 ] |
| 33 | 33 |
| 34 deps = [ | 34 deps = [ |
| 35 "//base", | 35 "//base", |
| 36 "//base/test:test_support", | 36 "//base/test:test_support", |
| 37 "//components/view_manager/public/cpp", | 37 "//components/mus/public/cpp", |
| 38 "//mojo/application/public/cpp", | 38 "//mojo/application/public/cpp", |
| 39 "//testing/gtest", | 39 "//testing/gtest", |
| 40 "//third_party/mojo/src/mojo/public/cpp/system", | 40 "//third_party/mojo/src/mojo/public/cpp/system", |
| 41 "//third_party/mojo/src/mojo/edk/system", | 41 "//third_party/mojo/src/mojo/edk/system", |
| 42 "//ui/mojo/geometry:interfaces", | 42 "//ui/mojo/geometry:interfaces", |
| 43 ] | 43 ] |
| 44 | 44 |
| 45 if (use_x11) { | 45 if (use_x11) { |
| 46 deps += [ "//ui/gfx/x" ] | 46 deps += [ "//ui/gfx/x" ] |
| 47 } | 47 } |
| 48 } | 48 } |
| OLD | NEW |