| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 "win/scaling_util.h", | 67 "win/scaling_util.h", |
| 68 "win/screen_win.cc", | 68 "win/screen_win.cc", |
| 69 "win/screen_win.h", | 69 "win/screen_win.h", |
| 70 "win/screen_win_display.cc", | 70 "win/screen_win_display.cc", |
| 71 "win/screen_win_display.h", | 71 "win/screen_win_display.h", |
| 72 ] | 72 ] |
| 73 | 73 |
| 74 defines = [ "DISPLAY_IMPLEMENTATION" ] | 74 defines = [ "DISPLAY_IMPLEMENTATION" ] |
| 75 | 75 |
| 76 public_deps = [ | 76 public_deps = [ |
| 77 "//ui/display/types", |
| 77 "//ui/gfx:gfx", | 78 "//ui/gfx:gfx", |
| 78 ] | 79 ] |
| 79 | 80 |
| 80 deps = [ | 81 deps = [ |
| 81 "//base", | 82 "//base", |
| 82 "//third_party/re2", | 83 "//third_party/re2", |
| 83 "//ui/display/types", | |
| 84 "//ui/display/util", | 84 "//ui/display/util", |
| 85 "//ui/gfx", | 85 "//ui/gfx", |
| 86 "//ui/gfx/geometry", | 86 "//ui/gfx/geometry", |
| 87 ] | 87 ] |
| 88 | 88 |
| 89 if (is_chromeos && use_x11) { | 89 if (is_chromeos && use_x11) { |
| 90 sources += [ | 90 sources += [ |
| 91 "chromeos/x11/display_mode_x11.cc", | 91 "chromeos/x11/display_mode_x11.cc", |
| 92 "chromeos/x11/display_mode_x11.h", | 92 "chromeos/x11/display_mode_x11.h", |
| 93 "chromeos/x11/display_snapshot_x11.cc", | 93 "chromeos/x11/display_snapshot_x11.cc", |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 sources -= [ "display_change_notifier_unittest.cc" ] | 230 sources -= [ "display_change_notifier_unittest.cc" ] |
| 231 } | 231 } |
| 232 | 232 |
| 233 if (is_chromeos && use_ozone) { | 233 if (is_chromeos && use_ozone) { |
| 234 sources -= [ | 234 sources -= [ |
| 235 "chromeos/x11/display_util_x11_unittest.cc", | 235 "chromeos/x11/display_util_x11_unittest.cc", |
| 236 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 236 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 237 ] | 237 ] |
| 238 } | 238 } |
| 239 } | 239 } |
| OLD | NEW |