allwinner_a64/android/system/chre/run_sim.sh
2018-08-08 17:48:24 +08:00

13 lines
327 B
Bash
Executable file

#!/bin/bash
# Quit if any command produces an error.
set -e
# Build and run the CHRE simulator.
JOB_COUNT=$((`grep -c ^processor /proc/cpuinfo`))
# Export the variant Makefile.
export CHRE_VARIANT_MK_INCLUDES=variant/simulator/variant.mk
make google_x86_linux_debug -j$JOB_COUNT
./out/google_x86_linux_debug/libchre ${@:1}