Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(396)

Side by Side Diff: ui/display/manager/BUILD.gn

Issue 2540313002: Split //ui/display and create //ui/display/manager. (Closed)
Patch Set: Fix X11. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/ui.gni")
6
7 component("manager") {
8 sources = [
9 "chromeos/apply_content_protection_task.cc",
10 "chromeos/apply_content_protection_task.h",
11 "chromeos/configure_displays_task.cc",
12 "chromeos/configure_displays_task.h",
13 "chromeos/display_configurator.cc",
14 "chromeos/display_configurator.h",
15 "chromeos/display_layout_manager.h",
16 "chromeos/display_snapshot_virtual.cc",
17 "chromeos/display_snapshot_virtual.h",
18 "chromeos/display_util.cc",
19 "chromeos/display_util.h",
20 "chromeos/query_content_protection_task.cc",
21 "chromeos/query_content_protection_task.h",
22 "chromeos/touchscreen_util.cc",
23 "chromeos/touchscreen_util.h",
24 "chromeos/update_display_configuration_task.cc",
25 "chromeos/update_display_configuration_task.h",
26 "display_layout.cc",
27 "display_layout.h",
28 "display_layout_builder.cc",
29 "display_layout_builder.h",
30 "display_layout_store.cc",
31 "display_layout_store.h",
32 "display_manager.cc",
33 "display_manager.h",
34 "display_manager_export.h",
35 "display_manager_utilities.cc",
36 "display_manager_utilities.h",
37 "managed_display_info.cc",
38 "managed_display_info.h",
39 ]
40
41 public_deps = [
42 "//ui/display",
43 ]
44
45 deps = [
46 "//base",
47 "//ui/base",
48 "//ui/display/util",
49 "//ui/events/devices",
50 ]
51
52 defines = [ "DISPLAY_MANAGER_IMPLEMENTATION" ]
53
54 if (use_x11) {
55 deps += [ "//ui/gfx/x" ]
56 }
57
58 if (is_chromeos && use_x11) {
59 sources += [
60 "chromeos/x11/display_mode_x11.cc",
61 "chromeos/x11/display_mode_x11.h",
62 "chromeos/x11/display_snapshot_x11.cc",
63 "chromeos/x11/display_snapshot_x11.h",
64 "chromeos/x11/display_util_x11.cc",
65 "chromeos/x11/display_util_x11.h",
66 "chromeos/x11/native_display_delegate_x11.cc",
67 "chromeos/x11/native_display_delegate_x11.h",
68 "chromeos/x11/native_display_event_dispatcher_x11.cc",
69 "chromeos/x11/native_display_event_dispatcher_x11.h",
70 ]
71
72 configs += [
73 "//build/config/linux:x11",
74 "//build/config/linux:xext",
75 "//build/config/linux:xi",
76 "//build/config/linux:xrandr",
77 ]
78
79 deps += [ "//ui/events/platform" ]
80 }
81 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698