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

Unified Diff: components/keyboard_lock/BUILD.gn

Issue 2815023002: [System-Keyboard-Lock] Add KeyboardLockHost and KeyEventInterceptor (Closed)
Patch Set: Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: components/keyboard_lock/BUILD.gn
diff --git a/components/keyboard_lock/BUILD.gn b/components/keyboard_lock/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..93d0fdd913f92ba8f1557d06baa334cd68615ac0
--- /dev/null
+++ b/components/keyboard_lock/BUILD.gn
@@ -0,0 +1,30 @@
+# 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.
+
+static_library("keyboard_lock") {
+ sources = [
+ "key_event_interceptor.h",
+ "key_event_interceptor_installer.cc",
+ "key_event_interceptor_installer.h",
+ "keyboard_lock_host.cc",
+ "keyboard_lock_host.h",
+ ]
+
+ deps = [
+ "//base",
+ "//ui/events:event_constants",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "keyboard_lock_host_unittest.cc",
+ ]
+
+ deps = [
+ ":keyboard_lock",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698