mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +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
36
Cargo.lock
generated
36
Cargo.lock
generated
|
@ -5391,6 +5391,30 @@ dependencies = [
|
|||
"memchr",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ohos-abilitykit-sys"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2ff6fba3cf019d0dcabc3ee41396a7180b9b6fd64bee904a27144224a9be81c7"
|
||||
dependencies = [
|
||||
"ohos-sys-opaque-types",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ohos-deviceinfo"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b8e75dc6477dd4a8bafe2e7b1feb9cf10e882d3b15903e51f320a80015a59d93"
|
||||
dependencies = [
|
||||
"ohos-deviceinfo-sys",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ohos-deviceinfo-sys"
|
||||
version = "0.1.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "e847d268f96c5ad9d03fd6bd303f9529ab3a83019497fa1c1a585aac50c378ec"
|
||||
|
||||
[[package]]
|
||||
name = "ohos-drawing-sys"
|
||||
version = "0.2.2"
|
||||
|
@ -5437,6 +5461,15 @@ version = "0.1.2"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "93e60dacb893ed4eb57e8fd9eff81b8ad0153842661b3093927bdfd861506652"
|
||||
|
||||
[[package]]
|
||||
name = "ohos-window-manager-sys"
|
||||
version = "0.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1f0b36f3adea9bae4251f2c215e5569330a59b1a150d73af3182fe92fb490570"
|
||||
dependencies = [
|
||||
"ohos-sys-opaque-types",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.21.3"
|
||||
|
@ -7086,9 +7119,12 @@ dependencies = [
|
|||
"nix",
|
||||
"objc2-app-kit 0.3.1",
|
||||
"objc2-foundation 0.3.1",
|
||||
"ohos-abilitykit-sys",
|
||||
"ohos-deviceinfo",
|
||||
"ohos-ime",
|
||||
"ohos-ime-sys",
|
||||
"ohos-vsync",
|
||||
"ohos-window-manager-sys",
|
||||
"raw-window-handle",
|
||||
"rustls",
|
||||
"serde_json",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue