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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 deps = [ | 161 deps = [ |
162 ":display", | 162 ":display", |
163 ":display_manager_test_api", | 163 ":display_manager_test_api", |
164 ":test_support", | 164 ":test_support", |
165 "//base", | 165 "//base", |
166 "//base/test:test_support", | 166 "//base/test:test_support", |
167 "//mojo/edk/test:run_all_unittests", | 167 "//mojo/edk/test:run_all_unittests", |
168 "//testing/gmock", | 168 "//testing/gmock", |
169 "//testing/gtest", | 169 "//testing/gtest", |
170 "//ui/display/manager", | 170 "//ui/display/manager", |
171 "//ui/display/mojo:test_interfaces", | 171 "//ui/display/mojo:interfaces", |
172 "//ui/display/types", | 172 "//ui/display/types", |
173 "//ui/display/util", | 173 "//ui/display/util", |
174 "//ui/events/devices", | 174 "//ui/events/devices", |
175 "//ui/gfx:test_support", | 175 "//ui/gfx:test_support", |
176 "//ui/gfx/geometry", | 176 "//ui/gfx/geometry", |
177 ] | 177 ] |
178 | 178 |
179 if (is_android) { | 179 if (is_android) { |
180 # 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 |
181 # does not compile display_observer.cc | 181 # does not compile display_observer.cc |
182 sources -= [ "display_change_notifier_unittest.cc" ] | 182 sources -= [ "display_change_notifier_unittest.cc" ] |
183 } | 183 } |
184 | 184 |
185 if (is_chromeos && use_x11) { | 185 if (is_chromeos && use_x11) { |
186 sources += [ | 186 sources += [ |
187 "manager/chromeos/x11/display_util_x11_unittest.cc", | 187 "manager/chromeos/x11/display_util_x11_unittest.cc", |
188 "manager/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 188 "manager/chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
189 ] | 189 ] |
190 } | 190 } |
191 } | 191 } |
OLD | NEW |