[Piglit] [PATCH 0/7] RFC: Add Android Support via Android.mk

Tom Gall tom.gall at linaro.org
Sat Feb 2 07:33:23 PST 2013

On Sat, Feb 2, 2013 at 12:02 AM, Eric Anholt <eric at anholt.net> wrote:
> Tom Gall <tom.gall at linaro.org> writes:
>> This patch series builds piglit within the Android source tree. It's
>> still a bit of a work in progress but the build succeeds and the tests
>> that are built do pass.
>> The 3rd patch is entirely written by Adrian M Negreanu and really is
>> the heart of the Android implementation for piglit as it adds the
>> framework support without which nothing would work.
>> If anything these patches that create the various Android.mk files are
>> but the strings that hold together Adrian's bouquet. They allow for
>> piglit to build as part of an Android image build which is quite handy
>> for validation farms and such.
>> While this patch series uses multiple Android.mk files, one could
>> implement all of this is one large Android.mk at the top level
>> directory.
> Instead of cooking up a brand new build system that will always be
> terribly maintained, it looks like there are a number of
> cmake-for-android projects out there.  Have you exhausted all of those
> as possibilities for sure?

I entirely understand your concern. I understand that having two build
systems around can be viewed as being less than ideal. I did not take
this step lightly nor was it a thought influenced by appreciation of
one build system over the other.


Within AOSP the projects that utilize cmake don't use it for Android,
rather they use the Android build system. llvm, libpng, sysbench,
jpeg, clang, libbcc as a for instance.

Waffle uses the Android build system.

Mesa uses the Android build system.

Those coming from the world of Android when contributing know the
Android build system so there is a talent pool. Likewise when working
with Android, you have to know the Android build system.

When building piglit (&waffle) for Android, one will always have to be
in the presence of the whole android setup with certain portions of
that source tree already built in order for it to work.

I (or one of my team) can/will happily maintain this. Piglit is very
important to us long term on both Android and Linux.


"Where's the kaboom!? There was supposed to be an earth-shattering
kaboom!" Marvin Martian
Tech Lead, Graphics Working Group | Linaro.org │ Open source software
for ARM SoCs
w) tom.gall att linaro.org
h) tom_gall att mac.com

More information about the Piglit mailing list