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("//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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 "platform/ax_android_constants.cc", | 52 "platform/ax_android_constants.cc", |
53 "platform/ax_android_constants.h", | 53 "platform/ax_android_constants.h", |
54 "platform/ax_platform_unique_id.cc", | 54 "platform/ax_platform_unique_id.cc", |
55 "platform/ax_platform_unique_id.h", | 55 "platform/ax_platform_unique_id.h", |
56 "platform/ax_snapshot_node_android_platform.cc", | 56 "platform/ax_snapshot_node_android_platform.cc", |
57 "platform/ax_snapshot_node_android_platform.h", | 57 "platform/ax_snapshot_node_android_platform.h", |
58 ] | 58 ] |
59 | 59 |
60 if (has_native_accessibility) { | 60 if (has_native_accessibility) { |
61 sources += [ | 61 sources += [ |
| 62 "platform/ax_fake_caret_win.cc", |
| 63 "platform/ax_fake_caret_win.h", |
62 "platform/ax_platform_node.cc", | 64 "platform/ax_platform_node.cc", |
63 "platform/ax_platform_node.h", | 65 "platform/ax_platform_node.h", |
64 "platform/ax_platform_node_base.cc", | 66 "platform/ax_platform_node_base.cc", |
65 "platform/ax_platform_node_base.h", | 67 "platform/ax_platform_node_base.h", |
66 "platform/ax_platform_node_delegate.h", | 68 "platform/ax_platform_node_delegate.h", |
67 "platform/ax_platform_node_mac.h", | 69 "platform/ax_platform_node_mac.h", |
68 "platform/ax_platform_node_mac.mm", | 70 "platform/ax_platform_node_mac.mm", |
69 "platform/ax_platform_node_win.cc", | 71 "platform/ax_platform_node_win.cc", |
70 "platform/ax_platform_node_win.h", | 72 "platform/ax_platform_node_win.h", |
71 "platform/ax_system_caret_win.cc", | |
72 "platform/ax_system_caret_win.h", | |
73 ] | 73 ] |
74 } | 74 } |
75 | 75 |
76 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ] | 76 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ] |
77 | 77 |
78 public_deps = [ | 78 public_deps = [ |
79 ":ax_gen", | 79 ":ax_gen", |
80 "//base", | 80 "//base", |
81 "//base:i18n", | 81 "//base:i18n", |
82 "//ui/base", | 82 "//ui/base", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 } | 131 } |
132 | 132 |
133 java_cpp_enum("ax_enumerations_srcjar") { | 133 java_cpp_enum("ax_enumerations_srcjar") { |
134 sources = [ | 134 sources = [ |
135 "ax_enums.idl", | 135 "ax_enums.idl", |
136 ] | 136 ] |
137 } | 137 } |
138 } | 138 } |
139 | 139 |
140 static_library("test_support") { | 140 static_library("test_support") { |
141 testonly = true | |
142 sources = [ | 141 sources = [ |
143 "tree_generator.cc", | 142 "tree_generator.cc", |
144 "tree_generator.h", | 143 "tree_generator.h", |
145 ] | 144 ] |
146 | 145 |
147 if (is_win) { | 146 if (is_win) { |
148 sources += [ | 147 sources += [ |
149 "platform/test_ax_node_wrapper.cc", | 148 "platform/test_ax_node_wrapper.cc", |
150 "platform/test_ax_node_wrapper.h", | 149 "platform/test_ax_node_wrapper.h", |
151 ] | 150 ] |
152 } | 151 } |
153 | 152 |
154 deps = [ | 153 deps = [ |
155 ":accessibility", | 154 ":accessibility", |
156 ] | 155 ] |
157 } | 156 } |
158 | 157 |
159 test("accessibility_unittests") { | 158 test("accessibility_unittests") { |
160 testonly = true | |
161 sources = [ | 159 sources = [ |
162 "ax_generated_tree_unittest.cc", | 160 "ax_generated_tree_unittest.cc", |
163 "ax_node_position_unittest.cc", | 161 "ax_node_position_unittest.cc", |
164 "ax_text_utils_unittest.cc", | 162 "ax_text_utils_unittest.cc", |
165 "ax_tree_combiner_unittest.cc", | 163 "ax_tree_combiner_unittest.cc", |
166 "ax_tree_serializer_unittest.cc", | 164 "ax_tree_serializer_unittest.cc", |
167 "ax_tree_unittest.cc", | 165 "ax_tree_unittest.cc", |
168 "platform/ax_platform_node_win_unittest.cc", | 166 "platform/ax_platform_node_win_unittest.cc", |
169 ] | 167 ] |
170 | 168 |
171 deps = [ | 169 deps = [ |
172 ":accessibility", | 170 ":accessibility", |
173 ":ax_gen", | 171 ":ax_gen", |
174 ":test_support", | 172 ":test_support", |
175 "//base", | 173 "//base", |
176 "//base/test:run_all_unittests", | 174 "//base/test:run_all_unittests", |
177 "//skia", | 175 "//skia", |
178 "//testing/gtest", | 176 "//testing/gtest", |
179 "//ui/base", | 177 "//ui/base", |
180 "//ui/gfx", | 178 "//ui/gfx", |
181 "//ui/gfx/geometry", | 179 "//ui/gfx/geometry", |
182 ] | 180 ] |
183 | 181 |
184 if (is_win) { | 182 if (is_win) { |
185 deps += [ "//third_party/iaccessible2" ] | 183 deps += [ "//third_party/iaccessible2" ] |
186 libs = [ "oleacc.lib" ] | |
187 } | 184 } |
188 } | 185 } |
189 | 186 |
190 json_schema_api("ax_gen") { | 187 json_schema_api("ax_gen") { |
191 sources = [ | 188 sources = [ |
192 "ax_enums.idl", | 189 "ax_enums.idl", |
193 ] | 190 ] |
194 deps = [ | 191 deps = [ |
195 "//base/third_party/dynamic_annotations", | 192 "//base/third_party/dynamic_annotations", |
196 ] | 193 ] |
197 root_namespace = "ui" | 194 root_namespace = "ui" |
198 schemas = true | 195 schemas = true |
199 } | 196 } |
200 | 197 |
201 fuzzer_test("ax_tree_fuzzer") { | 198 fuzzer_test("ax_tree_fuzzer") { |
202 sources = [ | 199 sources = [ |
203 "ax_tree_fuzzer.cc", | 200 "ax_tree_fuzzer.cc", |
204 ] | 201 ] |
205 | 202 |
206 deps = [ | 203 deps = [ |
207 ":accessibility", | 204 ":accessibility", |
208 ] | 205 ] |
209 } | 206 } |
OLD | NEW |