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", |
11 "chromeos/touchscreen_delegate_impl.cc", | 11 "chromeos/touchscreen_delegate_impl.cc", |
12 "chromeos/touchscreen_delegate_impl.h", | 12 "chromeos/touchscreen_delegate_impl.h", |
13 "chromeos/ozone/display_configurator_ozone.cc", | 13 "chromeos/ozone/display_configurator_ozone.cc", |
14 "chromeos/x11/display_configurator_x11.cc", | 14 "chromeos/x11/display_configurator_x11.cc", |
15 "chromeos/x11/display_mode_x11.cc", | 15 "chromeos/x11/display_mode_x11.cc", |
16 "chromeos/x11/display_mode_x11.h", | 16 "chromeos/x11/display_mode_x11.h", |
17 "chromeos/x11/display_snapshot_x11.cc", | 17 "chromeos/x11/display_snapshot_x11.cc", |
18 "chromeos/x11/display_snapshot_x11.h", | 18 "chromeos/x11/display_snapshot_x11.h", |
19 "chromeos/x11/display_util_x11.cc", | 19 "chromeos/x11/display_util_x11.cc", |
20 "chromeos/x11/display_util_x11.h", | 20 "chromeos/x11/display_util_x11.h", |
21 "chromeos/x11/native_display_delegate_x11.cc", | 21 "chromeos/x11/native_display_delegate_x11.cc", |
22 "chromeos/x11/native_display_delegate_x11.h", | 22 "chromeos/x11/native_display_delegate_x11.h", |
23 "chromeos/x11/native_display_event_dispatcher_x11.cc", | 23 "chromeos/x11/native_display_event_dispatcher_x11.cc", |
24 "chromeos/x11/native_display_event_dispatcher_x11.h", | 24 "chromeos/x11/native_display_event_dispatcher_x11.h", |
25 "chromeos/x11/touchscreen_device_manager_x11.cc", | |
26 "chromeos/x11/touchscreen_device_manager_x11.h", | |
27 "display_export.h", | 25 "display_export.h", |
28 "display_switches.cc", | 26 "display_switches.cc", |
29 "display_switches.h", | 27 "display_switches.h", |
30 ] | 28 ] |
31 | 29 |
32 defines = [ "DISPLAY_IMPLEMENTATION" ] | 30 defines = [ "DISPLAY_IMPLEMENTATION" ] |
33 | 31 |
34 deps = [ | 32 deps = [ |
35 "//base", | 33 "//base", |
36 "//ui/display/util", | 34 "//ui/display/util", |
37 "//ui/gfx", | 35 "//ui/gfx", |
38 "//ui/gfx/geometry", | 36 "//ui/gfx/geometry", |
39 ] | 37 ] |
40 | 38 |
41 if (use_x11) { | 39 if (use_x11) { |
42 configs += [ | 40 configs += [ |
43 "//build/config/linux:x11", | 41 "//build/config/linux:x11", |
44 "//build/config/linux:xext", | 42 "//build/config/linux:xext", |
45 "//build/config/linux:xi", | 43 "//build/config/linux:xi", |
46 "//build/config/linux:xrandr", | 44 "//build/config/linux:xrandr", |
47 ] | 45 ] |
48 deps += [ | 46 deps += [ |
| 47 "//ui/events:events_base", |
49 "//ui/events/platform", | 48 "//ui/events/platform", |
50 ] | 49 ] |
51 } | 50 } |
52 | 51 |
53 if (is_chromeos) { | 52 if (is_chromeos) { |
54 deps += [ "//ui/display/types" ] | 53 deps += [ "//ui/display/types" ] |
55 } | 54 } |
56 | 55 |
57 if (use_ozone) { | 56 if (use_ozone) { |
58 deps += [ "//ui/ozone" ] | 57 deps += [ "//ui/ozone" ] |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 ] | 96 ] |
98 | 97 |
99 if (is_chromeos) { | 98 if (is_chromeos) { |
100 deps += [ | 99 deps += [ |
101 ":display", | 100 ":display", |
102 ":test_util", | 101 ":test_util", |
103 "//ui/display/types", | 102 "//ui/display/types", |
104 ] | 103 ] |
105 } | 104 } |
106 } | 105 } |
OLD | NEW |