Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: ui/display/BUILD.gn

Issue 2123613002: Add a mojom/StructTrait for display::Display. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comments. Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 "util/display_util_unittest.cc", 188 "util/display_util_unittest.cc",
189 "util/edid_parser_unittest.cc", 189 "util/edid_parser_unittest.cc",
190 "win/scaling_util_unittest.cc", 190 "win/scaling_util_unittest.cc",
191 "win/screen_win_unittest.cc", 191 "win/screen_win_unittest.cc",
192 ] 192 ]
193 193
194 deps = [ 194 deps = [
195 ":display", 195 ":display",
196 ":test_support", 196 ":test_support",
197 "//base", 197 "//base",
198 "//base/test:run_all_unittests",
199 "//base/test:test_support", 198 "//base/test:test_support",
199 "//mojo/edk/test:run_all_unittests",
200 "//testing/gtest", 200 "//testing/gtest",
201 "//ui/display/types", 201 "//ui/display/types",
202 "//ui/display/util", 202 "//ui/display/util",
203 "//ui/gfx:test_support", 203 "//ui/gfx:test_support",
204 "//ui/gfx/geometry", 204 "//ui/gfx/geometry",
205 ] 205 ]
206 206
207 if (!is_ios) {
208 sources += [ "mojo/display_struct_traits_unittest.cc" ]
209
210 deps += [ "//ui/display/mojo:test_interfaces" ]
211 }
212
207 if (is_chromeos) { 213 if (is_chromeos) {
208 deps += [ ":test_util" ] 214 deps += [ ":test_util" ]
209 } 215 }
210 216
211 if (use_aura) { 217 if (use_aura) {
212 sources -= [ "screen_unittest.cc" ] 218 sources -= [ "screen_unittest.cc" ]
213 } 219 }
214 220
215 if (is_android) { 221 if (is_android) {
216 # Do not run display_change_notifier_unittest.cc on Android because it 222 # Do not run display_change_notifier_unittest.cc on Android because it
217 # does not compile display_observer.cc 223 # does not compile display_observer.cc
218 sources -= [ "display_change_notifier_unittest.cc" ] 224 sources -= [ "display_change_notifier_unittest.cc" ]
219 } 225 }
220 226
221 if (is_chromeos && use_ozone) { 227 if (is_chromeos && use_ozone) {
222 sources -= [ 228 sources -= [
223 "chromeos/x11/display_util_x11_unittest.cc", 229 "chromeos/x11/display_util_x11_unittest.cc",
224 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", 230 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
225 ] 231 ]
226 } 232 }
227 } 233 }
OLDNEW
« no previous file with comments | « services/ui/test_wm/BUILD.gn ('k') | ui/display/DEPS » ('j') | ui/display/mojo/display.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698