> I would like to script building out/target/common/obj/JAVA_LIBRARIES/
> framework_intermediates/*.jar for for multiple SDK versions. The key
> is that I would like the real implementations to stay in intact, not
> the stripped and "Stub!" throwing jars. I don't think Google/Android
> distributes this version of the jars anywhere.
You could extract them from system.img found in the SDK.
> Ideally I would strip this process down to the minimum number of steps
> (and time) needed to generate these jars. After quite a bit of
> searching and trying different things I'm not clear which project
> houses the code that generates classes.jar, classes-full-debug.jar,
> and friends or if there is a specific build target I can call to build
> them and nothing else (or stop the build at that point).
All these jar files are make targets, so e.g.
make out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar
would get you that file (and very little else).
--
Magnus B�ck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
On Wednesday, August 17, 2011 at 18:37 CEST,
Joe Moore <joe....@gmail.com> wrote:You could extract them from system.img found in the SDK.
> I would like to script building out/target/common/obj/JAVA_LIBRARIES/
> framework_intermediates/*.jar for for multiple SDK versions. The key
> is that I would like the real implementations to stay in intact, not
> the stripped and "Stub!" throwing jars. I don't think Google/Android
> distributes this version of the jars anywhere.
All these jar files are make targets, so e.g.
> Ideally I would strip this process down to the minimum number of steps
> (and time) needed to generate these jars. After quite a bit of
> searching and trying different things I'm not clear which project
> houses the code that generates classes.jar, classes-full-debug.jar,
> and friends or if there is a specific build target I can call to build
> them and nothing else (or stop the build at that point).
make out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes.jar
would get you that file (and very little else).
--
Magnus Bäck Opinions are my own and do not necessarily
SW Configuration Manager represent the ones of my employer, etc.
Sony Ericsson
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en
> Regarding "You could extract them from system.img found in the SDK" --
> I'm in the middle of Googling for this now, by on a Mac trying to
> mount this image give a "no mountable file system" error. I've tried
> converting the image to some other formats and get the same error when
> trying to mount those. Do you know how to either mount or extract this
> .img on a Mac?
You can use the unyaffs tool for this. Sorry for not mentioning it from
the start.
http://code.google.com/p/unyaffs/
--
Magnus B�ck Opinions are my own and do not necessarily
the same error when trying to mount those. Do you know how to either mount or extract this .img on a Mac?