Currently, there are a few places where we use Bazel's native genrule
rule to generate files that consist of simple strings (usually with
cat << EOF or echo "str" >> "$@" semantics). It was recently pointed
out to us that the Skylib library (already available from Kleaf) has
a "write_file" rule which is better than our genrule method for
creating files from strings.
It's better because it has a simpler interface, does not rely on any
Starlark-external tools (i.e. bash), and does not require all of the
strings to be formatted in one operation which makes the rule
slightly more readable.
Replace file-creating genrules where it makes sense to do so. This
change has no impact on actual build logic as the output files are
logically identical.
Change-Id: I2cef369e299d42b2677ddea833c43d9c80eff32c
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Kleaf test_mapping rules are no longer used upstream and were being
skipped in our builds anyway.
Remove the test_mapping rules.
Change-Id: If8689f4572b1d1dce2c8ba03075444fa3af7d86b
Signed-off-by: John Moon <quic_johmoo@quicinc.com>
Remove references to qcom_boot_artifacts repo, as its a no-ship.
Change-Id: Id031ac55b56e1af1c75b4b45a8a8dcaf9b81d1a1
Signed-off-by: Sankalp Negi <quic_snegi@quicinc.com>
Add ttyMSM0 as serial console to kernel cmdline parameter.
Change-Id: I58ebf03119bfca7b6acfdf792201bcaba502eb77
Signed-off-by: Shazad Hussain <quic_shazhuss@quicinc.com>
In order to avoid conflicts with future Android/GKI variants
for same target, use "lxc" as differentiators for monaco_auto.
Change-Id: Ia7bb2d2a0ee30af453c043d375e2e81d203d3822
Signed-off-by: Sankalp Negi <quic_snegi@quicinc.com>