blob: dc4e745ffe9788b6c37569fe8a67d49ebda49beb [file]
# 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(fxbug.dev/119212): This should be provided by the Product
# configurations on which these tests run rather than as deps.
"${invoker.chromium_dir}:uses_web_engine",
# 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",
"//src/ui/scenic",
# This dependency is used to provide a fake `fuchsia.intl.PropertyProvider`.
"//src/testing/fidl/intl_property_manager",
]
}
}