blob: d7843b684bb64b0740f1a32948626e30ae2e0aac [file] [log] [blame]
# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//third_party/blink/renderer/modules/modules.gni")
blink_modules_sources("accessibility") {
sources = [
"aria_notification.cc",
"aria_notification.h",
"ax_enums.cc",
"ax_enums.h",
"ax_image_map_link.cc",
"ax_image_map_link.h",
"ax_inline_text_box.cc",
"ax_inline_text_box.h",
"ax_layout_object.cc",
"ax_layout_object.h",
"ax_list_box.cc",
"ax_list_box.h",
"ax_list_box_option.cc",
"ax_list_box_option.h",
"ax_media_control.cc",
"ax_media_control.h",
"ax_media_element.cc",
"ax_media_element.h",
"ax_menu_list.cc",
"ax_menu_list.h",
"ax_menu_list_option.cc",
"ax_menu_list_option.h",
"ax_menu_list_popup.cc",
"ax_menu_list_popup.h",
"ax_mock_object.cc",
"ax_mock_object.h",
"ax_node_object.cc",
"ax_node_object.h",
"ax_object.cc",
"ax_object.h",
"ax_object_cache_impl.cc",
"ax_object_cache_impl.h",
"ax_position.cc",
"ax_position.h",
"ax_progress_indicator.cc",
"ax_progress_indicator.h",
"ax_range.cc",
"ax_range.h",
"ax_relation_cache.cc",
"ax_relation_cache.h",
"ax_selection.cc",
"ax_selection.h",
"ax_slider.cc",
"ax_slider.h",
"ax_sparse_attribute_setter.cc",
"ax_sparse_attribute_setter.h",
"ax_validation_message.cc",
"ax_validation_message.h",
"ax_virtual_object.cc",
"ax_virtual_object.h",
"blink_ax_tree_source.cc",
"blink_ax_tree_source.h",
"inspector_accessibility_agent.cc",
"inspector_accessibility_agent.h",
"inspector_type_builder_helper.cc",
"inspector_type_builder_helper.h",
]
deps = [
"//build:chromeos_buildflags",
"//third_party/blink/public/strings:strings_grit",
"//third_party/blink/renderer/modules/media_controls:media_controls",
"//third_party/blink/renderer/modules/permissions:permissions",
"//ui/accessibility",
"//ui/accessibility:ax_base",
"//ui/accessibility:ax_enums_mojo_blink",
]
# The modules/accessibility/ depends closely on core/ --
# include the core pch for faster Windows compilation times.
configs += [ "//third_party/blink/renderer/core:blink_core_pch" ]
if (is_debug || dcheck_always_on) {
sources += [
"ax_debug_utils.cc",
"ax_debug_utils.h",
]
}
if (is_android) {
defines = [ " REDUCE_AX_INLINE_TEXTBOXES " ]
}
}