summaryrefslogtreecommitdiff
path: root/tools/extract_kernel.py
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2021-01-05 20:51:40 +0900
committer Jiyong Park <jiyong@google.com> 2021-01-05 21:03:30 +0900
commitcddea9b426ecdc9360fd0e6c7b9b1edd3c877672 (patch)
tree17086b55aa70666643fb6ce95201f3522d63abad /tools/extract_kernel.py
parent4a632325a40da4e6e19686ff02e2e26dd81d0652 (diff)
Add TARGET_FORCE_APEX_SYMLINK_OPTIMIZATION
The APEX symlink optimization is a build-time trick to save the storage/RAM usage of APEX by replacing some files in APEX with symlinks to the files in the system partition. The optimization however is automatically turned off for 'updatable: true' APEXes because doing the optimization for them will hide the sys-health implication until when the APEXes are built unbundled (i.e. prebuilt) and thus the optimization is impossible. TARGET_FORCE_APEX_SYMLINK_OPTIMIZATION forcibly disables the safety net. When it is set to true, the symlink optimization is done regardless of the 'updatable' property. This is useful for some of the devices like Go where most APEXes (even the 'updatable: true' ones) should be effectively non-updatable. Bug: 175630508 Test: TARGET_FORCE_APEX_SYMLINK_OPTIMIZATION=true m and check that updatable APEXes have symlinks to system libs Change-Id: I261fd4ab2dd8e62ff435306b11168121cbcf662a
Diffstat (limited to 'tools/extract_kernel.py')
0 files changed, 0 insertions, 0 deletions