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

Side by Side Diff: ui/accessibility/BUILD.gn

Issue 2852763002: Added a system caret used for accessibility on Windows. (Closed)
Patch Set: Added a fake caret for accessibility. Created 3 years, 6 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 unified diff | Download patch
OLDNEW
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("//build/config/linux/pkg_config.gni") 5 import("//build/config/linux/pkg_config.gni")
6 import("//build/config/features.gni") 6 import("//build/config/features.gni")
7 import("//build/config/ui.gni") 7 import("//build/config/ui.gni")
8 import("//testing/libfuzzer/fuzzer_test.gni") 8 import("//testing/libfuzzer/fuzzer_test.gni")
9 import("//testing/test.gni") 9 import("//testing/test.gni")
10 import("//tools/json_schema_compiler/json_schema_api.gni") 10 import("//tools/json_schema_compiler/json_schema_api.gni")
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 130 }
131 131
132 java_cpp_enum("ax_enumerations_srcjar") { 132 java_cpp_enum("ax_enumerations_srcjar") {
133 sources = [ 133 sources = [
134 "ax_enums.idl", 134 "ax_enums.idl",
135 ] 135 ]
136 } 136 }
137 } 137 }
138 138
139 static_library("test_support") { 139 static_library("test_support") {
140 testonly = true
140 sources = [ 141 sources = [
141 "tree_generator.cc", 142 "tree_generator.cc",
142 "tree_generator.h", 143 "tree_generator.h",
143 ] 144 ]
144 145
145 if (is_win) { 146 if (is_win) {
146 sources += [ 147 sources += [
147 "platform/test_ax_node_wrapper.cc", 148 "platform/test_ax_node_wrapper.cc",
148 "platform/test_ax_node_wrapper.h", 149 "platform/test_ax_node_wrapper.h",
149 ] 150 ]
150 } 151 }
151 152
152 deps = [ 153 deps = [
153 ":accessibility", 154 ":accessibility",
154 ] 155 ]
155 } 156 }
156 157
157 test("accessibility_unittests") { 158 test("accessibility_unittests") {
159 testonly = true
158 sources = [ 160 sources = [
159 "ax_generated_tree_unittest.cc", 161 "ax_generated_tree_unittest.cc",
160 "ax_node_position_unittest.cc", 162 "ax_node_position_unittest.cc",
161 "ax_text_utils_unittest.cc", 163 "ax_text_utils_unittest.cc",
162 "ax_tree_combiner_unittest.cc", 164 "ax_tree_combiner_unittest.cc",
163 "ax_tree_serializer_unittest.cc", 165 "ax_tree_serializer_unittest.cc",
164 "ax_tree_unittest.cc", 166 "ax_tree_unittest.cc",
167 "platform/ax_fake_caret_win_interactive_uitest.cc",
165 "platform/ax_platform_node_win_unittest.cc", 168 "platform/ax_platform_node_win_unittest.cc",
166 ] 169 ]
167 170
168 deps = [ 171 deps = [
169 ":accessibility", 172 ":accessibility",
170 ":ax_gen", 173 ":ax_gen",
171 ":test_support", 174 ":test_support",
172 "//base", 175 "//base",
173 "//base/test:run_all_unittests", 176 "//base/test:run_all_unittests",
174 "//skia", 177 "//skia",
175 "//testing/gtest", 178 "//testing/gtest",
176 "//ui/base", 179 "//ui/base",
177 "//ui/gfx", 180 "//ui/gfx",
178 "//ui/gfx/geometry", 181 "//ui/gfx/geometry",
179 ] 182 ]
180 183
181 if (is_win) { 184 if (is_win) {
182 deps += [ "//third_party/iaccessible2" ] 185 deps += [
186 "//third_party/iaccessible2",
187 "//ui/views/:test_support",
188 ]
189 libs = [ "oleacc.lib" ]
183 } 190 }
184 } 191 }
185 192
186 json_schema_api("ax_gen") { 193 json_schema_api("ax_gen") {
187 sources = [ 194 sources = [
188 "ax_enums.idl", 195 "ax_enums.idl",
189 ] 196 ]
190 deps = [ 197 deps = [
191 "//base/third_party/dynamic_annotations", 198 "//base/third_party/dynamic_annotations",
192 ] 199 ]
193 root_namespace = "ui" 200 root_namespace = "ui"
194 schemas = true 201 schemas = true
195 } 202 }
196 203
197 fuzzer_test("ax_tree_fuzzer") { 204 fuzzer_test("ax_tree_fuzzer") {
198 sources = [ 205 sources = [
199 "ax_tree_fuzzer.cc", 206 "ax_tree_fuzzer.cc",
200 ] 207 ]
201 208
202 deps = [ 209 deps = [
203 ":accessibility", 210 ":accessibility",
204 ] 211 ]
205 } 212 }
OLDNEW
« no previous file with comments | « no previous file | ui/accessibility/DEPS » ('j') | ui/accessibility/platform/ax_fake_caret_win_interactive_uitest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698