[Android-tools-devel] New Android SDK/NDK Rebuilds

beuc at beuc.net beuc at beuc.net
Wed Nov 28 21:28:11 GMT 2018


On Tue, Nov 27, 2018 at 09:11:46PM +0800, 殷啟聰 | Kai-Chung Yan wrote:
> The team here at Debian was considering an approach to build the
> latest SDK Platform (particularly `android.jar`) using the upstream
> build system instead handcrafted build scripts. Basically to
> aggregate every AOSP repository that is necessary into one big
> package and build `android.jar` by just invoking `make XXX` and let
> Ninja and Soong and friends do the rest. As the build process is
> quite complicated, handcrafted scripts are too error-prone and hard
> to write. We never provided a newer SDK Platform only because our
> existing approach no longer worked.

Good to know.

I'm not sure myself if there's a fine-grained "make XXX" command to
build the platform, but I'd be interested in knowing it :)

On Tue, Nov 27, 2018 at 12:12:18PM +0100, Hans-Christoph Steiner wrote:
> I think building all the support libs would be an awesome place to
> start, since I think it'll be easier to find which tags to build, and
> won't be so large.

Is it too large for your current infra or would it fit nonetheless?

(I'd rather have the binaries build from the F-Droid infra rather than
my personal laptop :))

> I'm pretty sure I can provide this space.  How big do you think it'll
> have to be?  I think I could dedicate 100GB with static IPv4+IPv6 to
> this.  Plus we can allocate a dedicated build VM for this.

Sounds great.  I expect the disk usage to be on-par with e.g. a
fdroidserver cache, so 100GB would be good.

- Sylvain

More information about the Android-tools-devel mailing list