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

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

Issue 909143003: Re-land: Implement NativeViewAccessibilityWin using AXPlatformNodeWin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update GN build Created 5 years, 9 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
« no previous file with comments | « no previous file | ui/accessibility/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/json_schema_api.gni") 5 import("//build/json_schema_api.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 component("accessibility") { 8 component("accessibility") {
9 sources = [ 9 sources = [
10 "ax_node.cc", 10 "ax_node.cc",
(...skipping 13 matching lines...) Expand all
24 "ax_tree_update.h", 24 "ax_tree_update.h",
25 "ax_view_state.cc", 25 "ax_view_state.cc",
26 "ax_view_state.h", 26 "ax_view_state.h",
27 "platform/ax_platform_node.cc", 27 "platform/ax_platform_node.cc",
28 "platform/ax_platform_node.h", 28 "platform/ax_platform_node.h",
29 "platform/ax_platform_node_base.cc", 29 "platform/ax_platform_node_base.cc",
30 "platform/ax_platform_node_base.h", 30 "platform/ax_platform_node_base.h",
31 "platform/ax_platform_node_delegate.h", 31 "platform/ax_platform_node_delegate.h",
32 "platform/ax_platform_node_mac.h", 32 "platform/ax_platform_node_mac.h",
33 "platform/ax_platform_node_mac.mm", 33 "platform/ax_platform_node_mac.mm",
34 "platform/ax_platform_node_win.h",
35 "platform/ax_platform_node_win.cc",
34 ] 36 ]
35 37
36 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ] 38 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ]
37 39
38 public_deps = [ 40 public_deps = [
39 ":ax_gen", 41 ":ax_gen",
40 "//base", 42 "//base",
41 "//ui/gfx", 43 "//ui/gfx",
42 "//ui/gfx/geometry", 44 "//ui/gfx/geometry",
43 ] 45 ]
46
47 if (is_win) {
48 public_deps += [ "//third_party/iaccessible2" ]
49 }
44 } 50 }
45 51
46 source_set("test_support") { 52 source_set("test_support") {
47 sources = [ 53 sources = [
54 "platform/test_ax_node_wrapper.cc",
55 "platform/test_ax_node_wrapper.h",
48 "tree_generator.cc", 56 "tree_generator.cc",
49 "tree_generator.h", 57 "tree_generator.h",
50 ] 58 ]
51 59
52 deps = [ 60 deps = [
53 ":accessibility", 61 ":accessibility",
54 ] 62 ]
55 } 63 }
56 64
57 test("accessibility_unittests") { 65 test("accessibility_unittests") {
58 sources = [ 66 sources = [
59 "ax_generated_tree_unittest.cc", 67 "ax_generated_tree_unittest.cc",
60 "ax_text_utils_unittest.cc", 68 "ax_text_utils_unittest.cc",
61 "ax_tree_serializer_unittest.cc", 69 "ax_tree_serializer_unittest.cc",
62 "ax_tree_unittest.cc", 70 "ax_tree_unittest.cc",
71 "platform/ax_platform_node_win_unittest.cc",
63 ] 72 ]
64 73
65 deps = [ 74 deps = [
66 ":accessibility", 75 ":accessibility",
67 ":test_support", 76 ":test_support",
68 "//base", 77 "//base",
69 "//base/test:run_all_unittests", 78 "//base/test:run_all_unittests",
70 "//testing/gtest", 79 "//testing/gtest",
71 "//ui/gfx", 80 "//ui/gfx",
72 "//ui/gfx/geometry", 81 "//ui/gfx/geometry",
73 ] 82 ]
83
84 if (is_win) {
85 deps += [ "//third_party/iaccessible2" ]
86 }
74 } 87 }
75 88
76 json_schema_api("ax_gen") { 89 json_schema_api("ax_gen") {
77 sources = [ 90 sources = [
78 "ax_enums.idl", 91 "ax_enums.idl",
79 ] 92 ]
80 deps = [ 93 deps = [
81 "//base/third_party/dynamic_annotations", 94 "//base/third_party/dynamic_annotations",
82 ] 95 ]
83 root_namespace = "ui" 96 root_namespace = "ui"
84 schemas = true 97 schemas = true
85 } 98 }
OLDNEW
« no previous file with comments | « no previous file | ui/accessibility/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698