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 "android/screen_android.cc", | 10 "android/screen_android.cc", |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 ] | 70 ] |
71 | 71 |
72 defines = [ "DISPLAY_IMPLEMENTATION" ] | 72 defines = [ "DISPLAY_IMPLEMENTATION" ] |
73 | 73 |
74 public_deps = [ | 74 public_deps = [ |
75 "//ui/gfx:gfx", | 75 "//ui/gfx:gfx", |
76 ] | 76 ] |
77 | 77 |
78 deps = [ | 78 deps = [ |
79 "//base", | 79 "//base", |
| 80 "//third_party/re2", |
80 "//ui/display/types", | 81 "//ui/display/types", |
81 "//ui/display/util", | 82 "//ui/display/util", |
82 "//ui/gfx", | 83 "//ui/gfx", |
83 "//ui/gfx/geometry", | 84 "//ui/gfx/geometry", |
84 ] | 85 ] |
85 | 86 |
86 if (is_chromeos && use_x11) { | 87 if (is_chromeos && use_x11) { |
87 sources += [ | 88 sources += [ |
88 "chromeos/x11/display_mode_x11.cc", | 89 "chromeos/x11/display_mode_x11.cc", |
89 "chromeos/x11/display_mode_x11.h", | 90 "chromeos/x11/display_mode_x11.h", |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 "chromeos/apply_content_protection_task_unittest.cc", | 184 "chromeos/apply_content_protection_task_unittest.cc", |
184 "chromeos/configure_displays_task_unittest.cc", | 185 "chromeos/configure_displays_task_unittest.cc", |
185 "chromeos/display_configurator_unittest.cc", | 186 "chromeos/display_configurator_unittest.cc", |
186 "chromeos/query_content_protection_task_unittest.cc", | 187 "chromeos/query_content_protection_task_unittest.cc", |
187 "chromeos/update_display_configuration_task_unittest.cc", | 188 "chromeos/update_display_configuration_task_unittest.cc", |
188 "chromeos/x11/display_util_x11_unittest.cc", | 189 "chromeos/x11/display_util_x11_unittest.cc", |
189 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 190 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
190 "display_change_notifier_unittest.cc", | 191 "display_change_notifier_unittest.cc", |
191 "display_list_unittest.cc", | 192 "display_list_unittest.cc", |
192 "display_unittest.cc", | 193 "display_unittest.cc", |
| 194 "fake_display_snapshot_unittests.cc", |
193 "manager/display_layout_builder_unittest.cc", | 195 "manager/display_layout_builder_unittest.cc", |
194 "manager/display_layout_unittest.cc", | 196 "manager/display_layout_unittest.cc", |
195 "manager/display_manager_utilities_unittest.cc", | 197 "manager/display_manager_utilities_unittest.cc", |
196 "manager/managed_display_info_unittest.cc", | 198 "manager/managed_display_info_unittest.cc", |
197 "screen_unittest.cc", | 199 "screen_unittest.cc", |
198 "util/display_util_unittest.cc", | 200 "util/display_util_unittest.cc", |
199 "util/edid_parser_unittest.cc", | 201 "util/edid_parser_unittest.cc", |
200 "win/scaling_util_unittest.cc", | 202 "win/scaling_util_unittest.cc", |
201 "win/screen_win_unittest.cc", | 203 "win/screen_win_unittest.cc", |
202 ] | 204 ] |
(...skipping 25 matching lines...) Expand all Loading... |
228 sources -= [ "display_change_notifier_unittest.cc" ] | 230 sources -= [ "display_change_notifier_unittest.cc" ] |
229 } | 231 } |
230 | 232 |
231 if (is_chromeos && use_ozone) { | 233 if (is_chromeos && use_ozone) { |
232 sources -= [ | 234 sources -= [ |
233 "chromeos/x11/display_util_x11_unittest.cc", | 235 "chromeos/x11/display_util_x11_unittest.cc", |
234 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 236 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
235 ] | 237 ] |
236 } | 238 } |
237 } | 239 } |
OLD | NEW |