Chromium Code Reviews| Index: ui/chromeos/events/BUILD.gn |
| diff --git a/ui/chromeos/events/BUILD.gn b/ui/chromeos/events/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..90b4f31f68058808601b4c27bf875105a5cf5155 |
| --- /dev/null |
| +++ b/ui/chromeos/events/BUILD.gn |
| @@ -0,0 +1,33 @@ |
| +# Copyright 2017 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//build/config/ui.gni") |
| +import("//ui/ozone/ozone.gni") |
| + |
| +assert(is_chromeos) |
| + |
| +component("events") { |
|
sadrul
2017/03/14 01:15:41
Can this be a source_set instead?
Peng
2017/03/14 16:06:52
Done.
|
| + output_name = "ui_chromeos_events" |
| + sources = [ |
| + "event_rewriter.cc", |
| + "event_rewriter.h", |
| + "pref_names.cc", |
| + "pref_names.h", |
| + ] |
| + 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.
|
| + deps = [ |
| + "//base", |
| + "//chromeos:chromeos", |
|
sadrul
2017/03/14 01:15:41
Just //chromeos
Peng
2017/03/14 16:06:52
Done.
|
| + "//ui/base/ime", |
| + "//ui/events", |
| + "//ui/events:dom_keycode_converter", |
| + "//ui/events/devices", |
| + ] |
| + if (use_x11 || ozone_platform_x11) { |
| + deps += [ |
| + "//ui/base/x", |
| + "//ui/events/keycodes:x11", |
| + ] |
| + } |
| +} |