| 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 | 6 |
| 7 component("display") { | 7 component("display") { |
| 8 sources = [ | 8 sources = [ |
| 9 "chromeos/configure_displays_task.cc", | 9 "chromeos/configure_displays_task.cc", |
| 10 "chromeos/configure_displays_task.h", | 10 "chromeos/configure_displays_task.h", |
| 11 "chromeos/display_configurator.cc", | 11 "chromeos/display_configurator.cc", |
| 12 "chromeos/display_configurator.h", | 12 "chromeos/display_configurator.h", |
| 13 "chromeos/display_util.cc", |
| 14 "chromeos/display_util.h", |
| 13 "chromeos/ozone/display_configurator_ozone.cc", | 15 "chromeos/ozone/display_configurator_ozone.cc", |
| 16 "chromeos/update_display_configuration_task.cc", |
| 17 "chromeos/update_display_configuration_task.h", |
| 14 "chromeos/x11/display_configurator_x11.cc", | 18 "chromeos/x11/display_configurator_x11.cc", |
| 15 "chromeos/x11/display_mode_x11.cc", | 19 "chromeos/x11/display_mode_x11.cc", |
| 16 "chromeos/x11/display_mode_x11.h", | 20 "chromeos/x11/display_mode_x11.h", |
| 17 "chromeos/x11/display_snapshot_x11.cc", | 21 "chromeos/x11/display_snapshot_x11.cc", |
| 18 "chromeos/x11/display_snapshot_x11.h", | 22 "chromeos/x11/display_snapshot_x11.h", |
| 19 "chromeos/x11/display_util_x11.cc", | 23 "chromeos/x11/display_util_x11.cc", |
| 20 "chromeos/x11/display_util_x11.h", | 24 "chromeos/x11/display_util_x11.h", |
| 21 "chromeos/x11/native_display_delegate_x11.cc", | 25 "chromeos/x11/native_display_delegate_x11.cc", |
| 22 "chromeos/x11/native_display_delegate_x11.h", | 26 "chromeos/x11/native_display_delegate_x11.h", |
| 23 "chromeos/x11/native_display_event_dispatcher_x11.cc", | 27 "chromeos/x11/native_display_event_dispatcher_x11.cc", |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 "//base", | 118 "//base", |
| 115 "//ui/gfx", | 119 "//ui/gfx", |
| 116 "//ui/gfx/geometry", | 120 "//ui/gfx/geometry", |
| 117 ] | 121 ] |
| 118 } | 122 } |
| 119 | 123 |
| 120 test("display_unittests") { | 124 test("display_unittests") { |
| 121 sources = [ | 125 sources = [ |
| 122 "chromeos/configure_displays_task_unittest.cc", | 126 "chromeos/configure_displays_task_unittest.cc", |
| 123 "chromeos/display_configurator_unittest.cc", | 127 "chromeos/display_configurator_unittest.cc", |
| 128 "chromeos/update_display_configuration_task_unittest.cc", |
| 124 "chromeos/x11/display_util_x11_unittest.cc", | 129 "chromeos/x11/display_util_x11_unittest.cc", |
| 125 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 130 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 126 "util/display_util_unittest.cc", | 131 "util/display_util_unittest.cc", |
| 127 "util/edid_parser_unittest.cc", | 132 "util/edid_parser_unittest.cc", |
| 128 ] | 133 ] |
| 129 | 134 |
| 130 deps = [ | 135 deps = [ |
| 131 ":test_util", | 136 ":test_util", |
| 132 "//base", | 137 "//base", |
| 133 "//base/test:run_all_unittests", | 138 "//base/test:run_all_unittests", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 144 ] | 149 ] |
| 145 } | 150 } |
| 146 | 151 |
| 147 if (use_ozone && is_chromeos) { | 152 if (use_ozone && is_chromeos) { |
| 148 sources -= [ | 153 sources -= [ |
| 149 "chromeos/x11/display_util_x11_unittest.cc", | 154 "chromeos/x11/display_util_x11_unittest.cc", |
| 150 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 155 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 151 ] | 156 ] |
| 152 } | 157 } |
| 153 } | 158 } |
| OLD | NEW |