mirror of
https://github.com/servo/servo.git
synced 2025-09-27 15:20:09 +01:00
OHOS: Use native API to get most of the information needed for starting servoshell. (#37392)
Uses the native ohos-api crates to get the required information for starting servoshell. This increases the minimum API version requirement to API-14. Testing: Tested on device. --------- Signed-off-by: Narfinger <Narfinger@users.noreply.github.com> Co-authored-by: Jonathan Schwender <55576758+jschwe@users.noreply.github.com>
This commit is contained in:
parent
7a801f0ef5
commit
099fd10317
6 changed files with 95 additions and 47 deletions
|
@ -85,15 +85,17 @@ backtrace = { workspace = true }
|
|||
env_filter = "0.1.3"
|
||||
euclid = { workspace = true }
|
||||
hilog = "0.2.0"
|
||||
# force inprocess, until libc-rs 0.2.156 is released containing
|
||||
# https://github.com/rust-lang/libc/commit/9e248e212c5602cb4e98676e4c21ea0382663a12
|
||||
# force inprocess until we add multi-process support for ohos
|
||||
ipc-channel = { workspace = true, features = ["force-inprocess"] }
|
||||
napi-derive-ohos = "1.0.4"
|
||||
napi-ohos = "1.0.4"
|
||||
ohos-ime = "0.4.0"
|
||||
ohos-ime-sys = "0.2.0"
|
||||
ohos-deviceinfo = "0.1.0"
|
||||
ohos-abilitykit-sys = { version = "0.1.0", features = ["api-14"] }
|
||||
ohos-vsync = "0.1.3"
|
||||
xcomponent-sys = { version = "0.3.1", features = ["api-12", "keyboard-types"] }
|
||||
ohos-window-manager-sys = { version = "0.1", features = ["api-14"] }
|
||||
xcomponent-sys = { version = "0.3.1", features = ["api-14", "keyboard-types"] }
|
||||
|
||||
[target.'cfg(any(target_os = "android", target_env = "ohos"))'.dependencies]
|
||||
nix = { workspace = true, features = ["fs"] }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue