OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//extensions/generated_extensions_api.gni") |
| 6 |
| 7 component("accessibility") { |
| 8 sources = [ |
| 9 "ax_node.cc", |
| 10 "ax_node.h", |
| 11 "ax_node_data.cc", |
| 12 "ax_node_data.h", |
| 13 "ax_serializable_tree.cc", |
| 14 "ax_serializable_tree.h", |
| 15 "ax_text_utils.cc", |
| 16 "ax_text_utils.h", |
| 17 "ax_tree.cc", |
| 18 "ax_tree.h", |
| 19 "ax_tree_serializer.cc", |
| 20 "ax_tree_serializer.h", |
| 21 "ax_tree_source.h", |
| 22 "ax_tree_update.cc", |
| 23 "ax_tree_update.h", |
| 24 "ax_view_state.cc", |
| 25 "ax_view_state.h", |
| 26 ] |
| 27 |
| 28 defines = [ "ACCESSIBILITY_IMPLEMENTATION" ] |
| 29 |
| 30 forward_dependent_configs_from = [ ":ax_gen" ] |
| 31 |
| 32 deps = [ |
| 33 ":ax_gen", |
| 34 "//base", |
| 35 "//ui/gfx", |
| 36 "//ui/gfx/geometry", |
| 37 ] |
| 38 } |
| 39 |
| 40 test("accessibility_unittests") { |
| 41 sources = [ |
| 42 "ax_generated_tree_unittest.cc", |
| 43 "ax_tree_serializer_unittest.cc", |
| 44 "ax_tree_unittest.cc", |
| 45 ] |
| 46 |
| 47 deps = [ |
| 48 ":accessibility", |
| 49 "//base", |
| 50 "//base/test:run_all_unittests", |
| 51 "//testing/gtest", |
| 52 "//ui/gfx", |
| 53 "//ui/gfx/geometry", |
| 54 ] |
| 55 } |
| 56 |
| 57 generated_extensions_api("ax_gen") { |
| 58 sources = [ "ax_enums.idl" ] |
| 59 root_namespace = "" |
| 60 impl_dir = "." |
| 61 } |
OLD | NEW |