blob: 4831a7480472b997515ecda2db8e7c6b0be2e8b9 [file] [log] [blame]
# Copyright 2021 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.
# Helper template that generates web runner tests.
#
# Parameters:
# chromium_dir: The directory from which Chromium targets are built.
template("generate_web_runner_tests") {
group(target_name) {
testonly = true
deps = [
# TODO(https://fxbug.dev/42070261): This should be provided by the Product
# configurations on which these tests run rather than as deps.
"${invoker.chromium_dir}:web_context_provider_for_test",
# The tests themselves.
"//src/chromium/web_runner_tests",
# The deps below are necessary on minimal product configs.
"//src/graphics/bin/vulkan_loader",
"//src/ui/bin/text:text_manager",
# This dependency is used to provide a fake `fuchsia.intl.PropertyProvider`.
"//src/testing/fidl/intl_property_manager",
]
}
}