Skip to content

Commit

Permalink
fix BuildConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
0xh3rman committed Jun 3, 2024
1 parent 826b53d commit 7861f9d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
jobs:
unit_test:
name: Build and Test
runs-on: macos-latest
runs-on: macos-13

steps:
- name: Checkout
Expand Down
20 changes: 7 additions & 13 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,9 @@ cargo {
module = "$rootDir/core/gemstone" // Cargo.toml folder
libname = "gemstone"
pythonCommand = "python3"
if (BuildConfig.DEBUG) {
targets = listOf("x86_64")
} else {
profile = "release"
targets = listOf("arm64", "arm")
}
// profile = "release"
targets = listOf("arm64", "arm", "x86_64")

extraCargoBuildArguments = listOf("--lib")
verbose = false
}
Expand All @@ -47,12 +44,9 @@ android {
useSupportLibrary = true
}
ndk {
if (BuildConfig.DEBUG) {
abiFilters.add("x86_64")
} else {
abiFilters.add("armeabi-v7a")
abiFilters.add("arm64-v8a")
}
abiFilters.add("x86_64")
abiFilters.add("armeabi-v7a")
abiFilters.add("arm64-v8a")
}
}
signingConfigs {
Expand All @@ -67,7 +61,7 @@ android {
abi {
reset()
isEnable = false
include("armeabi-v7a", "arm64-v8a")
include("armeabi-v7a", "arm64-v8a", "x86_64")
isUniversalApk = false
}
}
Expand Down

0 comments on commit 7861f9d

Please sign in to comment.