You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
AssetManager: use libandroidfw to read assets straight from the apk file
they can still be put on the filesystem and will be read from there preferentially, though overriding assets in this way can confuse some creatively written apps and cause them to crash.
This commit is contained in:
@@ -63,6 +63,9 @@ libandroid_so = shared_library('android', [
|
||||
soversion: 0,
|
||||
dependencies: [
|
||||
dependency('gtk4'), dependency('jni'), dependency('vulkan'), dependency('openxr').partial_dependency(includes: true)
|
||||
],
|
||||
c_args: [
|
||||
'-D_LARGEFILE64_SOURCE',
|
||||
])
|
||||
|
||||
libtranslationlayer_so = shared_library('translation_layer_main', [
|
||||
@@ -142,6 +145,9 @@ libtranslationlayer_so = shared_library('translation_layer_main', [
|
||||
link_with: [ libandroid_so ],
|
||||
link_args: [
|
||||
'-lasound'
|
||||
],
|
||||
c_args: [
|
||||
'-D_LARGEFILE64_SOURCE',
|
||||
])
|
||||
|
||||
executable('android-translation-layer', [
|
||||
|
||||
Reference in New Issue
Block a user