summaryrefslogtreecommitdiffhomepage
path: root/android/app
diff options
context:
space:
mode:
Diffstat (limited to 'android/app')
-rw-r--r--android/app/build.gradle.kts5
1 files changed, 4 insertions, 1 deletions
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index 24172279fc..63c2e477ff 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -279,7 +279,10 @@ cargo {
add("--package=mullvad-jni")
add("--locked")
}
- exec = { spec, _ -> spec.environment("RUSTFLAGS", generateRemapArguments()) }
+ exec = { spec, _ ->
+ if (getBooleanProperty("mullvad.app.build.replaceRustPathPrefix"))
+ spec.environment("RUSTFLAGS", generateRemapArguments())
+ }
}
tasks.register<Exec>("cargoClean") {