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. Instructions: With these patches applied (and my just posted shader_runner compile fix patches). If you like you can grab my git tree at: git://git.linaro.org/people/tomgall/piglit.git (use the android branch) From your AOSP source tree: cp -r waffle path/to/AOSP/external/waffle cp -r piglit path/to/AOSP/external/piglit . build/envsetup.sh lunch make Test and test data will result in the built image. If you want to build just piglit, after waffle is built you can . build/envsetup.sh lunch cd external/piglit mm TARGET_PRODUCT=xxxx (To build waffle and just waffle, same instructions apply) Before running on Android, make sure to issue the following command before hand. export PIGLIT_PLATFORM="android" This also available via my git tree located at: -- Regards, Tom "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 _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
