| 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 = [ |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 deps = [ | 123 deps = [ |
| 124 "//base", | 124 "//base", |
| 125 "//ui/display/types", | 125 "//ui/display/types", |
| 126 "//ui/gfx", | 126 "//ui/gfx", |
| 127 "//ui/gfx:test_support", | 127 "//ui/gfx:test_support", |
| 128 "//ui/gfx/geometry", | 128 "//ui/gfx/geometry", |
| 129 ] | 129 ] |
| 130 } | 130 } |
| 131 } | 131 } |
| 132 | 132 |
| 133 # TODO(GYP): Delete this after we've converted everything to GN. | |
| 134 # The _run targets exist only for compatibility w/ GYP. | |
| 135 group("display_unittests_run") { | |
| 136 testonly = true | |
| 137 deps = [ | |
| 138 ":display_unittests", | |
| 139 ] | |
| 140 } | |
| 141 | |
| 142 # This test covers the ChromeOS "display" target as well as the cross-platform | 133 # This test covers the ChromeOS "display" target as well as the cross-platform |
| 143 # //display/util target. | 134 # //display/util target. |
| 144 test("display_unittests") { | 135 test("display_unittests") { |
| 145 sources = [ | 136 sources = [ |
| 146 "chromeos/apply_content_protection_task_unittest.cc", | 137 "chromeos/apply_content_protection_task_unittest.cc", |
| 147 "chromeos/configure_displays_task_unittest.cc", | 138 "chromeos/configure_displays_task_unittest.cc", |
| 148 "chromeos/display_configurator_unittest.cc", | 139 "chromeos/display_configurator_unittest.cc", |
| 149 "chromeos/query_content_protection_task_unittest.cc", | 140 "chromeos/query_content_protection_task_unittest.cc", |
| 150 "chromeos/update_display_configuration_task_unittest.cc", | 141 "chromeos/update_display_configuration_task_unittest.cc", |
| 151 "chromeos/x11/display_util_x11_unittest.cc", | 142 "chromeos/x11/display_util_x11_unittest.cc", |
| (...skipping 20 matching lines...) Expand all Loading... |
| 172 ] | 163 ] |
| 173 } | 164 } |
| 174 | 165 |
| 175 if (use_ozone && is_chromeos) { | 166 if (use_ozone && is_chromeos) { |
| 176 sources -= [ | 167 sources -= [ |
| 177 "chromeos/x11/display_util_x11_unittest.cc", | 168 "chromeos/x11/display_util_x11_unittest.cc", |
| 178 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 169 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 179 ] | 170 ] |
| 180 } | 171 } |
| 181 } | 172 } |
| OLD | NEW |