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..792fb48068f4dfb462fab43f64ae0b78dd1462fa |
--- /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_filter.h", |
+ "keyboard_lock_host.cc", |
+ "keyboard_lock_host.h", |
+ "keyboard_lock_types.h", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//ui/events:dom_keycode_converter", |
+ ] |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "keyboard_lock_host_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ ":keyboard_lock", |
+ "//base", |
+ "//testing/gtest", |
+ ] |
+} |