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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/accessibility/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/BUILD.gn
diff --git a/ui/accessibility/BUILD.gn b/ui/accessibility/BUILD.gn
index 2f8868fcae0ee19cf199b749e034512f23994c60..2d13278140a0aac58fe66a0fcaee9e55312d5b20 100644
--- a/ui/accessibility/BUILD.gn
+++ b/ui/accessibility/BUILD.gn
@@ -31,6 +31,8 @@ component("accessibility") {
"platform/ax_platform_node_delegate.h",
"platform/ax_platform_node_mac.h",
"platform/ax_platform_node_mac.mm",
+ "platform/ax_platform_node_win.h",
+ "platform/ax_platform_node_win.cc",
]
defines = [ "ACCESSIBILITY_IMPLEMENTATION" ]
@@ -41,10 +43,16 @@ component("accessibility") {
"//ui/gfx",
"//ui/gfx/geometry",
]
+
+ if (is_win) {
+ public_deps += [ "//third_party/iaccessible2" ]
+ }
}
source_set("test_support") {
sources = [
+ "platform/test_ax_node_wrapper.cc",
+ "platform/test_ax_node_wrapper.h",
"tree_generator.cc",
"tree_generator.h",
]
@@ -60,6 +68,7 @@ test("accessibility_unittests") {
"ax_text_utils_unittest.cc",
"ax_tree_serializer_unittest.cc",
"ax_tree_unittest.cc",
+ "platform/ax_platform_node_win_unittest.cc",
]
deps = [
@@ -71,6 +80,10 @@ test("accessibility_unittests") {
"//ui/gfx",
"//ui/gfx/geometry",
]
+
+ if (is_win) {
+ deps += [ "//third_party/iaccessible2" ]
+ }
}
json_schema_api("ax_gen") {
« 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