fix: LOCAL_PATH for modules included in APEX is wrong
This change fixes a bug that LOCAL_PATH for modules included in an APEX is set to the path of the APEX bundle, not to the path of the embedded module. For example, LOCAL_PATH of libconscrypt included in com.android.adbd was set to /system/core/adb instead of /external/boringssl. This caused a problem that NOTICE file in /external/boringssl is not tagged to libconscrypt, but the NOTICE file for adbd is. Fixing the problem by recording the module directories of the included modules and emitting it in LOCAL_PATH. Bug: 145347092 Test: Settings -> About Phone -> Legal Information -> Third-party license. The license for /apex/com.android.adbd/lib64/libconscrypt.so is OpenSSL. Change-Id: I76f1830d5a10af63fa74dcc2a42730ffabb8c4ed
Loading
Please register or sign in to comment