Skip to content

Commit f0a56c7

Browse files
committed
ci: switched to using rust-android-gradle for building aw-server-rust
1 parent 2f68af6 commit f0a56c7

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

mobile/build.gradle

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ dependencies {
7070
}
7171

7272
// Can be used to build with: ./gradlew cargoBuild
73-
// NOTE: Doesn't work, chokes on building openssl-sys
7473
apply plugin: 'org.mozilla.rust-android-gradle.rust-android'
7574

7675
cargo {
@@ -82,10 +81,9 @@ cargo {
8281

8382
tasks.whenTaskAdded { task ->
8483
// TODO: Build aw-server lib here instead of in Makefile?
85-
// Doesn't work, chokes on building openssl-sys
86-
//if ((task.name == 'javaPreCompileDebug' || task.name == 'javaPreCompileRelease')) {
87-
// task.dependsOn 'cargoBuild'
88-
//}
84+
if ((task.name == 'javaPreCompileDebug' || task.name == 'javaPreCompileRelease')) {
85+
task.dependsOn 'cargoBuild'
86+
}
8987

9088
// TODO: Build aw-webui here?
9189
//if (task.name.contains("assembleRelease")) {

0 commit comments

Comments
 (0)