Support disting testonly deps.

Setting testonly = True on a target requires all of its rdeps to also
set testonly.

This means that the rdeps dist targets also need to set distonly.

Test: b build //build/bazel_common_rules/dist:all
Change-Id: I20e5991cd07190d3a73d28e92ed83d31b19bec5d
2 files changed
tree: 44555b4c60232dabab67728a031cb2ffdd0f83bf
  1. dist/
  2. docs/
  3. exec/
  4. rules/
  5. test_mappings/
  6. workspace/
  7. OWNERS
  8. README.md
README.md

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.