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 /services/usage | |
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 'services/usage')
-rw-r--r-- | services/usage/Android.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/usage/Android.mk b/services/usage/Android.mk index d4b7fa8..f1cbe98 100644 --- a/services/usage/Android.mk +++ b/services/usage/Android.mk @@ -7,4 +7,6 @@ LOCAL_MODULE := services.usage LOCAL_SRC_FILES += \ $(call all-java-files-under,java) +LOCAL_JAVA_LIBRARIES := services.core + include $(BUILD_STATIC_JAVA_LIBRARY) |