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

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

Issue 2271893002: Creates AXPosition to uniquely identify a position in the accessibility tree (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added test skeleton. Created 4 years, 2 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("//build/json_schema_api.gni") 8 import("//build/json_schema_api.gni")
9 import("//testing/libfuzzer/fuzzer_test.gni") 9 import("//testing/libfuzzer/fuzzer_test.gni")
10 import("//testing/test.gni") 10 import("//testing/test.gni")
11 if (is_android) { 11 if (is_android) {
12 import("//build/config/android/rules.gni") 12 import("//build/config/android/rules.gni")
13 } 13 }
14 14
15 component("accessibility") { 15 component("accessibility") {
16 sources = [ 16 sources = [
17 "ax_node.cc", 17 "ax_node.cc",
18 "ax_node.h", 18 "ax_node.h",
19 "ax_node_data.cc", 19 "ax_node_data.cc",
20 "ax_node_data.h", 20 "ax_node_data.h",
21 "ax_position.cc",
22 "ax_position.h",
23 "ax_range.h",
21 "ax_relative_bounds.cc", 24 "ax_relative_bounds.cc",
22 "ax_relative_bounds.h", 25 "ax_relative_bounds.h",
23 "ax_serializable_tree.cc", 26 "ax_serializable_tree.cc",
24 "ax_serializable_tree.h", 27 "ax_serializable_tree.h",
25 "ax_text_utils.cc", 28 "ax_text_utils.cc",
26 "ax_text_utils.h", 29 "ax_text_utils.h",
27 "ax_tree.cc", 30 "ax_tree.cc",
28 "ax_tree.h", 31 "ax_tree.h",
29 "ax_tree_combiner.cc", 32 "ax_tree_combiner.cc",
30 "ax_tree_combiner.h", 33 "ax_tree_combiner.h",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 "tree_generator.h", 115 "tree_generator.h",
113 ] 116 ]
114 117
115 deps = [ 118 deps = [
116 ":accessibility", 119 ":accessibility",
117 ] 120 ]
118 } 121 }
119 122
120 test("accessibility_unittests") { 123 test("accessibility_unittests") {
121 sources = [ 124 sources = [
122 "ax_generated_tree_unittest.cc", 125 "ax_generated_tree_unittest.cc",
dmazzoni 2016/10/05 18:15:30 I think you need to add ax_position_unittest here
123 "ax_text_utils_unittest.cc", 126 "ax_text_utils_unittest.cc",
124 "ax_tree_combiner_unittest.cc", 127 "ax_tree_combiner_unittest.cc",
125 "ax_tree_serializer_unittest.cc", 128 "ax_tree_serializer_unittest.cc",
126 "ax_tree_unittest.cc", 129 "ax_tree_unittest.cc",
127 "platform/ax_platform_node_win_unittest.cc", 130 "platform/ax_platform_node_win_unittest.cc",
128 ] 131 ]
129 132
130 deps = [ 133 deps = [
131 ":accessibility", 134 ":accessibility",
132 ":test_support", 135 ":test_support",
(...skipping 24 matching lines...) Expand all
157 160
158 fuzzer_test("ax_tree_fuzzer") { 161 fuzzer_test("ax_tree_fuzzer") {
159 sources = [ 162 sources = [
160 "ax_tree_fuzzer.cc", 163 "ax_tree_fuzzer.cc",
161 ] 164 ]
162 165
163 deps = [ 166 deps = [
164 ":accessibility", 167 ":accessibility",
165 ] 168 ]
166 } 169 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698