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

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


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

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

diff --git a/README b/README
index d9e6d73..f6ff5bd 100644
--- a/README
+++ b/README
@@ -182,6 +182,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