Build a library without complete source

45 views
Skip to first unread message

Gary Barnes

unread,
Jun 18, 2014, 3:25:51 PM6/18/14
to android-...@googlegroups.com
I am attempting to develop a JNI library for ICS, in which one of the needed libraries will be libnativehelper, however it does not exist as a prebuilt. Therefore I will need to build the required libraries, however do to a lack of network stability I have been unable to download the entire branch of ics-mr1-release via 'repo sync' or git clone -b  ics-mr1-release  https://android.googlesource.com/platform/name
So... how can I either download the remaining packages (framework/base & prebuilts) or just built the required libs?

trevd

unread,
Jun 21, 2014, 9:05:54 AM6/21/14
to android-...@googlegroups.com
You'll have a hell of a job pulling that one off as libnativehelper wasn't introduced until jellybean https://android.googlesource.com/platform/libnativehelper/+refs . Which probably also explains why it doesn't exist as a prebuilt.
Obviously the functionality you require is going to be implemented elsewhere ( hopefully ) . I can highly recommend http://androidxref.com/ if you need to do some code hunting.

To answer your original question. I'd try and grab the bare minimum required by hacking editing the .repo/manifest.xml to remove all the unnecessary fluff. Also there is a mirror of the AOSP on github, github allows you to download archives ( zips ) of a single branch which is always an option should you find yourself needed to take a more piecemeal approach.

Gary Barnes

unread,
Jun 23, 2014, 3:36:17 PM6/23/14
to android-...@googlegroups.com
Trevd - thanks for the info on the mirrors.
Also just an FYI libnativehelper has existed since the very early days of 1.x, it had been located under dalvik.

Steve Jones

unread,
Jun 28, 2014, 6:00:32 PM6/28/14
to android-...@googlegroups.com
 Indeed it does ... That's what I get fo trying to be smart lol :) 


--
--
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

---
You received this message because you are subscribed to a topic in the Google Groups "Android Building" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/android-building/svHBRcNottI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to android-buildi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages