diff options
author | Narayan Kamath <narayan@google.com> | 2014-08-07 10:57:40 +0100 |
---|---|---|
committer | Narayan Kamath <narayan@google.com> | 2014-08-15 13:37:03 +0100 |
commit | 29564cd24589867f653cd22cabbaac6493cfc530 (patch) | |
tree | c5ee0b88f293d292d95012844097acd172a7a72a /CleanSpec.mk | |
parent | bdc78678dedc6b66b9584948b908cd8cf77c6b30 (diff) | |
download | frameworks_base-29564cd24589867f653cd22cabbaac6493cfc530.zip frameworks_base-29564cd24589867f653cd22cabbaac6493cfc530.tar.gz frameworks_base-29564cd24589867f653cd22cabbaac6493cfc530.tar.bz2 |
Remove system_server classes from the boot image.
We set the system_server classpath in the environment
(like we do with BOOTCLASSPATH). After the zygote forks
the system_server, we dexopt the classpath (if needed)
and then launch the system server with the correct
PathClassLoader. This needed several small / medium
refactorings :
- The logic for connecting to installd is now in a separate
class and belongs in the system_server.
- SystemService / SystemServiceManager have now moved to
classes.jar. They are only used from there, and since they
use Class.forName, we want them to be loaded by the
system_server classloader, and not the bootclassloader.
- BootReceiver now moves to frameworks.jar, because it is
used by ActivityThread and friends.
bug: 16555230
Change-Id: Ic84f0b2baf611eeedff6d123cb7191bb0259e600
Diffstat (limited to 'CleanSpec.mk')
-rw-r--r-- | CleanSpec.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CleanSpec.mk b/CleanSpec.mk index ae2f3ad..c7cf940 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -218,6 +218,9 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/androi $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/services.core_intermediates) $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/services_intermediates) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/framework_intermediates) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/services.core_intermediates) +$(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/JAVA_LIBRARIES/services_intermediates) # ****************************************************************** # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST ABOVE THIS BANNER |