commit | 85a9fe7a10d86ca134636a3b103221ff509d07f6 | [log] [tgz] |
---|---|---|
author | Aleksei Vetrov <vvvvvv@google.com> | Thu Feb 09 18:42:38 2023 +0000 |
committer | Aleksei Vetrov <vvvvvv@google.com> | Thu Feb 09 18:54:44 2023 +0000 |
tree | f662b7d90c60f5759bba575cfae40277ed76e458 | |
parent | 462dcdcccb0595260aa3b51b8dab302182a58307 [diff] |
Allow overwrite of directories in copy_to_dist_dir If we would like to run _dist tasks twice, we have to allow overwriting files inside directories. It is enough to make directory writable before copying its contents, which allows removal of the files inside. Then shutil.copytree will restore correct permissions through the copystat. Test: TH Bug: 267607344 Change-Id: I11f8e330c06d71ef1a1b674f846f70bd1bbb1931
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.