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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 import("//third_party/google_input_tools/closure.gni") | 6 import("//third_party/google_input_tools/closure.gni") |
7 import("//third_party/google_input_tools/inputview.gni") | 7 import("//third_party/google_input_tools/inputview.gni") |
8 import("//tools/grit/grit_rule.gni") | 8 import("//tools/grit/grit_rule.gni") |
9 | 9 |
10 component("keyboard") { | 10 component("keyboard") { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 | 86 |
87 build_closure("inputview") { | 87 build_closure("inputview") { |
88 sources = inputview_sources | 88 sources = inputview_sources |
89 target = "$target_gen_dir/resources/inputview.js" | 89 target = "$target_gen_dir/resources/inputview.js" |
90 json_file = "//third_party/google_input_tools/inputview.gypi" | 90 json_file = "//third_party/google_input_tools/inputview.gypi" |
91 sources += [ json_file ] | 91 sources += [ json_file ] |
92 json_sources = "variables.inputview_sources" | 92 json_sources = "variables.inputview_sources" |
93 path = rebase_path("//third_party/google_input_tools") | 93 path = rebase_path("//third_party/google_input_tools") |
94 } | 94 } |
95 | 95 |
96 if (!is_win || link_chrome_on_windows) { | 96 test("keyboard_unittests") { |
97 test("keyboard_unittests") { | 97 sources = [ |
98 sources = [ | 98 "keyboard_controller_unittest.cc", |
99 "keyboard_controller_unittest.cc", | 99 "test/run_all_unittests.cc", |
100 "test/run_all_unittests.cc", | 100 ] |
101 ] | |
102 | 101 |
103 deps = [ | 102 deps = [ |
104 ":keyboard", | 103 ":keyboard", |
105 "//base", | 104 "//base", |
106 "//base/allocator", | 105 "//base/allocator", |
107 "//base/test:test_support", | 106 "//base/test:test_support", |
108 "//content", | 107 "//content", |
109 "//skia", | 108 "//skia", |
110 "//testing/gtest", | 109 "//testing/gtest", |
111 "//ui/aura:test_support", | 110 "//ui/aura:test_support", |
112 "//ui/base", | 111 "//ui/base", |
113 "//ui/base/ime", | 112 "//ui/base/ime", |
114 "//ui/base:test_support", | 113 "//ui/base:test_support", |
115 "//ui/compositor:test_support", | 114 "//ui/compositor:test_support", |
116 "//ui/events:test_support", | 115 "//ui/events:test_support", |
117 "//ui/gfx", | 116 "//ui/gfx", |
118 "//ui/gfx/geometry", | 117 "//ui/gfx/geometry", |
119 "//ui/gl", | 118 "//ui/gl", |
120 "//ui/resources:ui_test_pak", | 119 "//ui/resources:ui_test_pak", |
121 "//ui/wm", | 120 "//ui/wm", |
122 "//url", | 121 "//url", |
123 ] | 122 ] |
124 } | |
125 } | 123 } |
OLD | NEW |