mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Make tracing available on all platforms, with or without perfetto (#33301)
* Make tracing available on all platforms Signed-off-by: Delan Azabani <dazabani@igalia.com> * Gate perfetto support behind its own feature Signed-off-by: Delan Azabani <dazabani@igalia.com> --------- Signed-off-by: Delan Azabani <dazabani@igalia.com>
This commit is contained in:
parent
891562be8e
commit
c0ced7a524
8 changed files with 33 additions and 79 deletions
|
@ -25,6 +25,8 @@ fn main() {
|
|||
if #[cfg(not(any(target_os = "android", target_env = "ohos")))] {
|
||||
servoshell::main()
|
||||
} else {
|
||||
// Android: see ports/servoshell/egl/android/simpleservo.rs.
|
||||
// OpenHarmony: see ports/servoshell/egl/ohos/simpleservo.rs.
|
||||
println!(
|
||||
"Cannot run the servoshell `bin` executable on platforms such as \
|
||||
Android or OpenHarmony. On these platforms you need to compile \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue