x86.sh 312 B

1234567891011121314
  1. #!/bin/bash
  2. source "bin/init/env.sh"
  3. source "bin/plugin/naive/build.sh"
  4. mv -f out/ReleaseX86 out/Release || true
  5. export EXTRA_FLAGS='target_os="android" target_cpu="x86"'
  6. ./get-clang.sh
  7. ./build.sh
  8. DIR="$ROOT/x86"
  9. rm -rf $DIR
  10. mkdir -p $DIR
  11. cp out/Release/naive $DIR/$LIB_OUTPUT
  12. mv -f out/Release out/ReleaseX86