[Piglit] [PATCH 0/6] Add Android crosscompiling support

groleo at gmail.com groleo at gmail.com
Wed Oct 24 06:11:26 PDT 2012


From: Adrian Marius Negreanu <adrian.m.negreanu at intel.com>

This patch-set enables the tests to be compiled
with the Android toolchain.

The resulting piglit libraries will have to be "adb push"-ed
to the device, since there is yet no "install" make target.

I added an Android cmake Platform to:
 * minimize the changes in the
   cmake files(see the patch for libX11 and CMAKE_SYSTEM_NAME==Linux)
 * set-up an Android specific CMAKE_SYSTEM_INCLUDE_PATH to avoid
   using the host header files.


Adrian Marius Negreanu (6):
  cmake: Use find_package to find Waffle
  cmake,util: Add Android Waffle support
  cmake: Add an Android platform and toolchain
  doc: Add build instructions for Android
  cmake: Remove the REQUIRED flag for PNG
  cmake: Request GLUT only when Waffle is not used

 CMakeLists.txt                                     | 38 ++++-----
 README                                             | 19 +++++
 cmake/Modules/Compiler/Android.cmake               | 70 ++++++++++++++++
 cmake/Modules/FindWaffle.cmake                     | 57 +++++++++++++
 cmake/Modules/Platform/Android.cmake               | 35 ++++++++
 tests/util/CMakeLists.txt                          |  5 ++
 .../piglit-framework-gl/piglit_android_framework.c | 96 ++++++++++++++++++++++
 .../piglit-framework-gl/piglit_android_framework.h | 29 +++++++
 .../piglit-framework-gl/piglit_wfl_framework.c     | 11 +++
 .../piglit-framework-gl/piglit_winsys_framework.c  |  3 +
 10 files changed, 344 insertions(+), 19 deletions(-)
 create mode 100644 cmake/Modules/Compiler/Android.cmake
 create mode 100644 cmake/Modules/FindWaffle.cmake
 create mode 100644 cmake/Modules/Platform/Android.cmake
 create mode 100644 tests/util/piglit-framework-gl/piglit_android_framework.c
 create mode 100644 tests/util/piglit-framework-gl/piglit_android_framework.h

-- 
1.8.0



More information about the Piglit mailing list