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
3 # found in the LICENSE file.
5 import("//build/json_schema_api.gni")
6 import("//testing/test.gni")
8 component("accessibility") {
14 "ax_serializable_tree.cc",
15 "ax_serializable_tree.h",
20 "ax_tree_serializer.cc",
21 "ax_tree_serializer.h",
27 "platform/ax_platform_node.cc",
28 "platform/ax_platform_node.h",
29 "platform/ax_platform_node_base.cc",
30 "platform/ax_platform_node_base.h",
31 "platform/ax_platform_node_delegate.h",
32 "platform/ax_platform_node_mac.h",
33 "platform/ax_platform_node_mac.mm",
34 "platform/ax_platform_node_win.cc",
35 "platform/ax_platform_node_win.h",
38 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ]
48 public_deps += [ "//third_party/iaccessible2" ]
52 source_set("test_support") {
54 "platform/test_ax_node_wrapper.cc",
55 "platform/test_ax_node_wrapper.h",
65 test("accessibility_unittests") {
67 "ax_generated_tree_unittest.cc",
68 "ax_text_utils_unittest.cc",
69 "ax_tree_serializer_unittest.cc",
70 "ax_tree_unittest.cc",
71 "platform/ax_platform_node_win_unittest.cc",
78 "//base/test:run_all_unittests",
85 deps += [ "//third_party/iaccessible2" ]
89 json_schema_api("ax_gen") {
94 "//base/third_party/dynamic_annotations",