[Piglit] [PATCH 00/14] Add Android support

groleo at gmail.com groleo at gmail.com
Fri Nov 16 04:46:45 PST 2012


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

This patch-set enable the tests to be compiled
using the Android toolchain.

The resulting binaries and dependant test files will have to be
pushed to the device(adb push)

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 (9):
  cmake: Remove references to PNG
  cmake: Request GLUT only when Waffle is not used
  cmake: Add an Android platform and toolchain
  cmake,util: Add Android Waffle support
  cmake: Add FindWaffle.cmake
  cmake/FindWaffle: Use PATH_SUFFIXES for WAFFLE_INCLUDE_DIR
  cmake/FindWaffle: Fix for usage outside of /usr/share/cmake/Modules
  cmake: Use find_package to find Waffle
  doc: Add build instructions for Android

Chad Versace (5):
  cmake/FindWaffle: Fix it on Linux
  cmake/FindWaffle: Reformat doc comment to follow CMake standards
  cmake/FindWaffle: Reformat long function call
  cmake/FindWaffle: Rename exported vars to follow CMake standards
  cmake/FindWaffle: Don't expose WAFFLE_VERSION_H

 CMakeLists.txt                                     |  36 ++++----
 README                                             |  30 +++++--
 cmake/Modules/Compiler/Android.cmake               | 100 +++++++++++++++++++++
 cmake/Modules/FindWaffle.cmake                     |  80 +++++++++++++++++
 cmake/Modules/Platform/Android.cmake               |  49 ++++++++++
 tests/util/CMakeLists.txt                          |   7 +-
 .../piglit-framework-gl/piglit_android_framework.c |  86 ++++++++++++++++++
 .../piglit-framework-gl/piglit_android_framework.h |  29 ++++++
 .../piglit-framework-gl/piglit_wfl_framework.c     |  11 +++
 .../piglit-framework-gl/piglit_winsys_framework.c  |   5 ++
 10 files changed, 404 insertions(+), 29 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