| 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/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") |
| 11 import("//ui/base/ui_features.gni") |
| 11 | 12 |
| 12 if (is_android) { | 13 if (is_android) { |
| 13 import("//build/config/android/rules.gni") | 14 import("//build/config/android/rules.gni") |
| 14 } | 15 } |
| 15 | 16 |
| 16 component("accessibility") { | 17 component("accessibility") { |
| 17 sources = [ | 18 sources = [ |
| 18 "ax_action_data.cc", | 19 "ax_action_data.cc", |
| 19 "ax_action_data.h", | 20 "ax_action_data.h", |
| 20 "ax_host_delegate.cc", | 21 "ax_host_delegate.cc", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 42 "ax_tree_data.cc", | 43 "ax_tree_data.cc", |
| 43 "ax_tree_data.h", | 44 "ax_tree_data.h", |
| 44 "ax_tree_id_registry.cc", | 45 "ax_tree_id_registry.cc", |
| 45 "ax_tree_id_registry.h", | 46 "ax_tree_id_registry.h", |
| 46 "ax_tree_serializer.cc", | 47 "ax_tree_serializer.cc", |
| 47 "ax_tree_serializer.h", | 48 "ax_tree_serializer.h", |
| 48 "ax_tree_source.h", | 49 "ax_tree_source.h", |
| 49 "ax_tree_update.h", | 50 "ax_tree_update.h", |
| 50 "platform/ax_android_constants.cc", | 51 "platform/ax_android_constants.cc", |
| 51 "platform/ax_android_constants.h", | 52 "platform/ax_android_constants.h", |
| 52 "platform/ax_platform_node.cc", | 53 "platform/ax_platform_unique_id.cc", |
| 53 "platform/ax_platform_node.h", | 54 "platform/ax_platform_unique_id.h", |
| 54 "platform/ax_platform_node_base.cc", | |
| 55 "platform/ax_platform_node_base.h", | |
| 56 "platform/ax_platform_node_delegate.h", | |
| 57 "platform/ax_platform_node_mac.h", | |
| 58 "platform/ax_platform_node_mac.mm", | |
| 59 "platform/ax_platform_node_win.cc", | |
| 60 "platform/ax_platform_node_win.h", | |
| 61 ] | 55 ] |
| 62 | 56 |
| 57 if (has_native_accessibility) { |
| 58 sources += [ |
| 59 "platform/ax_platform_node.cc", |
| 60 "platform/ax_platform_node.h", |
| 61 "platform/ax_platform_node_base.cc", |
| 62 "platform/ax_platform_node_base.h", |
| 63 "platform/ax_platform_node_delegate.h", |
| 64 "platform/ax_platform_node_mac.h", |
| 65 "platform/ax_platform_node_mac.mm", |
| 66 "platform/ax_platform_node_win.cc", |
| 67 "platform/ax_platform_node_win.h", |
| 68 ] |
| 69 } |
| 70 |
| 63 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ] | 71 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ] |
| 64 | 72 |
| 65 public_deps = [ | 73 public_deps = [ |
| 66 ":ax_gen", | 74 ":ax_gen", |
| 67 "//base", | 75 "//base", |
| 68 "//base:i18n", | 76 "//base:i18n", |
| 69 "//ui/base", | 77 "//ui/base", |
| 70 "//ui/gfx", | 78 "//ui/gfx", |
| 71 "//ui/gfx/geometry", | 79 "//ui/gfx/geometry", |
| 72 "//ui/strings", | 80 "//ui/strings", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 | 117 |
| 110 java_cpp_enum("ax_enumerations_srcjar") { | 118 java_cpp_enum("ax_enumerations_srcjar") { |
| 111 sources = [ | 119 sources = [ |
| 112 "ax_enums.idl", | 120 "ax_enums.idl", |
| 113 ] | 121 ] |
| 114 } | 122 } |
| 115 } | 123 } |
| 116 | 124 |
| 117 static_library("test_support") { | 125 static_library("test_support") { |
| 118 sources = [ | 126 sources = [ |
| 119 "platform/test_ax_node_wrapper.cc", | |
| 120 "platform/test_ax_node_wrapper.h", | |
| 121 "tree_generator.cc", | 127 "tree_generator.cc", |
| 122 "tree_generator.h", | 128 "tree_generator.h", |
| 123 ] | 129 ] |
| 124 | 130 |
| 131 if (is_win) { |
| 132 sources += [ |
| 133 "platform/test_ax_node_wrapper.cc", |
| 134 "platform/test_ax_node_wrapper.h", |
| 135 ] |
| 136 } |
| 137 |
| 125 deps = [ | 138 deps = [ |
| 126 ":accessibility", | 139 ":accessibility", |
| 127 ] | 140 ] |
| 128 } | 141 } |
| 129 | 142 |
| 130 test("accessibility_unittests") { | 143 test("accessibility_unittests") { |
| 131 sources = [ | 144 sources = [ |
| 132 "ax_generated_tree_unittest.cc", | 145 "ax_generated_tree_unittest.cc", |
| 133 "ax_node_position_unittest.cc", | 146 "ax_node_position_unittest.cc", |
| 134 "ax_text_utils_unittest.cc", | 147 "ax_text_utils_unittest.cc", |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 | 182 |
| 170 fuzzer_test("ax_tree_fuzzer") { | 183 fuzzer_test("ax_tree_fuzzer") { |
| 171 sources = [ | 184 sources = [ |
| 172 "ax_tree_fuzzer.cc", | 185 "ax_tree_fuzzer.cc", |
| 173 ] | 186 ] |
| 174 | 187 |
| 175 deps = [ | 188 deps = [ |
| 176 ":accessibility", | 189 ":accessibility", |
| 177 ] | 190 ] |
| 178 } | 191 } |
| OLD | NEW |