blob: 5bf5363698e8ce9c64a26b6daab7217155838706 [file] [log] [blame]
# Copyright 2019 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
group("tests") {
testonly = true
public_deps = [ ":view_tests" ]
}
executable("view_tests") {
output_name = "view_tests"
testonly = true
sources = [
"a11y_view_semantics_test.cc",
"view_manager_test.cc",
"view_wrapper_test.cc",
]
public_deps = [ "//sdk/fidl/fuchsia.accessibility.semantics" ]
deps = [
"//garnet/public/lib/gtest",
"//garnet/public/lib/json",
"//sdk/fidl/fuchsia.accessibility",
"//sdk/fidl/fuchsia.sys",
"//sdk/lib/fidl/cpp",
"//sdk/lib/sys/cpp",
"//sdk/lib/sys/cpp/testing:unit",
"//sdk/lib/syslog/cpp",
"//sdk/lib/vfs/cpp",
"//src/lib/fsl",
"//src/lib/fxl/test:gtest_main",
"//src/ui/a11y/bin/a11y_manager/tests/util",
"//src/ui/a11y/lib/annotation",
"//src/ui/a11y/lib/annotation/tests/mocks",
"//src/ui/a11y/lib/semantics",
"//src/ui/a11y/lib/semantics/tests/mocks",
"//src/ui/a11y/lib/view",
"//src/ui/a11y/lib/view/tests/mocks",
"//third_party/googletest:gmock",
# TODO(fxbug.dev/57392): Move it back to //third_party once unification completes.
"//zircon/third_party/rapidjson",
]
# TODO(fxbug.dev/46525): Fix the leaks and remove this.
deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]
# This is a dependency of the semantic tree to perform certain matrix transform operations.
include_dirs = [ "//third_party/glm" ]
}