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 | |
84 deps = [ | 80 deps = [ |
85 "//base", | 81 "//base", |
86 "//ui/display/types", | 82 "//ui/display/types", |
87 "//ui/display/util", | 83 "//ui/display/util", |
88 "//ui/gfx", | 84 "//ui/gfx", |
89 "//ui/gfx/geometry", | 85 "//ui/gfx/geometry", |
90 ] | 86 ] |
91 | 87 |
92 if (is_chromeos && use_x11) { | 88 if (is_chromeos && use_x11) { |
93 configs += [ | 89 configs += [ |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
235 sources -= [ "display_change_notifier_unittest.cc" ] | 231 sources -= [ "display_change_notifier_unittest.cc" ] |
236 } | 232 } |
237 | 233 |
238 if (is_chromeos && use_ozone) { | 234 if (is_chromeos && use_ozone) { |
239 sources -= [ | 235 sources -= [ |
240 "chromeos/x11/display_util_x11_unittest.cc", | 236 "chromeos/x11/display_util_x11_unittest.cc", |
241 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 237 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
242 ] | 238 ] |
243 } | 239 } |
244 } | 240 } |
OLD | NEW |