| 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/config/ui.gni") |
| 6 import("//build/json_schema_api.gni") | 6 import("//build/json_schema_api.gni") |
| 7 import("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 if (is_android) { |
| 9 import("//build/config/android/rules.gni") |
| 10 } |
| 8 | 11 |
| 9 component("accessibility") { | 12 component("accessibility") { |
| 10 sources = [ | 13 sources = [ |
| 11 "ax_node.cc", | 14 "ax_node.cc", |
| 12 "ax_node.h", | 15 "ax_node.h", |
| 13 "ax_node_data.cc", | 16 "ax_node_data.cc", |
| 14 "ax_node_data.h", | 17 "ax_node_data.h", |
| 15 "ax_serializable_tree.cc", | 18 "ax_serializable_tree.cc", |
| 16 "ax_serializable_tree.h", | 19 "ax_serializable_tree.h", |
| 17 "ax_text_utils.cc", | 20 "ax_text_utils.cc", |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 | 62 |
| 60 configs += [ | 63 configs += [ |
| 61 "//build/config/linux:atk", | 64 "//build/config/linux:atk", |
| 62 "//build/config/linux:atk_warnings", | 65 "//build/config/linux:atk_warnings", |
| 63 "//build/config/linux:gconf", | 66 "//build/config/linux:gconf", |
| 64 "//build/config/linux:glib", | 67 "//build/config/linux:glib", |
| 65 ] | 68 ] |
| 66 } | 69 } |
| 67 } | 70 } |
| 68 | 71 |
| 72 if (is_android) { |
| 73 android_library("ui_accessibility_java") { |
| 74 deps = [] |
| 75 srcjar_deps = [ ":ax_enumerations_srcjar" ] |
| 76 } |
| 77 |
| 78 java_cpp_enum("ax_enumerations_srcjar") { |
| 79 sources = [ |
| 80 "ax_enums.idl", |
| 81 ] |
| 82 outputs = [ |
| 83 "org/chromium/ui/accessibility/AXTextStyle.java", |
| 84 ] |
| 85 } |
| 86 } |
| 87 |
| 69 source_set("test_support") { | 88 source_set("test_support") { |
| 70 sources = [ | 89 sources = [ |
| 71 "platform/test_ax_node_wrapper.cc", | 90 "platform/test_ax_node_wrapper.cc", |
| 72 "platform/test_ax_node_wrapper.h", | 91 "platform/test_ax_node_wrapper.h", |
| 73 "tree_generator.cc", | 92 "tree_generator.cc", |
| 74 "tree_generator.h", | 93 "tree_generator.h", |
| 75 ] | 94 ] |
| 76 | 95 |
| 77 deps = [ | 96 deps = [ |
| 78 ":accessibility", | 97 ":accessibility", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 106 json_schema_api("ax_gen") { | 125 json_schema_api("ax_gen") { |
| 107 sources = [ | 126 sources = [ |
| 108 "ax_enums.idl", | 127 "ax_enums.idl", |
| 109 ] | 128 ] |
| 110 deps = [ | 129 deps = [ |
| 111 "//base/third_party/dynamic_annotations", | 130 "//base/third_party/dynamic_annotations", |
| 112 ] | 131 ] |
| 113 root_namespace = "ui" | 132 root_namespace = "ui" |
| 114 schemas = true | 133 schemas = true |
| 115 } | 134 } |
| OLD | NEW |