Skip to content

Commit 72cc70e

Browse files
committed
autodetecting number of cores
1 parent 41ddcb1 commit 72cc70e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ android {
2222
}
2323
externalNativeBuild {
2424
ndkBuild {
25-
arguments "APP_PLATFORM=android-21", "-j4"
25+
arguments "APP_PLATFORM=android-21", "-j" + Runtime.runtime.availableProcessors().toString()
2626
}
2727
}
2828
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

facesmash-android.iml

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<exclude-output />
1313
<content url="file://$MODULE_DIR$">
1414
<excludeFolder url="file://$MODULE_DIR$/.gradle" />
15-
<excludeFolder url="file://$MODULE_DIR$/build" />
1615
</content>
1716
<orderEntry type="jdk" jdkName="1.8" jdkType="JavaSDK" />
1817
<orderEntry type="sourceFolder" forTests="false" />

0 commit comments

Comments
 (0)