| 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 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_run_unittests | 7 # GYP version: mojo/mojo_services.gypi:mojo_view_manager_run_unittests |
| 8 source_set("run_unittests") { | 8 source_set("run_unittests") { |
| 9 sources = [ | 9 sources = [ |
| 10 "view_manager_test_suite.cc", | 10 "view_manager_test_suite.cc", |
| 11 "view_manager_test_suite.h", | 11 "view_manager_test_suite.h", |
| 12 "view_manager_unittests.cc", | 12 "view_manager_unittests.cc", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 deps = [ | 15 deps = [ |
| 16 "//base", | 16 "//base", |
| 17 "//base/test:test_support", | 17 "//base/test:test_support", |
| 18 "//ui/gl", | 18 "//ui/gl", |
| 19 ] | 19 ] |
| 20 if (is_linux) { | 20 if (is_linux || is_win) { |
| 21 deps += [ | 21 deps += [ |
| 22 "//third_party/mesa:osmesa", | 22 "//third_party/mesa:osmesa", |
| 23 "//mojo/services/native_viewport", | 23 "//mojo/services/native_viewport", |
| 24 ] | 24 ] |
| 25 } | 25 } |
| 26 if (use_x11) { | 26 if (use_x11) { |
| 27 deps += [ "//ui/gfx/x" ] | 27 deps += [ "//ui/gfx/x" ] |
| 28 } | 28 } |
| 29 } | 29 } |
| OLD | NEW |