commit | 1aa240aa8b5c6d3e5732dd74b72558194a1e496b | [log] [tgz] |
---|---|---|
author | Jingwen Chen <jingwen@google.com> | Tue Jul 12 13:43:06 2022 +0000 |
committer | Jingwen Chen <jingwen@google.com> | Mon Jul 18 13:44:21 2022 +0000 |
tree | 28fa55bc117435d8ce97c91000ba0f42e8615967 | |
parent | b6266eb321e8d676a9f3a45cf302cf2972a17fec [diff] |
Add --strip_components support to dist rule. This supports disting files up to a specific shared package level. e.g. for the following files to dist: a/b/b.txt a/c/c.txt with --strip_components=1 and --dist_dir=/dist, the resulting output is: /dist/b/b.txt /dist/c/c.txt This works the same as tar(1)'s --strip. Bug: 238723069 Change-Id: Ibf0ac467048dff92e6f34d3f70222f7a4f342d27
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.