1#!/bin/sh 2set -e 3 4AEMU_COMMIT_SHA=HEAD 5 6if [ ! -d aemu ] 7then 8 git clone https://android.googlesource.com/platform/hardware/google/aemu aemu 9fi 10 11cd aemu 12git checkout $AEMU_COMMIT_SHA 13 14cmake -D CMAKE_TOOLCHAIN_FILE=../../qnx.nto.toolchain.cmake \ 15 -D AEMU_COMMON_GEN_PKGCONFIG=ON \ 16 -D AEMU_COMMON_BUILD_CONFIG=gfxstream \ 17 -D ENABLE_VKCEREAL_TESTS=OFF -B build 18 19cmake --build build -j 20cmake --install build --prefix install 21