0

For my Android app, I need the source code for uuidlib that I would like to build as a static library and link with my native code. Another post Include uuid.h into Android NDK project mentions that the source code is available in AOSP at external/e2fsprogs/lib/uuid/ directory.

I followed the instruction on AOSP page and did a "repo init" and a "repo sync." The synchronization is still going on for the past one hour.

I am wondering if there is a better way to obtain the source code for just the library I need and not download the entire 10G of repository on my machine.

If not, what do I need to do to get uuid after "repo sync" finishes? Regards.

Community
  • 1
  • 1
Peter
  • 11,260
  • 14
  • 78
  • 155

1 Answers1

1

I am wondering if there is a better way to obtain the source code for just the library I need and not download the entire 10G of repository on my machine.

Per the repository instructions:

git clone https://android.googlesource.com/platform/external/e2fsprogs
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491
  • If the library has any dependencies in AOSP, you would need to identify and obtain these as well. That can be a time-consuming task if there are many dependencies – I decided to just fetch the whole thing overnight and not have to worry about missing a dependency of a dependency somewhere. YMMV. – user149408 Jan 11 '16 at 21:01