| 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 | 6 |
| 7 component("display") { | 7 component("display") { |
| 8 sources = [ | 8 sources = [ |
| 9 "chromeos/configure_displays_task.cc", | 9 "chromeos/configure_displays_task.cc", |
| 10 "chromeos/configure_displays_task.h", | 10 "chromeos/configure_displays_task.h", |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 "//build/config/linux:xrandr", | 48 "//build/config/linux:xrandr", |
| 49 ] | 49 ] |
| 50 deps += [ "//ui/events/platform" ] | 50 deps += [ "//ui/events/platform" ] |
| 51 if (is_chromeos) { | 51 if (is_chromeos) { |
| 52 sources -= [ "chromeos/ozone/display_configurator_ozone.cc" ] | 52 sources -= [ "chromeos/ozone/display_configurator_ozone.cc" ] |
| 53 } | 53 } |
| 54 } | 54 } |
| 55 | 55 |
| 56 if (is_chromeos) { | 56 if (is_chromeos) { |
| 57 deps += [ "//ui/display/types" ] | 57 deps += [ "//ui/display/types" ] |
| 58 if (use_x11) { |
| 59 deps += [ "//ui/gfx/x" ] |
| 60 } |
| 58 } | 61 } |
| 59 | 62 |
| 60 if (use_ozone) { | 63 if (use_ozone) { |
| 61 deps += [ "//ui/ozone" ] | 64 deps += [ "//ui/ozone" ] |
| 62 if (is_chromeos) { | 65 if (is_chromeos) { |
| 63 sources -= [ | 66 sources -= [ |
| 64 "chromeos/x11/display_configurator_x11.cc", | 67 "chromeos/x11/display_configurator_x11.cc", |
| 65 "chromeos/x11/display_mode_x11.cc", | 68 "chromeos/x11/display_mode_x11.cc", |
| 66 "chromeos/x11/display_mode_x11.h", | 69 "chromeos/x11/display_mode_x11.h", |
| 67 "chromeos/x11/display_snapshot_x11.cc", | 70 "chromeos/x11/display_snapshot_x11.cc", |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 ] | 152 ] |
| 150 } | 153 } |
| 151 | 154 |
| 152 if (use_ozone && is_chromeos) { | 155 if (use_ozone && is_chromeos) { |
| 153 sources -= [ | 156 sources -= [ |
| 154 "chromeos/x11/display_util_x11_unittest.cc", | 157 "chromeos/x11/display_util_x11_unittest.cc", |
| 155 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 158 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
| 156 ] | 159 ] |
| 157 } | 160 } |
| 158 } | 161 } |
| OLD | NEW |