| 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 | 6 |
| 7 test("mojo_view_manager_lib_unittests") { | 7 test("mojo_view_manager_lib_unittests") { |
| 8 sources = [ | 8 sources = [ |
| 9 "view_unittest.cc", | 9 "view_unittest.cc", |
| 10 "view_manager_unittest.cc", | 10 "view_manager_unittest.cc", |
| 11 ] | 11 ] |
| 12 | 12 |
| 13 deps = [ | 13 deps = [ |
| 14 "//base", | 14 "//base", |
| 15 "//base/test:test_support", | 15 "//base/test:test_support", |
| 16 "//testing/gtest", | |
| 17 "//ui/gfx", | |
| 18 "//ui/gfx:test_support", | |
| 19 "//mojo/application_manager", | 16 "//mojo/application_manager", |
| 20 "//mojo/converters/geometry", | 17 "//mojo/converters/geometry", |
| 21 "//mojo/environment:chromium", | 18 "//mojo/environment:chromium", |
| 22 "//mojo/public/cpp/application", | 19 "//mojo/public/cpp/application", |
| 23 "//mojo/services/public/cpp/geometry", | 20 "//mojo/services/public/cpp/geometry", |
| 21 "//mojo/services/public/cpp/view_manager", |
| 24 "//mojo/services/public/interfaces/geometry", | 22 "//mojo/services/public/interfaces/geometry", |
| 25 "//mojo/shell:test_support", | |
| 26 "//mojo/services/public/interfaces/view_manager", | 23 "//mojo/services/public/interfaces/view_manager", |
| 27 "//mojo/services/public/cpp/view_manager", | 24 "//shell:test_support", |
| 25 "//testing/gtest", |
| 28 ] | 26 ] |
| 29 if (use_aura) { | 27 if (use_aura) { |
| 30 deps += [ "//mojo/services/public/cpp/view_manager/lib:run_unittests" ] | 28 deps += [ "//mojo/services/public/cpp/view_manager/lib:run_unittests" ] |
| 31 } else { | 29 } else { |
| 32 deps += [ "//mojo/edk/test:run_all_unittests" ] | 30 deps += [ "//mojo/edk/test:run_all_unittests" ] |
| 33 } | 31 } |
| 34 } | 32 } |
| OLD | NEW |