platform_build/core
Iliyan Malchev b375e71d30 build: remove prelinker build build system
This patch removes support for prelinking from the build system.  By now, the
prelinker has outlived its usefulness for several reasons.  Firstly, the
speedup that it afforded in the early days of Android is now nullified by the
speed of hardware, as well as by the presence of Zygote.  Secondly, the space
savings that come with prelinking (measued at 17MB on a recent honeycomb
stingray build) are no longer important either.  Thirdly, prelinking reduces
the effectiveness of Address-Space-Layout Randomization.  Finally, since it is
not part of the gcc suite, the prelinker needs to be maintained separately.

The patch deletes apriori, soslim, lsd, isprelinked, and iself from the source
tree.  It also removes the prelink map.

LOCAL_PRELINK_MODULE becomes a no-op.  Individual Android.mk will get cleaned
separately.  Support for prelinking will have to be removed from the recovery
code and from the dynamic loader as well.

Change-Id: I5839c9c25f7772d5183eedfe20ab924f2a7cd411
2011-03-12 14:59:46 -08:00
..
combo build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
tasks Fix for SDK repository. 2011-02-23 22:34:16 -08:00
Makefile resolved conflicts for merge of 0a1f3236 to honeycomb-plus-aosp 2011-03-07 11:07:12 -08:00
apicheck_msg_current.txt Update the error message that occurs when current.xml needs regenerating. 2009-05-21 09:27:39 -04:00
apicheck_msg_last.txt auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
armelf.x auto import from //branches/cupcake/...@137873 2009-03-11 12:11:54 -07:00
armelf.xsc auto import from //branches/cupcake/...@137873 2009-03-11 12:11:54 -07:00
armelflib.x auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
base_rules.mk Handle MODULE_LICENSE_MPL the same as MODULE_LICENSE_GPL. 2011-03-03 14:57:10 -08:00
binary.mk Support stl variants when LOCAL_NDK_VERSION is set. 2011-03-04 10:48:28 -08:00
build-system.html Add new variable TARGET_SHELL := ash (default; or mksh) 2010-08-24 18:08:47 -07:00
build_id.mk set ID back to honeycomb (please do not merge) 2011-02-02 10:04:50 -08:00
checktree auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
cleanbuild.mk Don't prepend ./ before the dirs to be removed 2011-01-04 17:11:59 -08:00
cleanspec.mk Brian's vendor/ change requires a clean build. 2010-09-19 12:04:23 -04:00
clear_vars.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
config.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
copy_headers.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
definitions.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
device.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
dex_preopt.mk am 4d3ac24d: am 84ed6fa2: Disable "-t" for acp. 2011-01-19 14:41:25 -08:00
distdir.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
droiddoc.mk am d68519af: am 9e59ec29: Merge "Allow LOCAL_ADDITIONAL_DEPENDENCIES for droiddoc modules." into gingerbread 2010-09-16 09:43:20 -07:00
dumpvar.mk am f41934fc: am 26d8c589: Merge "Display the TARGET_ARCH_VARIANT" 2010-11-19 10:38:49 -08:00
dynamic_binary.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
envsetup.mk am 554eeb6c: am 493306f7: Merge "Fix TARGET_PREBUILT_TAG so that get_build_var can retrieve the correct value across architectures" 2010-11-19 16:56:26 -08:00
executable.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
filter_symbols.sh auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
find-jdk-tools-jar.sh am 8755e2b2: am e84739e9: Merge "Fix find-jdk-tools-jar to be cygwin-friendly." 2011-03-11 16:05:53 -08:00
help.mk make help: prints a handy list of useful targets 2010-10-28 15:40:06 -04:00
host_executable.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
host_java_library.mk Add LOCAL_JARJAR_RULES support for BUILD_HOST_JAVA_LIBRARY 2011-01-26 15:13:42 -08:00
host_native_test.mk Flags common for native tests 2010-07-21 11:22:52 -07:00
host_prebuilt.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
host_shared_library.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
host_static_library.mk Make the host static library build rule know about 2009-10-15 16:28:56 -07:00
java.mk Protobuf compiler support in the build system 2011-01-27 12:44:30 -08:00
java_library.mk Disable dexpreopt for unbundled build. 2011-01-12 11:12:06 -08:00
legacy_prebuilts.mk Include batch in legacy prebuilts with tcmd and ftmipcd. 2011-01-18 13:40:05 -08:00
main.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
multi_prebuilt.mk CHERRY-PICK: propogate module tags for prebuilts 2010-10-07 09:44:50 -07:00
native_test.mk Add $(LOCAL_MODULE) as part of the installed path. 2010-07-26 16:25:55 -07:00
node_fns.mk fix makefile inheritance system 2010-02-18 12:23:35 -08:00
notice_files.mk Fix the warning about NOTICE files overriding previous targets. 2009-04-13 12:51:43 -04:00
package.mk Remove unused variable DONT_INSTALL_DEX_FILES 2011-02-17 17:03:32 -08:00
pathmap.mk am 4a6e7d7c: am 43d406e5: Merge "add drm/ directory to include it as part of frameworks" 2010-08-16 15:18:51 -07:00
phony_package.mk core: Make fake packages have real installed files for proper dependencies 2010-09-27 17:37:59 -07:00
prebuilt.mk Fix dependency of prebuilt target non-static Java libraries. 2011-02-08 10:07:11 -08:00
process_wrapper.sh auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
process_wrapper_gdb.cmds auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
process_wrapper_gdb.sh auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
product.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
product_config.mk 'make dump-products' to dump products. 2010-11-02 23:04:24 -07:00
proguard.flags Make ProGuard keep necessary members for serializable classes 2010-08-11 08:24:46 +08:00
proguard_tests.flags Fix and enable proguard on packages. 2010-02-11 13:41:10 -08:00
raw_executable.mk Support to build native libraries with prebuilt NDK 2010-07-13 16:29:18 -07:00
raw_static_library.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
root.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
shared_library.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
static_java_library.mk auto import from //depot/cupcake/@135843 2009-03-03 19:28:42 -08:00
static_library.mk Support to build native libraries with prebuilt NDK 2010-07-13 16:29:18 -07:00
user_tags.mk build: remove prelinker build build system 2011-03-12 14:59:46 -08:00
version_defaults.mk It's a new version! 2011-03-09 18:20:40 -08:00