blob: 8ac9f98e264dd4102829712116e7c472e55f1aea [file]
# Copyright 2022 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
deps = [
":system-validation-lib-tests",
"ui:system_validation_test_pkg",
"web:dynamic_elements_web_system_validation_test_pkg",
"web:simple_audio_web_system_validation_test_pkg",
"web:simple_png_web_system_validation_test_pkg",
# TODO(https://fxbug.dev/42070261): These should be provided by the Product
# configurations on which these tests run rather than as deps.
# TODO(https://fxbug.dev/42070261): Should these be deps of the individual test
# targets above?
"//src/chromium:web_context_provider_for_test",
]
}
group("tests_with_host_script") {
testonly = true
deps = [
"ui:flatland_view_provider_with_host_script($host_toolchain)",
"web:simple_video_web_with_host_script($host_toolchain)",
]
}
## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ##
#
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
#
#
# AUTO-GENERATED - DO NOT EDIT
#
# The targets below are auto-generated based on the targets defined in the
# BUILD.bazel file from the same directory. If you made changes to targets in
# Bazel, instead of editing this file manually, run:
#
# > fx bazel2gn
#
# Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and
# rerun bazel2gn.
import("//build/tools/bazel2gn/bazel_migration.gni")
rustc_library("system_validation_lib") {
sources = [
"src/app_monitor.rs",
"src/lib.rs",
"src/screencapture.rs",
"src/single_session_trace.rs",
]
edition = "2024"
visibility = [ "//*" ]
deps = [
"//sdk/fidl/fuchsia.tracing.controller:fuchsia.tracing.controller_rust",
"//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_rust",
"//sdk/rust/zx",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-sync",
"//src/lib/mapped-vmo",
"//src/sys/lib/component-events",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:png",
]
}
if (is_fuchsia) {
rustc_test("system_validation_lib_test") {
sources = [
"src/app_monitor.rs",
"src/lib.rs",
"src/screencapture.rs",
"src/single_session_trace.rs",
]
edition = "2024"
deps = [
"//sdk/fidl/fuchsia.tracing.controller:fuchsia.tracing.controller_rust",
"//sdk/fidl/fuchsia.ui.composition:fuchsia.ui.composition_rust",
"//sdk/rust/zx",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/fuchsia-sync",
"//src/lib/mapped-vmo",
"//src/sys/lib/component-events",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:png",
]
}
}
fuchsia_unittest_package("system-validation-lib-tests") {
package_name = "system-validation-lib-tests-gn"
component_name = "system-validation-lib-tests"
deps = [ ":system_validation_lib_test" ]
}