Struct crossbundle_tools::tools::AndroidNdk [−][src]
pub struct AndroidNdk { /* fields omitted */ }Expand description
Helper structure that contains information about the Android NDK Path and returns paths to the tools.
Implementations
Operating system type
Path to Clang
Path to bin
Displaying various information
Sysroot and lib path
pub fn sysroot_platform_lib_dir(
&self,
build_target: AndroidTarget,
min_sdk_version: u32
) -> Result<PathBuf>
pub fn sysroot_platform_lib_dir(
&self,
build_target: AndroidTarget,
min_sdk_version: u32
) -> Result<PathBuf>
Sysroot and lib platform
Helper function for looking for a path based on the platform version Calls a closure for each attempt and then return the PathBuf for the first file that exists. Uses approach that NDK build tools use which is described at: https://developer.android.com/ndk/guides/application_mk “ - The platform version matching APP_PLATFORM.
- The next available API level below APP_PLATFORM. For example, android-19 will be used when APP_PLATFORM is android-20, since there were no new native APIs in android-20.
- The minimum API level supported by the NDK.“
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AndroidNdk
impl Send for AndroidNdk
impl Sync for AndroidNdk
impl Unpin for AndroidNdk
impl UnwindSafe for AndroidNdk
Blanket Implementations
Mutably borrows from an owned value. Read more
