| 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 if (is_chromeos) { | 8 if (is_chromeos) { |
| 9 component("display") { | 9 component("display") { |
| 10 sources = [ | 10 sources = [ |
| 11 "chromeos/apply_content_protection_task.cc", | 11 "chromeos/apply_content_protection_task.cc", |
| 12 "chromeos/apply_content_protection_task.h", | 12 "chromeos/apply_content_protection_task.h", |
| 13 "chromeos/configure_displays_task.cc", | 13 "chromeos/configure_displays_task.cc", |
| 14 "chromeos/configure_displays_task.h", | 14 "chromeos/configure_displays_task.h", |
| 15 "chromeos/display_configurator.cc", | 15 "chromeos/display_configurator.cc", |
| 16 "chromeos/display_configurator.h", | 16 "chromeos/display_configurator.h", |
| 17 "chromeos/display_layout_manager.h", | 17 "chromeos/display_layout_manager.h", |
| 18 "chromeos/display_snapshot_virtual.cc", |
| 19 "chromeos/display_snapshot_virtual.h", |
| 18 "chromeos/display_util.cc", | 20 "chromeos/display_util.cc", |
| 19 "chromeos/display_util.h", | 21 "chromeos/display_util.h", |
| 20 "chromeos/ozone/display_configurator_ozone.cc", | 22 "chromeos/ozone/display_configurator_ozone.cc", |
| 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/update_display_configuration_task.cc", | 25 "chromeos/update_display_configuration_task.cc", |
| 24 "chromeos/update_display_configuration_task.h", | 26 "chromeos/update_display_configuration_task.h", |
| 25 "chromeos/x11/display_configurator_x11.cc", | 27 "chromeos/x11/display_configurator_x11.cc", |
| 26 "chromeos/x11/display_mode_x11.cc", | 28 "chromeos/x11/display_mode_x11.cc", |
| 27 "chromeos/x11/display_mode_x11.h", | 29 "chromeos/x11/display_mode_x11.h", |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 "chromeos/test/test_native_display_delegate.h", | 117 "chromeos/test/test_native_display_delegate.h", |
| 116 ] | 118 ] |
| 117 | 119 |
| 118 public_deps = [ | 120 public_deps = [ |
| 119 ":display", | 121 ":display", |
| 120 ] | 122 ] |
| 121 deps = [ | 123 deps = [ |
| 122 "//base", | 124 "//base", |
| 123 "//ui/display/types", | 125 "//ui/display/types", |
| 124 "//ui/gfx", | 126 "//ui/gfx", |
| 127 "//ui/gfx:test_support", |
| 125 "//ui/gfx/geometry", | 128 "//ui/gfx/geometry", |
| 126 ] | 129 ] |
| 127 } | 130 } |
| 128 } | 131 } |
| 129 | 132 |
| 130 # TODO(GYP): Delete this after we've converted everything to GN. | 133 # TODO(GYP): Delete this after we've converted everything to GN. |
| 131 # The _run targets exist only for compatibility w/ GYP. | 134 # The _run targets exist only for compatibility w/ GYP. |
| 132 group("display_unittests_run") { | 135 group("display_unittests_run") { |
| 133 testonly = true | 136 testonly = true |
| 134 deps = [ | 137 deps = [ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 ] | 172 ] |
| 170 } | 173 } |
| 171 | 174 |
| 172 if (use_ozone && is_chromeos) { | 175 if (use_ozone && is_chromeos) { |
| 173 sources -= [ | 176 sources -= [ |
| 174 "chromeos/x11/display_util_x11_unittest.cc", | 177 "chromeos/x11/display_util_x11_unittest.cc", |
| 175 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 178 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 176 ] | 179 ] |
| 177 } | 180 } |
| 178 } | 181 } |
| OLD | NEW |