Commit Graph

3 Commits

Author SHA1 Message Date
Daniel Norman 137cadfd4d Infers custom vendor partitions.
Rather than hardcoding a list of allowed vendor partitions, we accept
anything in the vendor target files that is not a framework partition.

Also extend support for inferred misc_info keys when the device uses
SYSTEM/product or SYSTEM/system_ext.

Test: test --host releasetools_test
Test: Use to merge a device with a custom IMAGES/*.img in the vendor
      build, and SYSTEM/system_ext in the system build.
Bug: 225902565
Change-Id: I638c0f9c019357150516ea6c208ecd60c03c450f
(cherry picked from commit 679242b877)
2022-04-29 15:23:45 -07:00
Daniel Norman 3796fc3f04 Infer merge configs if not provided.
Bug: 221858722
Test: Create a merged package using inferred configs.
Test: atest --host releasetools_test
Change-Id: I93d67ca0f00be3f0e0424ed0a1e44c39ca2f3094
(cherry picked from commit 5f47677f00)
2022-03-10 16:06:07 -08:00
Daniel Norman a44248eea9 Split the huge merge_target_files script into multiple files.
Bug: 221858722
Test: m otatools; Use to create merged builds
Test: atest --host releasetools_test
Change-Id: I5f932f160d3f6405b41a7721b1c75cc96749e77b
(cherry picked from commit 2465fc8594)
2022-03-10 16:05:54 -08:00