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