OLD | NEW |
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/ui.gni") |
5 import("//build/json_schema_api.gni") | 6 import("//build/json_schema_api.gni") |
6 import("//testing/test.gni") | 7 import("//testing/test.gni") |
7 | 8 |
8 component("accessibility") { | 9 component("accessibility") { |
9 sources = [ | 10 sources = [ |
10 "ax_node.cc", | 11 "ax_node.cc", |
11 "ax_node.h", | 12 "ax_node.h", |
12 "ax_node_data.cc", | 13 "ax_node_data.cc", |
13 "ax_node_data.h", | 14 "ax_node_data.h", |
14 "ax_serializable_tree.cc", | 15 "ax_serializable_tree.cc", |
(...skipping 25 matching lines...) Expand all Loading... |
40 public_deps = [ | 41 public_deps = [ |
41 ":ax_gen", | 42 ":ax_gen", |
42 "//base", | 43 "//base", |
43 "//ui/gfx", | 44 "//ui/gfx", |
44 "//ui/gfx/geometry", | 45 "//ui/gfx/geometry", |
45 ] | 46 ] |
46 | 47 |
47 if (is_win) { | 48 if (is_win) { |
48 public_deps += [ "//third_party/iaccessible2" ] | 49 public_deps += [ "//third_party/iaccessible2" ] |
49 } | 50 } |
| 51 |
| 52 if (use_aura && !is_chromeos && is_linux) { |
| 53 sources += [ |
| 54 "platform/atk_util_auralinux.cc", |
| 55 "platform/atk_util_auralinux.h", |
| 56 "platform/ax_platform_node_auralinux.cc", |
| 57 "platform/ax_platform_node_auralinux.h", |
| 58 ] |
| 59 |
| 60 configs += [ |
| 61 "//build/config/linux:atk", |
| 62 "//build/config/linux:atk_warnings", |
| 63 "//build/config/linux:gconf", |
| 64 "//build/config/linux:glib", |
| 65 ] |
| 66 } |
50 } | 67 } |
51 | 68 |
52 source_set("test_support") { | 69 source_set("test_support") { |
53 sources = [ | 70 sources = [ |
54 "platform/test_ax_node_wrapper.cc", | 71 "platform/test_ax_node_wrapper.cc", |
55 "platform/test_ax_node_wrapper.h", | 72 "platform/test_ax_node_wrapper.h", |
56 "tree_generator.cc", | 73 "tree_generator.cc", |
57 "tree_generator.h", | 74 "tree_generator.h", |
58 ] | 75 ] |
59 | 76 |
(...skipping 29 matching lines...) Expand all Loading... |
89 json_schema_api("ax_gen") { | 106 json_schema_api("ax_gen") { |
90 sources = [ | 107 sources = [ |
91 "ax_enums.idl", | 108 "ax_enums.idl", |
92 ] | 109 ] |
93 deps = [ | 110 deps = [ |
94 "//base/third_party/dynamic_annotations", | 111 "//base/third_party/dynamic_annotations", |
95 ] | 112 ] |
96 root_namespace = "ui" | 113 root_namespace = "ui" |
97 schemas = true | 114 schemas = true |
98 } | 115 } |
OLD | NEW |