[Piglit] [PATCH 4/6] doc: Add build instructions for Android

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


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

Signed-off-by: Adrian Marius Negreanu <adrian.m.negreanu at intel.com>
---
:100644 100644 1621a80... 3015396... M	README
 README | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/README b/README
index 1621a80..3015396 100644
--- a/README
+++ b/README
@@ -185,6 +185,25 @@ Build from the Visual Studio Command Prompt.
   > nmake
 
 
+2.6 Android
+----------
+
+Using the Android Tree.
+  $ cd <android_source_tree>
+  $ . build/envsetup.sh
+  $ lunch <choose_your_platform>
+  $ cd external/piglit
+  $ cmake \
+    -DCMAKE_TOOLCHAIN_FILE=cmake/Modules/Compiler/Android.cmake \
+    -DPIGLIT_USE_WAFFLE=ON \
+    -DPIGLIT_BUILD_GL_TESTS=OFF \
+    -DPIGLIT_BUILD_GLX_TESTS=OFF \
+    -DPIGLIT_BUILD_GLES1_TESTS=ON \
+    -DPIGLIT_BUILD_GLES2_TESTS=ON \
+  .
+  $ make
+
+
 3. How to run tests
 -------------------
 
-- 
1.8.0



More information about the Piglit mailing list