| 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 "display.cc", | 10 "display.cc", |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 "manager/chromeos/apply_content_protection_task_unittest.cc", | 140 "manager/chromeos/apply_content_protection_task_unittest.cc", |
| 141 "manager/chromeos/configure_displays_task_unittest.cc", | 141 "manager/chromeos/configure_displays_task_unittest.cc", |
| 142 "manager/chromeos/display_change_observer_unittest.cc", | 142 "manager/chromeos/display_change_observer_unittest.cc", |
| 143 "manager/chromeos/display_configurator_unittest.cc", | 143 "manager/chromeos/display_configurator_unittest.cc", |
| 144 "manager/chromeos/query_content_protection_task_unittest.cc", | 144 "manager/chromeos/query_content_protection_task_unittest.cc", |
| 145 "manager/chromeos/touch_transform_controller_unittest.cc", | 145 "manager/chromeos/touch_transform_controller_unittest.cc", |
| 146 "manager/chromeos/touchscreen_util_unittest.cc", | 146 "manager/chromeos/touchscreen_util_unittest.cc", |
| 147 "manager/chromeos/update_display_configuration_task_unittest.cc", | 147 "manager/chromeos/update_display_configuration_task_unittest.cc", |
| 148 "manager/display_manager_utilities_unittest.cc", | 148 "manager/display_manager_utilities_unittest.cc", |
| 149 "manager/managed_display_info_unittest.cc", | 149 "manager/managed_display_info_unittest.cc", |
| 150 "mojo/display_struct_traits_unittest.cc", |
| 150 "screen_unittest.cc", | 151 "screen_unittest.cc", |
| 151 "util/display_util_unittest.cc", | 152 "util/display_util_unittest.cc", |
| 152 "util/edid_parser_unittest.cc", | 153 "util/edid_parser_unittest.cc", |
| 153 "win/scaling_util_unittest.cc", | 154 "win/scaling_util_unittest.cc", |
| 154 "win/screen_win_unittest.cc", | 155 "win/screen_win_unittest.cc", |
| 155 ] | 156 ] |
| 156 | 157 |
| 157 deps = [ | 158 deps = [ |
| 158 ":display", | 159 ":display", |
| 159 ":display_manager_test_api", | 160 ":display_manager_test_api", |
| 160 ":test_support", | 161 ":test_support", |
| 161 "//base", | 162 "//base", |
| 162 "//base/test:run_all_unittests", | |
| 163 "//base/test:test_support", | 163 "//base/test:test_support", |
| 164 "//mojo/edk/test:run_all_unittests", |
| 164 "//testing/gmock", | 165 "//testing/gmock", |
| 165 "//testing/gtest", | 166 "//testing/gtest", |
| 166 "//ui/display/manager", | 167 "//ui/display/manager", |
| 168 "//ui/display/mojo:test_interfaces", |
| 167 "//ui/display/types", | 169 "//ui/display/types", |
| 168 "//ui/display/util", | 170 "//ui/display/util", |
| 169 "//ui/events/devices", | 171 "//ui/events/devices", |
| 170 "//ui/gfx:test_support", | 172 "//ui/gfx:test_support", |
| 171 "//ui/gfx/geometry", | 173 "//ui/gfx/geometry", |
| 172 ] | 174 ] |
| 173 | 175 |
| 174 if (is_android) { | 176 if (is_android) { |
| 175 # Do not run display_change_notifier_unittest.cc on Android because it | 177 # Do not run display_change_notifier_unittest.cc on Android because it |
| 176 # does not compile display_observer.cc | 178 # does not compile display_observer.cc |
| 177 sources -= [ "display_change_notifier_unittest.cc" ] | 179 sources -= [ "display_change_notifier_unittest.cc" ] |
| 178 } | 180 } |
| 179 | 181 |
| 180 if (is_chromeos && use_x11) { | 182 if (is_chromeos && use_x11) { |
| 181 sources += [ | 183 sources += [ |
| 182 "manager/chromeos/x11/display_util_x11_unittest.cc", | 184 "manager/chromeos/x11/display_util_x11_unittest.cc", |
| 183 "manager/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 185 "manager/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 184 ] | 186 ] |
| 185 } | 187 } |
| 186 } | 188 } |
| OLD | NEW |