Skip to content

Commit

Permalink
Set custom assets path, enable x86_64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravbug committed Dec 22, 2024
1 parent 9b034cb commit c6447c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
.DS_Store
app/build/
.cxx/
local.properties
local.properties
app/src/main/assets
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ android {
versionName "1.0"
externalNativeBuild {
cmake {
arguments "-DANDROID_STL=c++_static"
abiFilters 'arm64-v8a'
arguments "-DCMAKE_VERBOSE_MAKEFILE=ON", "-DANDROID_STL=c++_static", "-DRAVENGINE_ASSETS_DIR=${System.getProperty("user.dir")}/app/src/main/assets"
abiFilters 'arm64-v8a', 'x86_64'
}
}
}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ org.gradle.jvmargs=-Xmx1536m
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.native.buildOutput=verbose

0 comments on commit c6447c3

Please sign in to comment.