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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |