commit | dbf3bfffc6300fdd9b6bd13b95cf7fee04849733 | [log] [tgz] |
---|---|---|
author | Rahul Chaudhry <rahulchaudhry@google.com> | Wed Mar 21 11:31:09 2018 -0700 |
committer | Rahul Chaudhry <rahulchaudhry@google.com> | Thu Mar 22 15:14:40 2018 -0700 |
tree | ad6f204c0991524a8621558d364e28d2f22fcbc7 | |
parent | d39eeb44f13581190ba1c6f3e164797420dc0195 [diff] |
Disable relocation_packer and migrate to SHT_RELR sections. Proposal for adding SHT_RELR sections in the generic-abi is at https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg Comparison with relocation_packer for aosp_marlin-userdebug: $ du -B1 -s */out/target/product/marlin/system 996958208 base/out/target/product/marlin/system 1008340992 no_pack/out/target/product/marlin/system 997801984 sht_relr/out/target/product/marlin/system base contains a build with current settings. no_pack contains a build with relocation_packer disabled. sht_relr contains a build with SHT_RELR sections enabled. relocation_packer was saving 11,382,784 bytes (no_pack - base). SHT_RELR sections are saving 10,539,008 bytes (no_pack - sht_relr). Bug: None Test: Built aosp_marlin-userdebug image, boots on device. Test: Built aosp_x86_64-userdebug image, boots in emulator. Change-Id: Ic753abecb77863c64996157c543c344e66f0f4dd
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.