adevtool/vendor-skels/README.md
Dmitry Muhomor 3416e4a554 generate-all: verify the result against a reference FileTreeSpec
This commit adds an extra step to generate-all:
- if --updateSpec flag is specified, FileTreeSpec of the generated vendor module is written out
to vendor-specs/$VENDOR/$DEVICE.yaml file ("reference FileTreeSpec").
- if --updateSpec is not specified, FileTreeSpec of the generated vendor module is compared against
the reference FileTreeSpec. If there are any differences, generated vendor module is deleted and an
exception is thrown.

Also, when --updateSpec flag is used, text files inside vendor module are written out to
vendor-skels/$VENDOR/$DEVICE directory.

Contents of vendor-skels/ are useful for keeping track of vendor module changes via git and for
showing diffs in case text files in the generated module don't match the reference ones.
2023-08-31 16:03:43 -04:00

6 lines
358 B
Markdown

This directory contains adevtool-generated text files from vendor modules for each of supported devices.
These files are stored here to record their changes to git history. They are not used for vendor module generation.
Note that .mk and .bp files have .skip suffix added to their names to prevent soong from detecting them,
which would break the build.