dist: allow dist_dir to be specified in BUILD files

... ahead of build time. This is less typing at execution time!

Also update docs for --dist_dir in the script.

Bug: 229268271
Test: run //common:kernel_aarch64_dist
Change-Id: I75a0da35734464a2fb7b0609890e24e83603ed83
2 files changed
tree: 04c500b88792b909954c0e743e478c76a842e683
  1. dist/
  2. docs/
  3. OWNERS
  4. 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.