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/configure_displays_task.cc", | 10 "chromeos/configure_displays_task.cc", |
11 "chromeos/configure_displays_task.h", | 11 "chromeos/configure_displays_task.h", |
12 "chromeos/display_configurator.cc", | 12 "chromeos/display_configurator.cc", |
13 "chromeos/display_configurator.h", | 13 "chromeos/display_configurator.h", |
14 "chromeos/display_util.cc", | 14 "chromeos/display_util.cc", |
15 "chromeos/display_util.h", | 15 "chromeos/display_util.h", |
16 "chromeos/display_snapshot_virtual.cc", | |
dnicoara
2015/02/24 16:27:06
nit: Keep files in order.
robert.bradford
2015/03/03 19:58:00
Done.
| |
17 "chromeos/display_snapshot_virtual.h", | |
16 "chromeos/ozone/display_configurator_ozone.cc", | 18 "chromeos/ozone/display_configurator_ozone.cc", |
17 "chromeos/update_display_configuration_task.cc", | 19 "chromeos/update_display_configuration_task.cc", |
18 "chromeos/update_display_configuration_task.h", | 20 "chromeos/update_display_configuration_task.h", |
19 "chromeos/x11/display_configurator_x11.cc", | 21 "chromeos/x11/display_configurator_x11.cc", |
20 "chromeos/x11/display_mode_x11.cc", | 22 "chromeos/x11/display_mode_x11.cc", |
21 "chromeos/x11/display_mode_x11.h", | 23 "chromeos/x11/display_mode_x11.h", |
22 "chromeos/x11/display_snapshot_x11.cc", | 24 "chromeos/x11/display_snapshot_x11.cc", |
23 "chromeos/x11/display_snapshot_x11.h", | 25 "chromeos/x11/display_snapshot_x11.h", |
24 "chromeos/x11/display_util_x11.cc", | 26 "chromeos/x11/display_util_x11.cc", |
25 "chromeos/x11/display_util_x11.h", | 27 "chromeos/x11/display_util_x11.h", |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
137 "util/edid_parser_unittest.cc", | 139 "util/edid_parser_unittest.cc", |
138 ] | 140 ] |
139 | 141 |
140 deps = [ | 142 deps = [ |
141 ":test_util", | 143 ":test_util", |
142 "//base", | 144 "//base", |
143 "//base/test:run_all_unittests", | 145 "//base/test:run_all_unittests", |
144 "//testing/gtest", | 146 "//testing/gtest", |
145 "//ui/display/util", | 147 "//ui/display/util", |
146 "//ui/gfx/geometry", | 148 "//ui/gfx/geometry", |
149 "//ui/gfx/gfx_test_support", | |
147 ] | 150 ] |
148 | 151 |
149 if (is_chromeos) { | 152 if (is_chromeos) { |
150 deps += [ | 153 deps += [ |
151 ":display", | 154 ":display", |
152 ":test_support", | 155 ":test_support", |
153 "//base/test:test_support", | 156 "//base/test:test_support", |
154 "//ui/display/types", | 157 "//ui/display/types", |
155 ] | 158 ] |
156 } | 159 } |
157 | 160 |
158 if (use_ozone && is_chromeos) { | 161 if (use_ozone && is_chromeos) { |
159 sources -= [ | 162 sources -= [ |
160 "chromeos/x11/display_util_x11_unittest.cc", | 163 "chromeos/x11/display_util_x11_unittest.cc", |
161 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 164 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
162 ] | 165 ] |
163 } | 166 } |
164 } | 167 } |
OLD | NEW |