Skip to content

Commit c6447c3

Browse files
author
Ravbug
committed
Set custom assets path, enable x86_64 builds
1 parent 9b034cb commit c6447c3

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
.DS_Store
44
app/build/
55
.cxx/
6-
local.properties
6+
local.properties
7+
app/src/main/assets

app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ android {
2020
versionName "1.0"
2121
externalNativeBuild {
2222
cmake {
23-
arguments "-DANDROID_STL=c++_static"
24-
abiFilters 'arm64-v8a'
23+
arguments "-DCMAKE_VERBOSE_MAKEFILE=ON", "-DANDROID_STL=c++_static", "-DRAVENGINE_ASSETS_DIR=${System.getProperty("user.dir")}/app/src/main/assets"
24+
abiFilters 'arm64-v8a', 'x86_64'
2525
}
2626
}
2727
}

gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ org.gradle.jvmargs=-Xmx1536m
1515
# This option should only be used with decoupled projects. More details, visit
1616
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1717
# org.gradle.parallel=true
18+
android.native.buildOutput=verbose

0 commit comments

Comments
 (0)