mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Add cargo feature to control canvas backend.
This commit is contained in:
parent
42bf1984be
commit
3243f1753b
11 changed files with 1077 additions and 816 deletions
|
@ -12,14 +12,15 @@ path = "lib.rs"
|
|||
crate-type = ["rlib"]
|
||||
|
||||
[features]
|
||||
max_log_level = ["log/release_max_level_info"]
|
||||
webdriver = ["webdriver_server"]
|
||||
energy-profiling = ["profile_traits/energy-profiling"]
|
||||
azure_backend = ["canvas/azure_backend"]
|
||||
debugmozjs = ["script/debugmozjs"]
|
||||
energy-profiling = ["profile_traits/energy-profiling"]
|
||||
profilemozjs = ["script/profilemozjs"]
|
||||
googlevr = ["webvr/googlevr"]
|
||||
js_backtrace = ["script/js_backtrace"]
|
||||
max_log_level = ["log/release_max_level_info"]
|
||||
native-bluetooth = ["bluetooth/native-bluetooth"]
|
||||
raqote_backend = ["canvas/raqote_backend"]
|
||||
webrender_debugger = ["webrender/debugger"]
|
||||
no_static_freetype = ["webrender/no_static_freetype"]
|
||||
oculusvr = ["webvr/oculusvr"]
|
||||
|
@ -28,6 +29,7 @@ unstable = [
|
|||
"profile/unstable",
|
||||
"script/unstable",
|
||||
]
|
||||
webdriver = ["webdriver_server"]
|
||||
webgl_backtrace = [
|
||||
"script/webgl_backtrace",
|
||||
"canvas/webgl_backtrace",
|
||||
|
@ -38,7 +40,7 @@ webgl_backtrace = [
|
|||
background_hang_monitor = {path = "../background_hang_monitor"}
|
||||
bluetooth_traits = {path = "../bluetooth_traits"}
|
||||
bluetooth = {path = "../bluetooth"}
|
||||
canvas = {path = "../canvas"}
|
||||
canvas = {path = "../canvas", default-features = false}
|
||||
canvas_traits = {path = "../canvas_traits"}
|
||||
compositing = {path = "../compositing", features = ["gl"]}
|
||||
constellation = {path = "../constellation"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue