Skip to content

Commit

Permalink
Replace engine binaries with manually compiled engines from https://g…
Browse files Browse the repository at this point in the history
  • Loading branch information
gkalab committed Dec 9, 2023
1 parent 7396391 commit 891b427
Show file tree
Hide file tree
Showing 23 changed files with 90 additions and 32 deletions.
3 changes: 3 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions StockfishChessEngine/.idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions StockfishChessEngine/.idea/deploymentTargetDropDown.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 11 additions & 6 deletions StockfishChessEngine/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions StockfishChessEngine/.idea/jarRepositories.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions StockfishChessEngine/.idea/migrations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions StockfishChessEngine/build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:4.0.2'
}
}

allprojects {
repositories {
jcenter()
mavenCentral()
google()
}
}
7 changes: 3 additions & 4 deletions StockfishChessEngine/chessEngineSupportLibrary/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
apply plugin: 'com.android.library'

android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
compileSdkVersion 33

defaultConfig {
minSdkVersion 14
targetSdkVersion 28
minSdkVersion 16
targetSdkVersion 33
}

buildTypes {
Expand Down
4 changes: 2 additions & 2 deletions StockfishChessEngine/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Aug 22 22:34:04 CEST 2019
#Thu Aug 06 17:29:27 CEST 2020
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip
9 changes: 5 additions & 4 deletions StockfishChessEngine/stockfishChessEngine/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 28
buildToolsVersion "28.0.3"
compileSdkVersion 33

defaultConfig {
applicationId "com.kalab.chess.stockfishengine"
minSdkVersion 14
targetSdkVersion 28
versionCode=3
versionName="3.0"
minSdkVersion 16
targetSdkVersion 33
}

buildTypes {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.kalab.chess.stockfishengine"
android:versionCode="1"
android:versionName="10" >
package="com.kalab.chess.stockfishengine">

<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="Stockfish Chess Engine"
android:label="StockfishSmallNPS 16"
android:theme="@android:style/Theme.Translucent.NoTitleBar" >
<activity
android:name="com.kalab.chess.stockfishengine.MainActivity"
android:label="Stockfish Chess Engine" >
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@
<enginelist>

<engine
name="Stockfish 10"
filename="libstockfish.so"
target="armeabi|armeabi-v7a|arm64-v8a|x86|x86_64|mips|mips64" />

<engine
name="asmFish 9"
filename="asmFishL_9_popcnt.so"
target="x86_64" />
name="StockfishSmallNPS 16"
filename="libsf.so"
target="arm64-v8a|armeabi-v7a" />

</enginelist>

0 comments on commit 891b427

Please sign in to comment.