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/display_configurator.cc", | 9 "chromeos/display_configurator.cc", |
10 "chromeos/display_configurator.h", | 10 "chromeos/display_configurator.h", |
(...skipping 23 matching lines...) Expand all Loading... |
34 "//ui/gfx/geometry", | 34 "//ui/gfx/geometry", |
35 ] | 35 ] |
36 | 36 |
37 if (use_x11) { | 37 if (use_x11) { |
38 configs += [ | 38 configs += [ |
39 "//build/config/linux:x11", | 39 "//build/config/linux:x11", |
40 "//build/config/linux:xext", | 40 "//build/config/linux:xext", |
41 "//build/config/linux:xi", | 41 "//build/config/linux:xi", |
42 "//build/config/linux:xrandr", | 42 "//build/config/linux:xrandr", |
43 ] | 43 ] |
44 deps += [ | 44 deps += [ "//ui/events/platform" ] |
45 "//ui/events/platform", | |
46 ] | |
47 if (is_chromeos) { | 45 if (is_chromeos) { |
48 sources -= [ "chromeos/ozone/display_configurator_ozone.cc" ] | 46 sources -= [ "chromeos/ozone/display_configurator_ozone.cc" ] |
49 } | 47 } |
50 } | 48 } |
51 | 49 |
52 if (is_chromeos) { | 50 if (is_chromeos) { |
53 deps += [ "//ui/display/types" ] | 51 deps += [ "//ui/display/types" ] |
54 } | 52 } |
55 | 53 |
56 if (use_ozone) { | 54 if (use_ozone) { |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 "//ui/gfx/geometry", | 110 "//ui/gfx/geometry", |
113 ] | 111 ] |
114 | 112 |
115 if (is_chromeos) { | 113 if (is_chromeos) { |
116 deps += [ | 114 deps += [ |
117 ":display", | 115 ":display", |
118 "//ui/display/types", | 116 "//ui/display/types", |
119 ] | 117 ] |
120 } | 118 } |
121 } | 119 } |
OLD | NEW |