aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/egl/ohos/simpleservo.rs
diff options
context:
space:
mode:
authorDelan Azabani <dazabani@igalia.com>2024-09-04 20:56:29 +0800
committerGitHub <noreply@github.com>2024-09-04 12:56:29 +0000
commitc0ced7a524b1c487a0b38dcb1875f2fa7fe21097 (patch)
treeb3c7bdeccbd7f5fa646f11f70ed627ad7414fba2 /ports/servoshell/egl/ohos/simpleservo.rs
parent891562be8e295d616776315e08f0ffb2bbc97c92 (diff)
downloadservo-c0ced7a524b1c487a0b38dcb1875f2fa7fe21097.tar.gz
servo-c0ced7a524b1c487a0b38dcb1875f2fa7fe21097.zip
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>
Diffstat (limited to 'ports/servoshell/egl/ohos/simpleservo.rs')
-rw-r--r--ports/servoshell/egl/ohos/simpleservo.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/servoshell/egl/ohos/simpleservo.rs b/ports/servoshell/egl/ohos/simpleservo.rs
index e23415940a2..226a5c18fc7 100644
--- a/ports/servoshell/egl/ohos/simpleservo.rs
+++ b/ports/servoshell/egl/ohos/simpleservo.rs
@@ -40,6 +40,7 @@ pub fn init(
callbacks: Box<dyn HostTrait>,
) -> Result<ServoGlue, &'static str> {
info!("Entered simpleservo init function");
+ crate::init_tracing();
resources::set(Box::new(ResourceReaderInstance::new()));
gl.clear_color(1.0, 1.0, 1.0, 1.0);