MCPcopy Create free account
hub / github.com/android10/Rust-Cross-Platform-Development / ndk_dir

Method ndk_dir

rust-library/cryptor_jni/build.rs:130–137  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128struct AndroidConfig;
129impl AndroidConfig {
130 fn ndk_dir() -> String {
131 format!(
132 "{android_sdk_dir}{separator}ndk{separator}{android_ndk_version}",
133 android_sdk_dir = env::var("ANDROID_HOME").unwrap(),
134 separator = MAIN_SEPARATOR_STR,
135 android_ndk_version = ANDROID_NDK_VERSION
136 )
137 }
138
139 fn toolchains_dir() -> String {
140 format!(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected