| 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 16 matching lines...) Expand all Loading... |
| 27 "chromeos/x11/display_snapshot_x11.cc", | 27 "chromeos/x11/display_snapshot_x11.cc", |
| 28 "chromeos/x11/display_snapshot_x11.h", | 28 "chromeos/x11/display_snapshot_x11.h", |
| 29 "chromeos/x11/display_util_x11.cc", | 29 "chromeos/x11/display_util_x11.cc", |
| 30 "chromeos/x11/display_util_x11.h", | 30 "chromeos/x11/display_util_x11.h", |
| 31 "chromeos/x11/native_display_delegate_x11.cc", | 31 "chromeos/x11/native_display_delegate_x11.cc", |
| 32 "chromeos/x11/native_display_delegate_x11.h", | 32 "chromeos/x11/native_display_delegate_x11.h", |
| 33 "chromeos/x11/native_display_event_dispatcher_x11.cc", | 33 "chromeos/x11/native_display_event_dispatcher_x11.cc", |
| 34 "chromeos/x11/native_display_event_dispatcher_x11.h", | 34 "chromeos/x11/native_display_event_dispatcher_x11.h", |
| 35 "display.h", | 35 "display.h", |
| 36 "display_export.h", | 36 "display_export.h", |
| 37 "display_finder.cc", |
| 38 "display_finder.h", |
| 37 "display_observer.h", | 39 "display_observer.h", |
| 38 "display_switches.cc", | 40 "display_switches.cc", |
| 39 "display_switches.h", | 41 "display_switches.h", |
| 40 "manager/display_layout.cc", | 42 "manager/display_layout.cc", |
| 41 "manager/display_layout.h", | 43 "manager/display_layout.h", |
| 42 "manager/display_layout_builder.cc", | 44 "manager/display_layout_builder.cc", |
| 43 "manager/display_layout_builder.h", | 45 "manager/display_layout_builder.h", |
| 44 "screen.h", | 46 "screen.h", |
| 45 "win/display_info.cc", | 47 "win/display_info.cc", |
| 46 "win/display_info.h", | 48 "win/display_info.h", |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 154 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 156 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 155 "manager/display_layout_builder_unittest.cc", | 157 "manager/display_layout_builder_unittest.cc", |
| 156 "manager/display_layout_unittest.cc", | 158 "manager/display_layout_unittest.cc", |
| 157 "util/display_util_unittest.cc", | 159 "util/display_util_unittest.cc", |
| 158 "util/edid_parser_unittest.cc", | 160 "util/edid_parser_unittest.cc", |
| 159 "win/screen_win_unittest.cc", | 161 "win/screen_win_unittest.cc", |
| 160 ] | 162 ] |
| 161 | 163 |
| 162 deps = [ | 164 deps = [ |
| 163 ":display", | 165 ":display", |
| 166 ":test_support", |
| 164 "//base", | 167 "//base", |
| 165 "//base/test:run_all_unittests", | 168 "//base/test:run_all_unittests", |
| 166 "//base/test:test_support", | 169 "//base/test:test_support", |
| 167 "//testing/gtest", | 170 "//testing/gtest", |
| 168 "//ui/display/types", | 171 "//ui/display/types", |
| 169 "//ui/display/util", | 172 "//ui/display/util", |
| 170 "//ui/gfx:test_support", | 173 "//ui/gfx:test_support", |
| 171 "//ui/gfx/geometry", | 174 "//ui/gfx/geometry", |
| 172 ] | 175 ] |
| 173 | 176 |
| 174 if (is_chromeos) { | 177 if (is_chromeos) { |
| 175 deps += [ | 178 deps += [ ":test_util" ] |
| 176 ":test_support", | |
| 177 ":test_util", | |
| 178 ] | |
| 179 } | 179 } |
| 180 | 180 |
| 181 if (is_chromeos && use_ozone) { | 181 if (is_chromeos && use_ozone) { |
| 182 sources -= [ | 182 sources -= [ |
| 183 "chromeos/x11/display_util_x11_unittest.cc", | 183 "chromeos/x11/display_util_x11_unittest.cc", |
| 184 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 184 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 185 ] | 185 ] |
| 186 } | 186 } |
| 187 } | 187 } |
| OLD | NEW |