Use ro.vndk.lite to determine the ld.config.txt
This commit adds an extra check on `ro.vndk.lite`. If `ro.vndk.lite` is true, the linker will pick `/system/etc/ld.config.vndk_lite.txt`. The purpose of this change is to distinguish: 1. Master-GSI + Master-VENDOR (w/o BOARD_VNDK_VERSION for upgrading devices) 2. Master-GSI + O-MR1-VENDOR (w/ BOARD_VNDK_VERSION) Bug: 78605339 Test: aosp_sailfish Master-SYSTEM + Master-VENDOR boots Test: aosp_sailfish Master-GSI + Master-VENDOR boots Test: aosp_walleye Master-SYSTEM + Master-VENDOR boots Test: aosp_walleye Master-GSI + Master-VENDOR boots Test: aosp_walleye Master-GSI + O-MR1-VENDOR boots Change-Id: I34f243f73c173ca2e882d3738ccb81e3fad3a9da
Loading
Please sign in to comment