Commit graph

5 commits

Author SHA1 Message Date
Dmitry Muhomor
0691a32fa6 generate-all: pass extra commands to lunch/choosecombo in envsetup.sh
Requires the corresponding patch in build/make repo.
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
5f80831d88 update vendor module specs after resource overlay changes
Notable changes:
- multiple previously-unparseable overlays are added for felix and tangorpro
- fingerprint setup strings are no longer cut-off at first line
- udfps_lottie_translate_y dimension is now parsed correctly
- "Face unlock"-related strings are removed ("Face unlock" is not shipped)
2023-08-31 16:03:43 -04:00
Dmitry Muhomor
86c7472066 do not use BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES 2023-08-31 16:03:43 -04:00
Dmitry Muhomor
7403e95179 add vendor-{specs,skels} for all supported devices 2023-08-31 16:03:43 -04:00
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