| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 | 7 |
| 7 source_set("display") { | 8 source_set("display") { |
| 8 sources = [ | 9 sources = [ |
| 9 "platform_screen.h", | 10 "platform_screen.h", |
| 10 "platform_screen_delegate.h", | 11 "platform_screen_delegate.h", |
| 11 ] | 12 ] |
| 12 | 13 |
| 13 deps = [ | 14 deps = [ |
| 14 "//base", | 15 "//base", |
| 15 "//ui/display", | 16 "//ui/display", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 26 "//skia", | 27 "//skia", |
| 27 "//ui/ozone:ozone", | 28 "//ui/ozone:ozone", |
| 28 ] | 29 ] |
| 29 } else { | 30 } else { |
| 30 sources += [ | 31 sources += [ |
| 31 "platform_screen_impl.cc", | 32 "platform_screen_impl.cc", |
| 32 "platform_screen_impl.h", | 33 "platform_screen_impl.h", |
| 33 ] | 34 ] |
| 34 } | 35 } |
| 35 } | 36 } |
| 37 |
| 38 if (use_ozone) { |
| 39 test("display_service_unittests") { |
| 40 sources = [ |
| 41 "platform_screen_ozone_unittests.cc", |
| 42 ] |
| 43 |
| 44 deps = [ |
| 45 ":display", |
| 46 "//base", |
| 47 "//base/test:run_all_unittests", |
| 48 "//base/test:test_support", |
| 49 "//testing/gmock", |
| 50 "//testing/gtest", |
| 51 "//ui/display", |
| 52 "//ui/gfx", |
| 53 "//ui/gfx:test_support", |
| 54 "//ui/ozone", |
| 55 ] |
| 56 } |
| 57 } |
| OLD | NEW |