blob: c3da003c7b36f70f858093eeb7d799de16b4814d [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.
import("//build/drivers/check_included_drivers.gni")
import("//build/drivers/create_all_drivers_doc.gni")
# WARNING: Known to infrastructure
#
# This provides metadata in the //:boot_tests schema.
group("boot_tests") {
testonly = true
deps = [ "//bundles/bringup:boot_tests" ]
}
# A collection of all stress tests available in-tree. The tests in this group will be built
# and run on the core.qemu-x64-stress builder.
group("stress-tests") {
testonly = true
public_deps = [
"//src/diagnostics/archivist/tests/stress-test",
"//src/storage/stress-tests",
"//src/sys/component_manager/stress_tests_alt",
"//src/ui/tests/scenic-stress-tests:tests",
"//src/zircon/tests/stress-tests:tests",
]
}
# While we don't necessarily want to run all tests on devices with limited
# flash, we should run a few amlogic-HW-dependent tests on astro and/or
# sherlock. This list is those tests. This list intentionally doesn't include
# all of :tests above.
group("amlogic_hw_dependent_tests") {
testonly = true
public_deps = [
"//src/media/codec:hw_dependent_tests",
"//src/media/stream_processors:hw_dependent_tests",
# Verify communication with amlogic optee.
"//src/security/bin/tee_manager:optee_smoke_test",
]
}
# Binaries that form the base of every single product.
group("bootstrap") {
deps = [ ":bootstrap-zedboot" ]
}
# Binaries that form the base of every single zedboot image.
group("bootstrap-zedboot") {
deps = [ "//src/storage/bundles:bootstrap" ]
}
# Debugging tools installed on the boot image.
group("debugging") {
deps = [
"//build/validate:non_production_tag",
"//src/connectivity/bundles:debugging",
"//src/developer/bundles:debugging",
"//src/devices/bundles:debugging",
"//src/storage/bundles:debugging",
"//src/sys/bundles:debugging",
"//src/zircon/bundles:debugging",
]
}
# Group including all drivers in the fuchsia repo except for templates.
group("drivers-not-templates") {
testonly = true
deps = [
"//examples/drivers",
"//sdk/lib/driver_test_realm/fake_driver:component",
"//src/camera:drivers",
"//src/connectivity/bundles:drivers",
"//src/connectivity/ethernet/drivers/third_party/igc",
"//src/connectivity/overnet/usb:overnet-usb",
"//src/developer/adb:drivers",
"//src/devices/bundles:drivers",
"//src/diagnostics/validator/logs/ddk/log-test-driver",
"//src/graphics/bundles:drivers",
"//src/media/bundles:drivers",
"//src/storage/fvm/driver:driver",
"//src/sys/component_manager/tests/structured_config/client_integration/cpp_driver:receiver_component",
"//src/ui/bundles:drivers",
"//zircon/third_party/dev/ethernet/e1000:e1000",
]
}
# Group including all drivers in the fuchsia repo. Useful for ensuring
# all driver continue to build without needing to build every board.
check_included_drivers("drivers-build-only") {
testonly = true
contains_all_drivers = true
deps = [
":drivers-not-templates",
"//tools/create/goldens/my-driver-cpp:component",
]
}
# Group including all drivers to extract documentation from.
create_all_drivers_doc("create_all_drivers_doc") {
testonly = true
deps = [ ":drivers-not-templates" ]
}