dist: Allow to suppress logs by default.

Add a log argument to copy_to_dist_dir that specifies
the default log level.

- If --log is specified in the command line, it takes the highest priority.
- Otherwise, if log is specified in copy_to_dist_dir, its value is used.
- Otherwise, the script defaults to DEBUG log level.

Test: run with and without --log
Bug: 231368217
Change-Id: I1ba4d475080a8eb64e1ca890e59e9ad2fad14f21
2 files changed
tree: fc96f57d505ddbeadf966494a5b0316baaac9e77
  1. dist/
  2. docs/
  3. exec/
  4. test_mappings/
  6. 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.