Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Side by Side Diff: ui/display/BUILD.gn

Issue 2361283002: Add GetDisplayWithDisplayId to display::Screen. (Closed)
Patch Set: move unittest Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/display/screen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 "//base/test:run_all_unittests", 213 "//base/test:run_all_unittests",
214 "//base/test:test_support", 214 "//base/test:test_support",
215 "//testing/gmock", 215 "//testing/gmock",
216 "//testing/gtest", 216 "//testing/gtest",
217 "//ui/display/types", 217 "//ui/display/types",
218 "//ui/display/util", 218 "//ui/display/util",
219 "//ui/gfx:test_support", 219 "//ui/gfx:test_support",
220 "//ui/gfx/geometry", 220 "//ui/gfx/geometry",
221 ] 221 ]
222 222
223 if (use_aura) {
224 sources -= [ "screen_unittest.cc" ]
225 }
226
227 if (is_android) { 223 if (is_android) {
228 # Do not run display_change_notifier_unittest.cc on Android because it 224 # Do not run display_change_notifier_unittest.cc on Android because it
229 # does not compile display_observer.cc 225 # does not compile display_observer.cc
230 sources -= [ "display_change_notifier_unittest.cc" ] 226 sources -= [ "display_change_notifier_unittest.cc" ]
231 } 227 }
232 228
233 if (is_chromeos && use_ozone) { 229 if (is_chromeos && use_ozone) {
234 sources -= [ 230 sources -= [
235 "chromeos/x11/display_util_x11_unittest.cc", 231 "chromeos/x11/display_util_x11_unittest.cc",
236 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", 232 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
237 ] 233 ]
238 } 234 }
239 } 235 }
OLDNEW
« no previous file with comments | « no previous file | ui/display/screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698