aboutsummaryrefslogtreecommitdiffstats
path: root/ports/servoshell/egl/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'ports/servoshell/egl/mod.rs')
-rw-r--r--ports/servoshell/egl/mod.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/ports/servoshell/egl/mod.rs b/ports/servoshell/egl/mod.rs
index 80c34a5bbb9..23c856d2dee 100644
--- a/ports/servoshell/egl/mod.rs
+++ b/ports/servoshell/egl/mod.rs
@@ -2,8 +2,15 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
-#[cfg(target_os = "android")]
+#[cfg(any(target_os = "android", target_env = "ohos"))]
pub mod gl_glue;
#[cfg(target_os = "android")]
mod android;
+
+#[cfg(target_env = "ohos")]
+mod ohos;
+
+mod host_trait;
+mod resources;
+mod servo_glue;