mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-24 23:36:04 +00:00
GFN build: versioned Android target for bindgen
This commit is contained in:
1 parent
53b5fde2ff
commit
57578501e5
1 file changed
+2
@@ -337,6 +337,8 @@ def gfnCargoEnvironment = { Exec task ->
|
||||
task.environment 'PATH', "${cargoBin}${File.pathSeparator}${System.getenv('PATH')}"
|
||||
task.environment 'ANDROID_NDK_HOME', android.ndkDirectory.absolutePath
|
||||
task.environment 'CARGO_TERM_COLOR', 'never'
|
||||
// bindgen (the mtu crate) otherwise passes an unversioned Android triple, which the NDK headers reject.
|
||||
task.environment 'BINDGEN_EXTRA_CLANG_ARGS_aarch64_linux_android', '--target=aarch64-linux-android29'
|
||||
}
|
||||
def buildGfnHost = tasks.register('buildGfnHost', Exec) {
|
||||
description = 'Cross-compiles the GeForce NOW streamer host (libdroiddeckgfn.so) with cargo-ndk.'
|
||||
|
||||
Reference in new issue
Block a user