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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 ] | 119 ] |
122 } | 120 } |
123 | 121 |
124 if (use_ozone && is_chromeos) { | 122 if (use_ozone && is_chromeos) { |
125 sources -= [ | 123 sources -= [ |
126 "chromeos/x11/display_util_x11_unittest.cc", | 124 "chromeos/x11/display_util_x11_unittest.cc", |
127 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", | 125 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", |
128 ] | 126 ] |
129 } | 127 } |
130 } | 128 } |
OLD | NEW |