mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Use Release mode for gradle for production builds and Debug for any other builds. This fixes an exception when building for android with a custom cargo profile. `SERVO_TARGET_DIR` is read in `apk/jni/Android.mk` and specifies the folder libservoshell.so is expected to be in. Testing: Tested manually with `./mach build --android --production` Fixes: #34564 --------- Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com> Signed-off-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com> Co-authored-by: Mukilan Thiyagarajan <mukilanthiagarajan@gmail.com>