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

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

Issue 336863002: Moving input device hotplug event processing outside of ui/display (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove TouchscreenDelegate references from display_unittests Created 6 years, 3 months 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 | Annotate | Revision Log
« no previous file with comments | « ash/touch/touchscreen_util_unittest.cc ('k') | ui/display/chromeos/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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",
12 "chromeos/touchscreen_delegate_impl.h",
13 "chromeos/ozone/display_configurator_ozone.cc", 11 "chromeos/ozone/display_configurator_ozone.cc",
14 "chromeos/x11/display_configurator_x11.cc", 12 "chromeos/x11/display_configurator_x11.cc",
15 "chromeos/x11/display_mode_x11.cc", 13 "chromeos/x11/display_mode_x11.cc",
16 "chromeos/x11/display_mode_x11.h", 14 "chromeos/x11/display_mode_x11.h",
17 "chromeos/x11/display_snapshot_x11.cc", 15 "chromeos/x11/display_snapshot_x11.cc",
18 "chromeos/x11/display_snapshot_x11.h", 16 "chromeos/x11/display_snapshot_x11.h",
19 "chromeos/x11/display_util_x11.cc", 17 "chromeos/x11/display_util_x11.cc",
20 "chromeos/x11/display_util_x11.h", 18 "chromeos/x11/display_util_x11.h",
21 "chromeos/x11/native_display_delegate_x11.cc", 19 "chromeos/x11/native_display_delegate_x11.cc",
22 "chromeos/x11/native_display_delegate_x11.h", 20 "chromeos/x11/native_display_delegate_x11.h",
(...skipping 14 matching lines...) Expand all
37 ] 35 ]
38 36
39 if (use_x11) { 37 if (use_x11) {
40 configs += [ 38 configs += [
41 "//build/config/linux:x11", 39 "//build/config/linux:x11",
42 "//build/config/linux:xext", 40 "//build/config/linux:xext",
43 "//build/config/linux:xi", 41 "//build/config/linux:xi",
44 "//build/config/linux:xrandr", 42 "//build/config/linux:xrandr",
45 ] 43 ]
46 deps += [ 44 deps += [
47 "//ui/events:events_base",
48 "//ui/events/platform", 45 "//ui/events/platform",
49 ] 46 ]
50 } 47 }
51 48
52 if (is_chromeos) { 49 if (is_chromeos) {
53 deps += [ "//ui/display/types" ] 50 deps += [ "//ui/display/types" ]
54 } 51 }
55 52
56 if (use_ozone) { 53 if (use_ozone) {
57 deps += [ "//ui/ozone" ] 54 deps += [ "//ui/ozone" ]
(...skipping 16 matching lines...) Expand all
74 ] 71 ]
75 72
76 if (is_chromeos) { 73 if (is_chromeos) {
77 deps += [ "//ui/display/types" ] 74 deps += [ "//ui/display/types" ]
78 } 75 }
79 } 76 }
80 77
81 test("display_unittests") { 78 test("display_unittests") {
82 sources = [ 79 sources = [
83 "chromeos/display_configurator_unittest.cc", 80 "chromeos/display_configurator_unittest.cc",
84 "chromeos/touchscreen_delegate_impl_unittest.cc",
85 "chromeos/x11/display_util_x11_unittest.cc", 81 "chromeos/x11/display_util_x11_unittest.cc",
86 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc", 82 "chromeos/x11/native_display_event_dispatcher_x11_unittest.cc",
87 "util/display_util_unittest.cc", 83 "util/display_util_unittest.cc",
88 "util/edid_parser_unittest.cc", 84 "util/edid_parser_unittest.cc",
89 ] 85 ]
90 86
91 deps = [ 87 deps = [
92 "//base/test:run_all_unittests", 88 "//base/test:run_all_unittests",
93 "//testing/gtest", 89 "//testing/gtest",
94 "//ui/display/util", 90 "//ui/display/util",
95 "//ui/gfx/geometry", 91 "//ui/gfx/geometry",
96 ] 92 ]
97 93
98 if (is_chromeos) { 94 if (is_chromeos) {
99 deps += [ 95 deps += [
100 ":display", 96 ":display",
101 ":test_util", 97 ":test_util",
102 "//ui/display/types", 98 "//ui/display/types",
103 ] 99 ]
104 } 100 }
105 } 101 }
OLDNEW
« no previous file with comments | « ash/touch/touchscreen_util_unittest.cc ('k') | ui/display/chromeos/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698