This commit is contained in:
John Smith
2022-03-03 20:45:39 -05:00
parent 7458d0d991
commit 98799b4d3a
20 changed files with 426 additions and 135 deletions

View File

@@ -34,6 +34,10 @@ wasm-logger = "^0"
wasm-bindgen-futures = "^0"
js-sys = "^0"
# Dependencies for Android builds only
[target.'cfg(target_os = "android")'.dependencies]
jni = "^0"
# Dev Dependencies for WASM builds only
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "^0"

View File

@@ -21,5 +21,5 @@ pub extern "system" fn Java_com_veilid_veilid_VeilidPlugin_init_1android(
_class: JClass,
ctx: JObject,
) {
crate::intf::utils::android::veilid_core_setup_android_no_log(env, ctx);
veilid_core::veilid_core_setup_android_no_log(env, ctx);
}