mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 02:50:30 +01:00
484bcbfea6
# Objective This PR will allow to develop and use gpui ohos platform's crate.We need to use ohos instead of linux logic. ## Solution - Avoid linux logic when target is ohos. - Add gesture for ohos. ## Testing I've already test it in HarmonyOS emulator and physical HarmonyOS device. ## Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content adheres to Zed's UI standards ([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) and [icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md) guidelines) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable ## Showcase I made a gpui backend crate for OpenHarmony [gpui-ohos](https://github.com/ohos-rs/gpui-ohos) and Using it to develop an application which already publish into Huawei store for a long time. Here is [source code](https://github.com/richerfu/nearsend/pull/14) Here is a video to show it. https://github.com/user-attachments/assets/26efe4f7-d5ef-473f-8dbd-e30ab14ec186 --- Release Notes: - [GPUI] N/A