mirror of
https://github.com/servo/servo
synced 2026-04-27 01:55:03 +02:00
This brings the version of WebRender used in Servo up-to-date with Gecko upstream. The big change here is that HiDPI is no longer handled via WebRender. Instead this happens via a scale applied to the root layer in the compositor. In addition to this change, various changes are made to Servo to adapt to the new WebRender API. Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
54 lines
1.5 KiB
TOML
54 lines
1.5 KiB
TOML
[package]
|
|
name = "simpleservo_jniapi"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
edition = "2018"
|
|
publish = false
|
|
build = "build.rs"
|
|
|
|
[lib]
|
|
name = "simpleservo"
|
|
crate-type = ["cdylib"]
|
|
test = false
|
|
bench = false
|
|
|
|
[dependencies]
|
|
android_logger = "0.13"
|
|
getopts = { workspace = true }
|
|
ipc-channel = { workspace = true }
|
|
jni = "0.18.0"
|
|
libc = { workspace = true }
|
|
libloading = "0.8"
|
|
libservo = { path = "../../components/servo" }
|
|
log = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
servo-media = { workspace = true }
|
|
surfman = { workspace = true, features = ["sm-angle-default"] }
|
|
webxr = { git = "https://github.com/servo/webxr" }
|
|
|
|
[build-dependencies]
|
|
cc = "1.0"
|
|
gl_generator = "0.14"
|
|
serde_json = { workspace = true }
|
|
vergen = { version = "8.0.0", features = ["git", "gitcl"] }
|
|
|
|
[features]
|
|
debugmozjs = ["libservo/debugmozjs"]
|
|
# TODO: Once the native-bluetooth feature works for
|
|
# Android, re-add it here.
|
|
default = ["max_log_level", "webdriver"]
|
|
googlevr = ["libservo/googlevr"]
|
|
jitspew = ["libservo/jitspew"]
|
|
js_backtrace = ["libservo/js_backtrace"]
|
|
max_log_level = ["log/release_max_level_info"]
|
|
media-gstreamer = ["libservo/media-gstreamer"]
|
|
native-bluetooth = ["libservo/native-bluetooth"]
|
|
dynamic_freetype = ["libservo/dynamic_freetype"]
|
|
no-wgl = ["libservo/no-wgl"]
|
|
profilemozjs = ["libservo/profilemozjs"]
|
|
refcell_backtrace = ["libservo/refcell_backtrace"]
|
|
webdriver = ["libservo/webdriver"]
|
|
webgl_backtrace = ["libservo/webgl_backtrace"]
|
|
xr-profile = ["libservo/xr-profile"]
|