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

Side by Side Diff: ui/events/ozone/BUILD.gn

Issue 1285183008: Ozone integration. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: add missing license header Created 5 years, 4 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
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/ozone/device/udev/device_manager_udev.cc » ('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/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/linux/pkg_config.gni") 6 import("//build/config/linux/pkg_config.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 8 import("//ui/events/xkb.gni")
9 declare_args() {
10 # Optional system libraries.
11 use_xkbcommon = false
12 }
13 9
14 if (use_xkbcommon) { 10 if (use_xkbcommon) {
15 pkg_config("xkbcommon") { 11 pkg_config("xkbcommon") {
16 packages = [ "xkbcommon" ] 12 packages = [ "xkbcommon" ]
17 } 13 }
18 } 14 }
19 15
20 component("events_ozone") { 16 component("events_ozone") {
21 sources = [ 17 sources = [
22 "device/device_event.cc", 18 "device/device_event.cc",
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 deps = [ 111 deps = [
116 ":events_ozone", 112 ":events_ozone",
117 ":events_ozone_layout", 113 ":events_ozone_layout",
118 "//base", 114 "//base",
119 "//ui/events", 115 "//ui/events",
120 "//ui/events:dom_keycode_converter", 116 "//ui/events:dom_keycode_converter",
121 "//ui/events:events_base", 117 "//ui/events:events_base",
122 "//ui/events/devices", 118 "//ui/events/devices",
123 "//ui/events/platform", 119 "//ui/events/platform",
124 "//ui/gfx", 120 "//ui/gfx",
121 "//ui/ozone:ozone_base",
125 ] 122 ]
126 123
127 public_configs = [ ":evdev" ] 124 public_configs = [ ":evdev" ]
128 } 125 }
129 126
130 config("events_ozone_layout_config") { 127 config("events_ozone_layout_config") {
131 if (use_xkbcommon) { 128 if (use_xkbcommon) {
132 defines = [ "USE_XKBCOMMON" ] 129 defines = [ "USE_XKBCOMMON" ]
133 } 130 }
134 } 131 }
(...skipping 11 matching lines...) Expand all
146 "layout/stub/stub_keyboard_layout_engine.cc", 143 "layout/stub/stub_keyboard_layout_engine.cc",
147 "layout/stub/stub_keyboard_layout_engine.h", 144 "layout/stub/stub_keyboard_layout_engine.h",
148 ] 145 ]
149 146
150 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ] 147 defines = [ "EVENTS_OZONE_LAYOUT_IMPLEMENTATION" ]
151 148
152 deps = [ 149 deps = [
153 "//base", 150 "//base",
154 "//ui/events:dom_keycode_converter", 151 "//ui/events:dom_keycode_converter",
155 "//ui/events:events_base", 152 "//ui/events:events_base",
153 "//ui/ozone:ozone_base",
156 ] 154 ]
157 155
158 public_configs = [ ":events_ozone_layout_config" ] 156 public_configs = [ ":events_ozone_layout_config" ]
159 } 157 }
OLDNEW
« no previous file with comments | « ui/events/event.cc ('k') | ui/events/ozone/device/udev/device_manager_udev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698