blob: 887b84d547c62ed3418a6550ac2c95c620a823ef [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.
# The tests listed in this target will be built by the default build.
group("tests") {
testonly = true
deps = [
"dart:tests",
"fidl:tests",
"python:tests",
"sdk:tests",
"security:tests",
"tools:tests",
"tracer:tests",
]
}
group("deprecated_package") {
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
# This is an allowlist of uses of the legacy package() template.
#
# The new templates and their many benefits are thoroughly documented here:
# https://fuchsia.dev/fuchsia-src/development/components/build
#
# Please don't add new usages of legacy package().
# Please do use the new templates for new targets.
# Please do migrate existing targets to the new templates.
# Please do tag your migrations with: fxbug.dev/65068
#
# Maintainers will accept changes to the allowlist below that support
# refactors, such as moving a legacy target to a different directory.
non_default_checkout_users = [
# This git repo is only checked out when the vulkan-cts attribute is set.
"//third_party/vulkan-cts/fuchsia/*",
"//third_party/vulkan-cts/fuchsia/split-cts/*",
]
visibility = non_default_checkout_users
# To regenerate:
# fx gn refs $(fx get-build-dir) //build:deprecated_package | sed 's|\(.*\):.*|"\1/*",|' | sort | uniq
visibility += [
"//garnet/bin/run_test_component/test/*",
"//garnet/bin/setui/*",
"//garnet/bin/sshd-host/*",
"//garnet/bin/wayland/*",
"//sdk/dart/fuchsia_inspect/test/integration/*",
"//sdk/dart/fuchsia_inspect/test/validator_puppet/*",
"//src/developer/debug/debug_agent/*",
"//src/developer/remote-control/*",
"//src/developer/remote-control/diagnostics-bridge/*",
"//src/developer/remote-control/runner/*",
"//src/graphics/drivers/aml-gpu/*",
"//src/graphics/drivers/misc/goldfish/*",
"//src/graphics/drivers/misc/goldfish_address_space/*",
"//src/graphics/drivers/misc/goldfish_control/*",
"//src/graphics/drivers/msd-img-rgx/tests/integration/*",
"//src/graphics/drivers/msd-img-rgx/tests/unit_tests/*",
"//src/graphics/drivers/msd-vsi-vip/tests/integration/*",
"//src/graphics/drivers/msd-vsi-vip/tests/unit_tests/*",
"//src/graphics/drivers/virtio/*",
"//src/graphics/lib/magma/tests/*",
"//src/intl/intl_services/*",
"//src/intl/intl_services/tests/*",
"//src/lib/ui/carnelian/*",
"//src/lib/vulkan/tests/*",
"//src/sys/pkg/bin/pkgctl/*",
"//src/sys/pkg/bin/update/*",
"//src/sys/pkg/tests/pkg-resolver/*",
"//src/sys/pkg/tests/pkgctl/*",
"//src/sys/pkg/tests/update/*",
"//src/tests/intl/timezone/*",
"//src/ui/examples/escher/*",
"//src/ui/examples/frame-compression/*",
"//src/ui/examples/lab/pose_buffer_presenter/*",
"//src/ui/examples/shadertoy/service/*",
"//src/ui/lib/escher/*",
"//src/ui/scenic/*",
"//src/ui/tests/integration_flutter_tests/embedder/*",
"//src/ui/tests/integration_input_tests/keyboard/*",
"//src/ui/tests/integration_input_tests/scenic/*",
"//src/ui/tests/integration_input_tests/shortcut/*",
"//src/ui/tests/integration_input_tests/touch/*",
"//src/ui/tests/integration_input_tests/touch/cpp-gfx-client/*",
"//src/ui/tests/scenic-stress-tests/*",
"//src/virtualization/bin/guest/*",
"//src/virtualization/lib/guest_interaction/*",
"//src/virtualization/packages/biscotti_guest/linux_runner/*",
"//src/virtualization/tests/*",
"//third_party/Vulkan-Tools/cube/*",
]
}
group("non_hermetic_deps") {
# ________ _________ ________ ________
# |\ ____\|\___ ___\\ __ \|\ __ \
# \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \
# \ \_____ \ \ \ \ \ \ \\\ \ \ ____\
# \|____|\ \ \ \ \ \ \ \\\ \ \ \___|
# ____\_\ \ \ \__\ \ \_______\ \__\
# |\_________\ \|__| \|_______|\|__|
# \|_________|
# This is an allowlist of actions with `hermetic_deps = false`.
#
# Introducing new actions that are non-hermetic is not allowed.
# A cleanup is in progress. See:
# https://fuchsia.dev/fuchsia-src/contribute/open_projects/build/hermetic_actions
#
# For more information about hermetic build actions:
# https://fuchsia.dev/fuchsia-src/development/build/hermetic_actions
#
# Maintainers will accept changes to the allowlist below that support
# refactors, such as moving a legacy target to a different directory.
# To regenerate:
# fx gn refs $(fx get-build-dir) //build:non_hermetic_deps | sed 's|\(.*\):.*|"\1/*",|' | sort | uniq
#
# TODO(shayba): populate the allowlist below once top root causes are fixed.
# Otherwise there will be too much pressure to extend the allowlist.
visibility = [ "*" ]
}
# Build targets that use the legacy zx_library and zx_host_tool templates
# need to depend on the target below and appear in the visibility list.
# Please don't introduce new uses of these wrappers. Rather:
#
# Instead of zx_library, please use one of the following templates:
# - source_set
# - sdk_source_set
# - static_library
# - sdk_static_library
# - shared_library
# - sdk_shared_library
#
# Instead of zx_host_tool, use executable and set host_toolchain as needed.
#
# See: https://fuchsia.dev/fuchsia-src/contribute/open_projects/build/zx_wrappers_deprecation
group("deprecated_zx_wrapper_allowlist") {
visibility = [
":*",
"//sdk/lib/fdio/*",
"//sdk/lib/fit-promise/*",
"//sdk/lib/fit/*",
"//sdk/lib/stdcompat/*",
"//src/bringup/bin/svchost/*",
"//src/connectivity/bluetooth/lib/device-protocol-bt-gatt-svc/*",
"//src/connectivity/openthread/lib/ot-radio/*",
"//src/connectivity/openthread/lib/ot-stack/*",
"//src/devices/block/lib/scsi/*",
"//src/devices/bus/lib/device-protocol-pdev/*",
"//src/devices/bus/lib/device-protocol-platform-device/*",
"//src/devices/bus/lib/virtio/*",
"//src/devices/bus/testing/mock-sdio/*",
"//src/devices/i2c/lib/device-protocol-i2c-channel/*",
"//src/devices/i2c/lib/device-protocol-i2c/*",
"//src/devices/i2c/testing/fake-i2c/*",
"//src/devices/i2c/testing/mock-i2c/*",
"//src/devices/lib/amlogic/*",
"//src/devices/lib/as370/*",
"//src/devices/lib/broadcom/*",
"//src/devices/lib/dev-operation/*",
"//src/devices/lib/dma-buffer/*",
"//src/devices/lib/focaltech/*",
"//src/devices/lib/mmio/*",
"//src/devices/lib/msm8x53/*",
"//src/devices/lib/mt8167/*",
"//src/devices/lib/mt8183/*",
"//src/devices/lib/qcom/*",
"//src/devices/lib/synchronous-executor/*",
"//src/devices/lib/thermal/*",
"//src/devices/lib/ti/*",
"//src/devices/pci/lib/device-protocol-pci/*",
"//src/devices/pci/lib/pci/*",
"//src/devices/rtc/lib/rtc/*",
"//src/devices/sysmem/testing/mock-sysmem/*",
"//src/devices/testing/fake-bti/*",
"//src/devices/testing/fake-dma-buffer/*",
"//src/devices/testing/fake-mmio-reg/*",
"//src/devices/testing/fake-msi/*",
"//src/devices/testing/fake-object/*",
"//src/devices/testing/fake-resource/*",
"//src/devices/testing/fake_ddk/*",
"//src/devices/testing/mock-mmio-reg/*",
"//src/devices/usb/lib/usb/*",
"//src/firmware/lib/abr/*",
"//src/firmware/lib/zbi/*",
"//src/firmware/lib/zircon_boot/*",
"//src/graphics/display/lib/device-protocol-display/*",
"//src/lib/ddk/*",
"//src/lib/ddktl/*",
"//src/lib/framebuffer/*",
"//src/lib/storage/fs_management/*",
"//src/media/audio/lib/simple-audio-stream/*",
"//src/media/audio/lib/simple-codec/*",
"//src/security/kms-stateless/*",
"//src/storage/gpt/*",
"//src/storage/lib/paver/*",
"//src/storage/lib/watchdog/*",
"//src/storage/memfs/*",
"//src/ui/input/testing/fake-hidbus-ifc/*",
"//src/ui/input/testing/mock-hidbus-ifc/*",
"//third_party/android/platform/external/avb/*",
"//tools/fidl/fidlc/*",
"//zircon/kernel/arch/x86/*",
"//zircon/kernel/arch/x86/cpuid/*",
"//zircon/kernel/arch/x86/page_tables/*",
"//zircon/kernel/arch/x86/phys/*",
"//zircon/kernel/dev/coresight/*",
"//zircon/kernel/dev/hw_rng/*",
"//zircon/kernel/dev/interrupt/*",
"//zircon/kernel/dev/iommu/dummy/*",
"//zircon/kernel/dev/iommu/intel/*",
"//zircon/kernel/dev/pcie/*",
"//zircon/kernel/dev/pdev/*",
"//zircon/kernel/dev/pdev/hw_watchdog/*",
"//zircon/kernel/dev/udisplay/*",
"//zircon/kernel/hypervisor/*",
"//zircon/kernel/lib/abi_type_validator/*",
"//zircon/kernel/lib/acpi_lite/*",
"//zircon/kernel/lib/arch/*",
"//zircon/kernel/lib/arch/host/*",
"//zircon/kernel/lib/arch/x86/*",
"//zircon/kernel/lib/boot-options/*",
"//zircon/kernel/lib/cbuf/*",
"//zircon/kernel/lib/cmdline/*",
"//zircon/kernel/lib/console/*",
"//zircon/kernel/lib/counters/*",
"//zircon/kernel/lib/crashlog/*",
"//zircon/kernel/lib/crypto/*",
"//zircon/kernel/lib/debuglog/*",
"//zircon/kernel/lib/devicetree/*",
"//zircon/kernel/lib/efi/*",
"//zircon/kernel/lib/fbl/*",
"//zircon/kernel/lib/fixed_point/*",
"//zircon/kernel/lib/gfx/*",
"//zircon/kernel/lib/gfxconsole/*",
"//zircon/kernel/lib/heap/*",
"//zircon/kernel/lib/heap/cmpctmalloc/*",
"//zircon/kernel/lib/init/*",
"//zircon/kernel/lib/instrumentation/*",
"//zircon/kernel/lib/io/*",
"//zircon/kernel/lib/kpci/*",
"//zircon/kernel/lib/ktl/*",
"//zircon/kernel/lib/ktrace/*",
"//zircon/kernel/lib/libc/*",
"//zircon/kernel/lib/lockup_detector/*",
"//zircon/kernel/lib/memory_limit/*",
"//zircon/kernel/lib/mtrace/*",
"//zircon/kernel/lib/perfmon/*",
"//zircon/kernel/lib/pow2_range_allocator/*",
"//zircon/kernel/lib/root_resource_filter/*",
"//zircon/kernel/lib/special-sections/*",
"//zircon/kernel/lib/syscalls/*",
"//zircon/kernel/lib/topology/*",
"//zircon/kernel/lib/unittest/*",
"//zircon/kernel/lib/user_copy/*",
"//zircon/kernel/lib/userabi/*",
"//zircon/kernel/lib/version/*",
"//zircon/kernel/lib/zxc/*",
"//zircon/kernel/object/*",
"//zircon/kernel/phys/lib/memalloc/*",
"//zircon/kernel/phys/lib/page-table/*",
"//zircon/kernel/phys/test/*",
"//zircon/kernel/platform/pc/*",
"//zircon/kernel/vm/*",
"//zircon/system/ulib/abs_clock/*",
"//zircon/system/ulib/affine/*",
"//zircon/system/ulib/async-default/*",
"//zircon/system/ulib/async-loop/*",
"//zircon/system/ulib/async-testing/*",
"//zircon/system/ulib/async/*",
"//zircon/system/ulib/audio-driver-proto/*",
"//zircon/system/ulib/audio-proto-utils/*",
"//zircon/system/ulib/audio-utils-legacy/*",
"//zircon/system/ulib/audio-utils/*",
"//zircon/system/ulib/backtrace-request/*",
"//zircon/system/ulib/bitmap/*",
"//zircon/system/ulib/block-client/*",
"//zircon/system/ulib/c/*",
"//zircon/system/ulib/chromeos-disk-setup/*",
"//zircon/system/ulib/closure-queue/*",
"//zircon/system/ulib/cmdline/*",
"//zircon/system/ulib/cobalt-client/*",
"//zircon/system/ulib/ddk-platform-defs/*",
"//zircon/system/ulib/debugdata/*",
"//zircon/system/ulib/devmgr-integration-test/*",
"//zircon/system/ulib/devmgr-launcher/*",
"//zircon/system/ulib/disk_inspector/*",
"//zircon/system/ulib/dispatcher-pool/*",
"//zircon/system/ulib/driver-info/*",
"//zircon/system/ulib/driver-integration-test/*",
"//zircon/system/ulib/driver-unit-test/*",
"//zircon/system/ulib/edid/*",
"//zircon/system/ulib/elf-psabi/*",
"//zircon/system/ulib/elf-search/*",
"//zircon/system/ulib/elfload/*",
"//zircon/system/ulib/explicit-memory/*",
"//zircon/system/ulib/fbl/*",
"//zircon/system/ulib/fdio-caller/*",
"//zircon/system/ulib/ffl/*",
"//zircon/system/ulib/fidl-async-2/*",
"//zircon/system/ulib/fidl-async/*",
"//zircon/system/ulib/fidl-utils/*",
"//zircon/system/ulib/fidl/*",
"//zircon/system/ulib/fs-host/*",
"//zircon/system/ulib/fs-pty/*",
"//zircon/system/ulib/fs-test-utils/*",
"//zircon/system/ulib/ftl-mtd/*",
"//zircon/system/ulib/ftl/*",
"//zircon/system/ulib/fvm-devices/*",
"//zircon/system/ulib/fzl/*",
"//zircon/system/ulib/gfx-font-data/*",
"//zircon/system/ulib/gfx/*",
"//zircon/system/ulib/hid-parser/*",
"//zircon/system/ulib/hid/*",
"//zircon/system/ulib/hwreg-i2c/*",
"//zircon/system/ulib/hwreg/*",
"//zircon/system/ulib/hwreg/test/asm/*",
"//zircon/system/ulib/id_allocator/*",
"//zircon/system/ulib/image-format/*",
"//zircon/system/ulib/inet6/*",
"//zircon/system/ulib/inspect/*",
"//zircon/system/ulib/inspector/*",
"//zircon/system/ulib/intel-hda/*",
"//zircon/system/ulib/io-scheduler/*",
"//zircon/system/ulib/kcounter/*",
"//zircon/system/ulib/kernel-debug/*",
"//zircon/system/ulib/ktrace/*",
"//zircon/system/ulib/launchpad/*",
"//zircon/system/ulib/lazy_init/*",
"//zircon/system/ulib/ldmsg/*",
"//zircon/system/ulib/lockdep/*",
"//zircon/system/ulib/log-writer-logger/*",
"//zircon/system/ulib/log-writer-textfile/*",
"//zircon/system/ulib/logger/*",
"//zircon/system/ulib/mbr/*",
"//zircon/system/ulib/mini-process/*",
"//zircon/system/ulib/mipi-dsi/*",
"//zircon/system/ulib/mmio-ptr/*",
"//zircon/system/ulib/mock-boot-arguments/*",
"//zircon/system/ulib/mock-function/*",
"//zircon/system/ulib/mtd/*",
"//zircon/system/ulib/nand-redundant-storage/*",
"//zircon/system/ulib/perftest/*",
"//zircon/system/ulib/pretty/*",
"//zircon/system/ulib/processargs/*",
"//zircon/system/ulib/profile/*",
"//zircon/system/ulib/ram-crashlog/*",
"//zircon/system/ulib/ramdevice-client/*",
"//zircon/system/ulib/range/*",
"//zircon/system/ulib/refcount/*",
"//zircon/system/ulib/region-alloc/*",
"//zircon/system/ulib/runtests-utils/*",
"//zircon/system/ulib/runtime/*",
"//zircon/system/ulib/service/*",
"//zircon/system/ulib/simplehid/*",
"//zircon/system/ulib/smbios/*",
"//zircon/system/ulib/spi/*",
"//zircon/system/ulib/static-pie/*",
"//zircon/system/ulib/statusor/*",
"//zircon/system/ulib/storage-metrics/*",
"//zircon/system/ulib/storage/buffer/*",
"//zircon/system/ulib/storage/operation/*",
"//zircon/system/ulib/svc/*",
"//zircon/system/ulib/sync/*",
"//zircon/system/ulib/sysconfig-client/*",
"//zircon/system/ulib/syslog/*",
"//zircon/system/ulib/sysmem-connector/*",
"//zircon/system/ulib/sysmem-make-tracking/*",
"//zircon/system/ulib/sysmem-version/*",
"//zircon/system/ulib/task-utils/*",
"//zircon/system/ulib/test-exceptions/*",
"//zircon/system/ulib/test-utils/*",
"//zircon/system/ulib/tftp/*",
"//zircon/system/ulib/thread-safe-deleter/*",
"//zircon/system/ulib/trace-engine/*",
"//zircon/system/ulib/trace-provider/*",
"//zircon/system/ulib/trace-reader/*",
"//zircon/system/ulib/trace-test-utils/*",
"//zircon/system/ulib/trace-vthread/*",
"//zircon/system/ulib/trace/*",
"//zircon/system/ulib/uart/*",
"//zircon/system/ulib/unittest/*",
"//zircon/system/ulib/usb-peripheral-utils/*",
"//zircon/system/ulib/usb-virtual-bus-launcher/*",
"//zircon/system/ulib/utf_conversion/*",
"//zircon/system/ulib/virtio/*",
"//zircon/system/ulib/xdc-host-utils/*",
"//zircon/system/ulib/xdc-server-utils/*",
"//zircon/system/ulib/zbi-bootfs/*",
"//zircon/system/ulib/zbi/*",
"//zircon/system/ulib/zbitl/*",
"//zircon/system/ulib/zircon-internal/*",
"//zircon/system/ulib/zx-panic-libc/*",
"//zircon/system/ulib/zx/*",
"//zircon/system/ulib/zxc/*",
"//zircon/system/ulib/zxio/*",
"//zircon/system/ulib/zxtest/*",
"//zircon/third_party/lib/jitterentropy/*",
"//zircon/third_party/ulib/boringssl/*",
"//zircon/third_party/ulib/cksum/*",
"//zircon/third_party/ulib/linenoise/*",
"//zircon/third_party/ulib/lz4/*",
"//zircon/third_party/ulib/ngunwind/*",
"//zircon/third_party/ulib/safemath/*",
"//zircon/tools/kazoo/*",
"//zircon/tools/lz4/*",
"//zircon/tools/zbi/*",
]
}