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 component("display") { | 8 component("display") { |
9 sources = [ | 9 sources = [ |
10 "android/screen_android.cc", | 10 "android/screen_android.cc", |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 "win/scaling_util.cc", | 70 "win/scaling_util.cc", |
71 "win/scaling_util.h", | 71 "win/scaling_util.h", |
72 "win/screen_win.cc", | 72 "win/screen_win.cc", |
73 "win/screen_win.h", | 73 "win/screen_win.h", |
74 "win/screen_win_display.cc", | 74 "win/screen_win_display.cc", |
75 "win/screen_win_display.h", | 75 "win/screen_win_display.h", |
76 ] | 76 ] |
77 | 77 |
78 defines = [ "DISPLAY_IMPLEMENTATION" ] | 78 defines = [ "DISPLAY_IMPLEMENTATION" ] |
79 | 79 |
| 80 public_deps = [ |
| 81 "//ui/gfx:gfx", |
| 82 ] |
| 83 |
80 deps = [ | 84 deps = [ |
81 "//base", | 85 "//base", |
82 "//ui/display/types", | 86 "//ui/display/types", |
83 "//ui/display/util", | 87 "//ui/display/util", |
84 "//ui/gfx", | 88 "//ui/gfx", |
85 "//ui/gfx/geometry", | 89 "//ui/gfx/geometry", |
86 ] | 90 ] |
87 | 91 |
88 if (is_chromeos && use_x11) { | 92 if (is_chromeos && use_x11) { |
89 configs += [ | 93 configs += [ |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 sources -= [ "display_change_notifier_unittest.cc" ] | 235 sources -= [ "display_change_notifier_unittest.cc" ] |
232 } | 236 } |
233 | 237 |
234 if (is_chromeos && use_ozone) { | 238 if (is_chromeos && use_ozone) { |
235 sources -= [ | 239 sources -= [ |
236 "chromeos/x11/display_util_x11_unittest.cc", | 240 "chromeos/x11/display_util_x11_unittest.cc", |
237 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 241 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
238 ] | 242 ] |
239 } | 243 } |
240 } | 244 } |
OLD | NEW |