Revert "Speed up ndk-build from sbt-android"

This commit is contained in:
Max Lv
2017-01-09 21:29:15 +08:00
parent 33d8139f57
commit bcbd860457
2 changed files with 1 additions and 6 deletions
+1 -1
View File
@@ -50,4 +50,4 @@ install:
fi
script:
- $SBTPATH/sbt -DNPROC=$(nproc) native-build android:package-debug
- $SBTPATH/sbt native-build android:package-debug
-5
View File
@@ -8,11 +8,6 @@ name := "shadowsocks"
version := "3.4.1"
versionCode := Some(173)
// Speed up ndk-build by reading nproc from environment
// and default to 8
val nproc = sys.props.getOrElse("NPROC", default = "8")
ndkArgs := Seq(s"-j$nproc")
platformTarget := "android-25"
compileOrder := CompileOrder.JavaThenScala