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

Side by Side Diff: components/exo/BUILD.gn

Issue 2076013002: exo: Implement wayland gamepad support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@serv
Patch Set: limit polling to when exo windows are focused Created 4 years, 5 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 source_set("exo") { 8 source_set("exo") {
9 sources = [ 9 sources = [
10 "buffer.cc", 10 "buffer.cc",
11 "buffer.h", 11 "buffer.h",
12 "display.cc", 12 "display.cc",
13 "display.h", 13 "display.h",
14 "gamepad.cc",
15 "gamepad.h",
14 "keyboard.cc", 16 "keyboard.cc",
15 "keyboard.h", 17 "keyboard.h",
16 "keyboard_delegate.h", 18 "keyboard_delegate.h",
17 "notification_surface.cc", 19 "notification_surface.cc",
18 "notification_surface.h", 20 "notification_surface.h",
19 "notification_surface_manager.h", 21 "notification_surface_manager.h",
20 "pointer.cc", 22 "pointer.cc",
21 "pointer.h", 23 "pointer.h",
22 "pointer_delegate.h", 24 "pointer_delegate.h",
23 "shared_memory.cc", 25 "shared_memory.cc",
(...skipping 10 matching lines...) Expand all
34 "touch.cc", 36 "touch.cc",
35 "touch.h", 37 "touch.h",
36 "touch_delegate.h", 38 "touch_delegate.h",
37 ] 39 ]
38 40
39 deps = [ 41 deps = [
40 "//ash", 42 "//ash",
41 "//base", 43 "//base",
42 "//cc", 44 "//cc",
43 "//cc/surfaces:surfaces", 45 "//cc/surfaces:surfaces",
46 "//device/gamepad",
44 "//gpu", 47 "//gpu",
45 "//gpu/command_buffer/client:gles2_interface", 48 "//gpu/command_buffer/client:gles2_interface",
46 "//skia", 49 "//skia",
47 "//ui/aura", 50 "//ui/aura",
48 "//ui/compositor", 51 "//ui/compositor",
49 "//ui/gfx", 52 "//ui/gfx",
50 "//ui/gfx/geometry", 53 "//ui/gfx/geometry",
51 "//ui/gl", 54 "//ui/gl",
52 "//ui/views", 55 "//ui/views",
53 "//ui/wm:wm", 56 "//ui/wm:wm",
(...skipping 22 matching lines...) Expand all
76 "//ui/wm:wm", 79 "//ui/wm:wm",
77 ] 80 ]
78 } 81 }
79 82
80 source_set("unit_tests") { 83 source_set("unit_tests") {
81 testonly = true 84 testonly = true
82 85
83 sources = [ 86 sources = [
84 "buffer_unittest.cc", 87 "buffer_unittest.cc",
85 "display_unittest.cc", 88 "display_unittest.cc",
89 "gamepad_unittest.cc",
86 "keyboard_unittest.cc", 90 "keyboard_unittest.cc",
87 "pointer_unittest.cc", 91 "pointer_unittest.cc",
88 "shared_memory_unittest.cc", 92 "shared_memory_unittest.cc",
89 "shell_surface_unittest.cc", 93 "shell_surface_unittest.cc",
90 "sub_surface_unittest.cc", 94 "sub_surface_unittest.cc",
91 "surface_unittest.cc", 95 "surface_unittest.cc",
92 "touch_unittest.cc", 96 "touch_unittest.cc",
93 ] 97 ]
94 98
95 deps = [ 99 deps = [
(...skipping 26 matching lines...) Expand all
122 test("exo_unittests") { 126 test("exo_unittests") {
123 sources = [ 127 sources = [
124 "test/run_all_unittests.cc", 128 "test/run_all_unittests.cc",
125 ] 129 ]
126 130
127 deps = [ 131 deps = [
128 ":unit_tests", 132 ":unit_tests",
129 "//ash:test_support", 133 "//ash:test_support",
130 "//base", 134 "//base",
131 "//base/test:test_support", 135 "//base/test:test_support",
136 "//device/gamepad:test_helpers",
132 ] 137 ]
133 138
134 data_deps = [ 139 data_deps = [
135 "//ash/resources:ash_test_resources_100_percent", 140 "//ash/resources:ash_test_resources_100_percent",
136 "//ash/resources:ash_test_resources_200_percent", 141 "//ash/resources:ash_test_resources_200_percent",
137 "//ash/strings:ash_test_strings", 142 "//ash/strings:ash_test_strings",
138 ] 143 ]
139 144
140 if (use_x11) { 145 if (use_x11) {
141 deps += [ "//tools/xdisplaycheck" ] 146 deps += [ "//tools/xdisplaycheck" ]
142 } 147 }
143 148
144 if (is_linux) { 149 if (is_linux) {
145 deps += [ "//components/exo/wayland:unit_tests" ] 150 deps += [ "//components/exo/wayland:unit_tests" ]
146 } 151 }
147 } 152 }
OLDNEW
« no previous file with comments | « components/exo.gypi ('k') | components/exo/DEPS » ('j') | components/exo/gamepad.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698