update_engine_sideload depends on commonly used shared libs.
recovery image has supported using shared libs, so we no longer need to build static update_engine_sideload executable. Due to size concerns, we can't depend and install all the needed shared libs in recovery. This CL changes update_engine_sideload to use commonly used shared libs that are already available on recovery. With this change, the size for update_engine_sideload goes down from 2167968 to 1036424 bytes (aosp_taimen-userdebug). Bug: 112494634 Test: `mmma -j system/update_engine` with aosp_taimen-userdebug Test: Build and boot into recovery image on taimen. Sideload a package. Test: `build/soong/build_test.bash --dist` Change-Id: I87007f77687276052426fb52ad25036108796035
Loading
Please sign in to comment