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

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

Issue 2524863003: Move DisplayChangeObserver + tests from ash to ui. (Closed)
Patch Set: Replace with static method. 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
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 "chromeos/apply_content_protection_task.cc", 10 "chromeos/apply_content_protection_task.cc",
11 "chromeos/apply_content_protection_task.h", 11 "chromeos/apply_content_protection_task.h",
12 "chromeos/configure_displays_task.cc", 12 "chromeos/configure_displays_task.cc",
13 "chromeos/configure_displays_task.h", 13 "chromeos/configure_displays_task.h",
14 "chromeos/display_change_observer.cc",
15 "chromeos/display_change_observer.h",
14 "chromeos/display_configurator.cc", 16 "chromeos/display_configurator.cc",
15 "chromeos/display_configurator.h", 17 "chromeos/display_configurator.h",
16 "chromeos/display_layout_manager.h", 18 "chromeos/display_layout_manager.h",
17 "chromeos/display_snapshot_virtual.cc", 19 "chromeos/display_snapshot_virtual.cc",
18 "chromeos/display_snapshot_virtual.h", 20 "chromeos/display_snapshot_virtual.h",
19 "chromeos/display_util.cc", 21 "chromeos/display_util.cc",
20 "chromeos/display_util.h", 22 "chromeos/display_util.h",
21 "chromeos/query_content_protection_task.cc", 23 "chromeos/query_content_protection_task.cc",
22 "chromeos/query_content_protection_task.h", 24 "chromeos/query_content_protection_task.h",
23 "chromeos/touchscreen_util.cc", 25 "chromeos/touchscreen_util.cc",
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 "//ui/gfx:test_support", 182 "//ui/gfx:test_support",
181 "//ui/gfx/geometry", 183 "//ui/gfx/geometry",
182 ] 184 ]
183 } 185 }
184 186
185 # This test covers all testable components in display. 187 # This test covers all testable components in display.
186 test("display_unittests") { 188 test("display_unittests") {
187 sources = [ 189 sources = [
188 "chromeos/apply_content_protection_task_unittest.cc", 190 "chromeos/apply_content_protection_task_unittest.cc",
189 "chromeos/configure_displays_task_unittest.cc", 191 "chromeos/configure_displays_task_unittest.cc",
192 "chromeos/display_change_observer_unittest.cc",
190 "chromeos/display_configurator_unittest.cc", 193 "chromeos/display_configurator_unittest.cc",
191 "chromeos/query_content_protection_task_unittest.cc", 194 "chromeos/query_content_protection_task_unittest.cc",
192 "chromeos/touchscreen_util_unittest.cc", 195 "chromeos/touchscreen_util_unittest.cc",
193 "chromeos/update_display_configuration_task_unittest.cc", 196 "chromeos/update_display_configuration_task_unittest.cc",
194 "display_change_notifier_unittest.cc", 197 "display_change_notifier_unittest.cc",
195 "display_list_unittest.cc", 198 "display_list_unittest.cc",
196 "display_unittest.cc", 199 "display_unittest.cc",
197 "fake_display_snapshot_unittests.cc", 200 "fake_display_snapshot_unittests.cc",
198 "manager/display_layout_builder_unittest.cc", 201 "manager/display_layout_builder_unittest.cc",
199 "manager/display_layout_unittest.cc", 202 "manager/display_layout_unittest.cc",
(...skipping 28 matching lines...) Expand all
228 sources -= [ "display_change_notifier_unittest.cc" ] 231 sources -= [ "display_change_notifier_unittest.cc" ]
229 } 232 }
230 233
231 if (is_chromeos && use_x11) { 234 if (is_chromeos && use_x11) {
232 sources += [ 235 sources += [
233 "chromeos/x11/display_util_x11_unittest.cc", 236 "chromeos/x11/display_util_x11_unittest.cc",
234 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", 237 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
235 ] 238 ]
236 } 239 }
237 } 240 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698