commit | 31d9a6eb58dcd6e5f1a9721326a1334487de6038 | [log] [tgz] |
---|---|---|
author | Matthias Maennich <maennich@google.com> | Fri Aug 27 12:29:20 2021 +0100 |
committer | Matthias Maennich <maennich@google.com> | Fri Aug 27 12:29:20 2021 +0100 |
tree | dafbbdfd5be59dde04d001ae5fcede0c954e046f | |
parent | 0425d6e289fcc5feedb2aeab378669874c4966f1 [diff] |
copy_to_dist: Add support for --flat When passing --flat, subdirectories in the dist_manifest are ignored, effectively stripping off any leading subdirectories when placing the files in the dist dir. This is to avoid unneccssary deep directory hierarchies in distribution directories that are just caused by the location of the build rule definition. Bug: 197842210 Signed-off-by: Matthias Maennich <maennich@google.com> Change-Id: I8a4d11f66d7ab80748d1fdb428809254ff350869
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.