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

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

Issue 2852763002: Added a system caret used for accessibility on Windows. (Closed)
Patch Set: Fixed formatting. Created 3 years, 7 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("//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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 "ax_tree_source.h", 49 "ax_tree_source.h",
50 "ax_tree_update.h", 50 "ax_tree_update.h",
51 "platform/ax_android_constants.cc", 51 "platform/ax_android_constants.cc",
52 "platform/ax_android_constants.h", 52 "platform/ax_android_constants.h",
53 "platform/ax_platform_unique_id.cc", 53 "platform/ax_platform_unique_id.cc",
54 "platform/ax_platform_unique_id.h", 54 "platform/ax_platform_unique_id.h",
55 ] 55 ]
56 56
57 if (has_native_accessibility) { 57 if (has_native_accessibility) {
58 sources += [ 58 sources += [
59 "platform/ax_fake_caret_win.cc",
60 "platform/ax_fake_caret_win.h",
61 "platform/ax_platform_node.cc", 59 "platform/ax_platform_node.cc",
62 "platform/ax_platform_node.h", 60 "platform/ax_platform_node.h",
63 "platform/ax_platform_node_base.cc", 61 "platform/ax_platform_node_base.cc",
64 "platform/ax_platform_node_base.h", 62 "platform/ax_platform_node_base.h",
65 "platform/ax_platform_node_delegate.h", 63 "platform/ax_platform_node_delegate.h",
66 "platform/ax_platform_node_mac.h", 64 "platform/ax_platform_node_mac.h",
67 "platform/ax_platform_node_mac.mm", 65 "platform/ax_platform_node_mac.mm",
68 "platform/ax_platform_node_win.cc", 66 "platform/ax_platform_node_win.cc",
69 "platform/ax_platform_node_win.h", 67 "platform/ax_platform_node_win.h",
70 ] 68 ]
71 } 69 }
72 70
73 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ] 71 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ]
74 72
75 public_deps = [ 73 public_deps = [
76 ":ax_gen", 74 ":ax_gen",
77 "//base", 75 "//base",
78 "//base:i18n", 76 "//base:i18n",
79 "//ui/base", 77 "//ui/base",
80 "//ui/gfx", 78 "//ui/gfx",
81 "//ui/gfx/geometry", 79 "//ui/gfx/geometry",
82 "//ui/strings", 80 "//ui/strings",
83 ] 81 ]
84 82
85 if (is_win) { 83 if (is_win) {
86 public_deps += [ "//third_party/iaccessible2" ] 84 public_deps += [ "//third_party/iaccessible2" ]
87 libs = [ "oleacc.lib" ]
88 } 85 }
89 86
90 if (is_mac) { 87 if (is_mac) {
91 libs = [ 88 libs = [
92 "AppKit.framework", 89 "AppKit.framework",
93 "Foundation.framework", 90 "Foundation.framework",
94 ] 91 ]
95 } 92 }
96 93
97 if (use_atk) { 94 if (use_atk) {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 191
195 fuzzer_test("ax_tree_fuzzer") { 192 fuzzer_test("ax_tree_fuzzer") {
196 sources = [ 193 sources = [
197 "ax_tree_fuzzer.cc", 194 "ax_tree_fuzzer.cc",
198 ] 195 ]
199 196
200 deps = [ 197 deps = [
201 ":accessibility", 198 ":accessibility",
202 ] 199 ]
203 } 200 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698