dist: Also support declared directories.
When a target's default outputs include a declared directory
via ctx.actions.declare_directory, copy everything inside that
declared directory. Don't ignore directories.
The directory structure inside the declared directory is kept,
regardless of the --flat option. This is because the directory
itself is treated as an output, not its contents.
Test: bazel run //common:kernel_aarch64_abi_dist
1 file changed
Bazel Common Rules
This directory contains common Bazel rules and tools shared between the Platform and Kernel builds.
For platform-specific rules, place them in the platform checkout's //build/bazel/rules directory.
For kernel-specific rules, place them in kernel checkout's //build/kleaf directory.