commit | 6a733b848a6b89884121f1eebb93d1ed7d2d474a | [log] [tgz] |
---|---|---|
author | John Moon <quic_johmoo@quicinc.com> | Thu Sep 01 14:16:26 2022 -0700 |
committer | John Moon <quic_johmoo@quicinc.com> | Tue Sep 06 17:46:08 2022 -0700 |
tree | 6547982ca37b7334fc3f7b1ef9cc378b2027b59e | |
parent | a0c815852dbd172ea2af3f8a2c6c70b0982bca9b [diff] |
dist: forbid multiple inputs which create same file Current code will allow multiple input data labels to produce a file with the same name. If flat=True, subsequent labels will overwrite files from previous labels. This seems dangerous and could lead to users unintentionally distributing the wrong file. By default, forbid multiple inputs that create the same file in the output directory, but provide an argument to allow legacy behavior (overwriting the first files copied by the rule). Bug: 244215515 Change-Id: I2a591e057d66c41e7f5139614f3cc525e1866c17 Signed-off-by: John Moon <quic_johmoo@quicinc.com>
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.