diff --git a/BUILD.gn b/BUILD.gn index ed2293f13d408bb607565e55e2dd1dab73145156..bffca4ab4d991d8f23bcd8b17816e09ee386e536 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -17,10 +17,12 @@ if (defined(ohos_lite)) { # is on lite Os for ipcamera lite_component("jerry_engine") { features = [ "jerry-core", - "jerry-libm", "jerry-ext", "jerry-port/default:jerry-port-default", ] + if (ohos_kernel_type != "liteos_m") { + features += [ "jerry_libm" ] + } } } else { import("//build/ohos.gni")