diff options
| author | 2024-10-31 18:27:23 +0000 | |
|---|---|---|
| committer | 2024-10-31 19:35:21 +0000 | |
| commit | 918191e35b11293605622d787603eb0a020e3187 (patch) | |
| tree | 823e4139ba390f81969e9d03e0bf2749b07b4887 /scripts/construct_context.py | |
| parent | 3ab5fcd266917104f7425323f6b5c1b7c42cdf1a (diff) | |
Dedupe logic to generate linker.config.pb
Between android_filesystem and generic_system_image.
`getLibsForLinkerConfig` will return a list of provideLibs and
requireLibs for the fileystem. `linkerConfig.BuildLinkerConfig` will
then filer out the non-stub libraries.
For `android_filesystem`, requireLibs is ignored for now to match the
logic in the kati built vendor.img
Test: m nothing --no-skip-soong-tests
Test: no diff in out/soong/.intermediates/build/make/target/product/generic/generic_system_image/android_common/gen/root-extra/system/etc/linker.config.pb
paste of cmd: https://diff.googleplex.com/#key=KAqqP9bhKZMD
Change-Id: I1f1d626a3a161fb2e12597909fd287533cbb8482
Diffstat (limited to 'scripts/construct_context.py')
0 files changed, 0 insertions, 0 deletions