OLD | NEW |
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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//tools/grit/grit_rule.gni") | 6 import("//tools/grit/grit_rule.gni") |
7 | 7 |
8 component("keyboard") { | 8 component("keyboard") { |
9 sources = [ | 9 sources = [ |
10 "keyboard.cc", | 10 "keyboard.cc", |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ] | 76 ] |
77 | 77 |
78 deps = [ | 78 deps = [ |
79 ":keyboard_mojom_bindings", | 79 ":keyboard_mojom_bindings", |
80 ] | 80 ] |
81 } | 81 } |
82 | 82 |
83 copy("resources") { | 83 copy("resources") { |
84 sources = [ "$target_gen_dir/keyboard_resources.pak" ] | 84 sources = [ "$target_gen_dir/keyboard_resources.pak" ] |
85 outputs = [ "$root_out_dir/keyboard_resources.pak" ] | 85 outputs = [ "$root_out_dir/keyboard_resources.pak" ] |
86 deps = [ ":resources_grit" ] | 86 public_deps = [ ":resources_grit" ] |
87 forward_dependent_configs_from = deps | |
88 } | 87 } |
89 | 88 |
90 test("keyboard_unittests") { | 89 test("keyboard_unittests") { |
91 sources = [ | 90 sources = [ |
92 "test/run_all_unittests.cc", | 91 "test/run_all_unittests.cc", |
93 "keyboard_controller_unittest.cc", | 92 "keyboard_controller_unittest.cc", |
94 ] | 93 ] |
95 | 94 |
96 deps = [ | 95 deps = [ |
97 ":keyboard", | 96 ":keyboard", |
98 "//base", | 97 "//base", |
99 "//base/allocator", | 98 "//base/allocator", |
100 "//base/test:test_support", | 99 "//base/test:test_support", |
101 "//content", | 100 "//content", |
102 "//skia", | 101 "//skia", |
103 "//testing/gtest", | 102 "//testing/gtest", |
104 "//ui/aura", | |
105 "//ui/aura:test_support", | 103 "//ui/aura:test_support", |
106 "//ui/base", | 104 "//ui/base:test_support", |
107 "//ui/compositor", | |
108 "//ui/compositor:test_support", | 105 "//ui/compositor:test_support", |
| 106 "//ui/events:test_support", |
109 "//ui/gfx", | 107 "//ui/gfx", |
110 "//ui/gfx/geometry", | 108 "//ui/gfx/geometry", |
111 "//ui/gl", | 109 "//ui/gl", |
112 "//ui/resources:ui_test_pak", | 110 "//ui/resources:ui_test_pak", |
113 "//ui/wm", | 111 "//ui/wm", |
114 "//url", | 112 "//url", |
115 ] | 113 ] |
116 } | 114 } |
OLD | NEW |