| 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 | 6 |
| 7 source_set("display") { | 7 source_set("display") { |
| 8 sources = [ | 8 sources = [ |
| 9 "platform_screen.h", | 9 "platform_screen.h", |
| 10 "platform_screen_delegate.h", |
| 10 ] | 11 ] |
| 11 | 12 |
| 12 deps = [ | 13 deps = [ |
| 13 "//base", | 14 "//base", |
| 14 "//ui/display", | 15 "//ui/display", |
| 15 "//ui/gfx", | 16 "//ui/gfx", |
| 16 ] | 17 ] |
| 17 | 18 |
| 18 if (use_ozone && is_chromeos) { | 19 if (use_ozone && is_chromeos) { |
| 19 sources += [ | 20 sources += [ |
| 20 "platform_screen_impl_ozone.cc", | 21 "platform_screen_impl_ozone.cc", |
| 21 "platform_screen_impl_ozone.h", | 22 "platform_screen_impl_ozone.h", |
| 22 ] | 23 ] |
| 23 | 24 |
| 24 deps += [ | 25 deps += [ |
| 25 "//skia", | 26 "//skia", |
| 26 "//ui/ozone:ozone", | 27 "//ui/ozone:ozone", |
| 27 ] | 28 ] |
| 28 } else { | 29 } else { |
| 29 sources += [ | 30 sources += [ |
| 30 "platform_screen_impl.cc", | 31 "platform_screen_impl.cc", |
| 31 "platform_screen_impl.h", | 32 "platform_screen_impl.h", |
| 32 ] | 33 ] |
| 33 } | 34 } |
| 34 } | 35 } |
| OLD | NEW |