| 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:gconf", |
| 63 "//build/config/linux:glib", |
| 64 ] |
| 65 |
| 66 if (is_clang) { |
| 67 # glib uses the pre-c++11 typedef-as-static_assert hack. |
| 68 cflags = [ "-Wno-unused-local-typedefs" ] |
| 69 } |
| 70 } |
| 50 } | 71 } |
| 51 | 72 |
| 52 source_set("test_support") { | 73 source_set("test_support") { |
| 53 sources = [ | 74 sources = [ |
| 54 "platform/test_ax_node_wrapper.cc", | 75 "platform/test_ax_node_wrapper.cc", |
| 55 "platform/test_ax_node_wrapper.h", | 76 "platform/test_ax_node_wrapper.h", |
| 56 "tree_generator.cc", | 77 "tree_generator.cc", |
| 57 "tree_generator.h", | 78 "tree_generator.h", |
| 58 ] | 79 ] |
| 59 | 80 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 89 json_schema_api("ax_gen") { | 110 json_schema_api("ax_gen") { |
| 90 sources = [ | 111 sources = [ |
| 91 "ax_enums.idl", | 112 "ax_enums.idl", |
| 92 ] | 113 ] |
| 93 deps = [ | 114 deps = [ |
| 94 "//base/third_party/dynamic_annotations", | 115 "//base/third_party/dynamic_annotations", |
| 95 ] | 116 ] |
| 96 root_namespace = "ui" | 117 root_namespace = "ui" |
| 97 schemas = true | 118 schemas = true |
| 98 } | 119 } |
| OLD | NEW |