OLD | NEW |
---|---|
(Empty) | |
1 # Copyright 2017 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 import("//ui/ozone/ozone.gni") | |
7 | |
8 assert(is_chromeos) | |
9 | |
10 component("events") { | |
sadrul
2017/03/14 01:15:41
Can this be a source_set instead?
Peng
2017/03/14 16:06:52
Done.
| |
11 output_name = "ui_chromeos_events" | |
12 sources = [ | |
13 "event_rewriter.cc", | |
14 "event_rewriter.h", | |
15 "pref_names.cc", | |
16 "pref_names.h", | |
17 ] | |
18 defines = [ "UI_CHROMEOS_IMPLEMENTATION" ] | |
sadrul
2017/03/14 01:15:41
Probably don't need this if this becomes a source_
Peng
2017/03/14 16:06:52
Done.
| |
19 deps = [ | |
20 "//base", | |
21 "//chromeos:chromeos", | |
sadrul
2017/03/14 01:15:41
Just //chromeos
Peng
2017/03/14 16:06:52
Done.
| |
22 "//ui/base/ime", | |
23 "//ui/events", | |
24 "//ui/events:dom_keycode_converter", | |
25 "//ui/events/devices", | |
26 ] | |
27 if (use_x11 || ozone_platform_x11) { | |
28 deps += [ | |
29 "//ui/base/x", | |
30 "//ui/events/keycodes:x11", | |
31 ] | |
32 } | |
33 } | |
OLD | NEW |