| 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 "chromeos/apply_content_protection_task.cc", | 10 "chromeos/apply_content_protection_task.cc", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 "chromeos/x11/display_snapshot_x11.h", | 30 "chromeos/x11/display_snapshot_x11.h", |
| 31 "chromeos/x11/display_util_x11.cc", | 31 "chromeos/x11/display_util_x11.cc", |
| 32 "chromeos/x11/display_util_x11.h", | 32 "chromeos/x11/display_util_x11.h", |
| 33 "chromeos/x11/native_display_delegate_x11.cc", | 33 "chromeos/x11/native_display_delegate_x11.cc", |
| 34 "chromeos/x11/native_display_delegate_x11.h", | 34 "chromeos/x11/native_display_delegate_x11.h", |
| 35 "chromeos/x11/native_display_event_dispatcher_x11.cc", | 35 "chromeos/x11/native_display_event_dispatcher_x11.cc", |
| 36 "chromeos/x11/native_display_event_dispatcher_x11.h", | 36 "chromeos/x11/native_display_event_dispatcher_x11.h", |
| 37 "display_export.h", | 37 "display_export.h", |
| 38 "display_switches.cc", | 38 "display_switches.cc", |
| 39 "display_switches.h", | 39 "display_switches.h", |
| 40 "manager/display_layout.cc", |
| 41 "manager/display_layout.h", |
| 42 "manager/display_layout_builder.cc", |
| 43 "manager/display_layout_builder.h", |
| 40 "win/display_info.cc", | 44 "win/display_info.cc", |
| 41 "win/display_info.h", | 45 "win/display_info.h", |
| 42 "win/screen_win.cc", | 46 "win/screen_win.cc", |
| 43 "win/screen_win.h", | 47 "win/screen_win.h", |
| 44 "win/screen_win_display.cc", | 48 "win/screen_win_display.cc", |
| 45 "win/screen_win_display.h", | 49 "win/screen_win_display.h", |
| 46 ] | 50 ] |
| 47 | 51 |
| 48 defines = [ "DISPLAY_IMPLEMENTATION" ] | 52 defines = [ "DISPLAY_IMPLEMENTATION" ] |
| 49 | 53 |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 # This test covers all testable components in display. | 143 # This test covers all testable components in display. |
| 140 test("display_unittests") { | 144 test("display_unittests") { |
| 141 sources = [ | 145 sources = [ |
| 142 "chromeos/apply_content_protection_task_unittest.cc", | 146 "chromeos/apply_content_protection_task_unittest.cc", |
| 143 "chromeos/configure_displays_task_unittest.cc", | 147 "chromeos/configure_displays_task_unittest.cc", |
| 144 "chromeos/display_configurator_unittest.cc", | 148 "chromeos/display_configurator_unittest.cc", |
| 145 "chromeos/query_content_protection_task_unittest.cc", | 149 "chromeos/query_content_protection_task_unittest.cc", |
| 146 "chromeos/update_display_configuration_task_unittest.cc", | 150 "chromeos/update_display_configuration_task_unittest.cc", |
| 147 "chromeos/x11/display_util_x11_unittest.cc", | 151 "chromeos/x11/display_util_x11_unittest.cc", |
| 148 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 152 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 153 "manager/display_layout_builder_unittest.cc", |
| 149 "util/display_util_unittest.cc", | 154 "util/display_util_unittest.cc", |
| 150 "util/edid_parser_unittest.cc", | 155 "util/edid_parser_unittest.cc", |
| 151 "win/screen_win_unittest.cc", | 156 "win/screen_win_unittest.cc", |
| 152 ] | 157 ] |
| 153 | 158 |
| 154 deps = [ | 159 deps = [ |
| 155 ":display", | 160 ":display", |
| 156 "//base", | 161 "//base", |
| 157 "//base/test:run_all_unittests", | 162 "//base/test:run_all_unittests", |
| 158 "//base/test:test_support", | 163 "//base/test:test_support", |
| (...skipping 11 matching lines...) Expand all Loading... |
| 170 ] | 175 ] |
| 171 } | 176 } |
| 172 | 177 |
| 173 if (is_chromeos && use_ozone) { | 178 if (is_chromeos && use_ozone) { |
| 174 sources -= [ | 179 sources -= [ |
| 175 "chromeos/x11/display_util_x11_unittest.cc", | 180 "chromeos/x11/display_util_x11_unittest.cc", |
| 176 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 181 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 177 ] | 182 ] |
| 178 } | 183 } |
| 179 } | 184 } |
| OLD | NEW |