dist: Accept --destdir

This matches pkg_install(). This is to facilitate the migration to
pkg_install(), so that build bots can use a command line interface
that works for both copy_to_dist_dir() and pkg_install(), then
edit the code to switch to pkg_install().

Bug: 331730853
Test: manual
Change-Id: I22310779944aa603e962e21cc72e7b2c6868c095
(cherry picked from commit f547672a1d6b914891addd2d5bf2a5b100cb3e99)
2 files changed
tree: a1928cfe316358583cd33e755a325ad4b6fd3189
  1. dist/
  2. docs/
  3. exec/
  4. patchinfo/
  5. rules/
  6. test_mappings/
  7. workspace/
  8. zip/
  9. OWNERS
  10. 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.