[package] name = "dinovision-android" version = "0.1.0" publish = false edition = "2024" [lib] name = "dinobench" path = "src/lib.rs" crate-type = ["cdylib"] [target.'cfg(target_os = "android")'.dependencies] dinovision = { path = ".." } android-activity = { version = "0.6", features = ["native-activity"] } android_logger = "0.14" log = "0.4" [package.metadata.android] build_targets = ["aarch64-linux-android"] label = "DinoVision Bench" [package.metadata.android.sdk] # API 30 matches the NDK clang wrapper configured in ../.cargo/config.toml. # The passthrough-camera phase needs 34, and NDK r26+ to go with it. min_sdk_version = 30 target_sdk_version = 30 [package.metadata.android.signing.release] path = "../../blade/examples-android/keystore/debug.keystore" keystore_password = "android" key_alias = "androiddebugkey" key_password = "android" [package.metadata.android.application] label = "DinoVision Bench" # Deliberately a plain 2D Android app, not a VR one: the benchmark answers # a pure compute question, so there is no reason to drag OpenXR, a # stereo swapchain, or the compositor into the measurement. It launches as # a flat panel on the headset and logs to logcat. [package.metadata.android.application.activity] label = "DinoVision Bench" config_changes = "density|keyboard|keyboardHidden|navigation|orientation|screenLayout|screenSize|uiMode" launch_mode = "singleTask" orientation = "landscape" [[package.metadata.android.application.activity.intent_filter]] actions = ["android.intent.action.MAIN"] categories = ["android.intent.category.LAUNCHER"]