diff --git a/BUILD.gn b/BUILD.gn index 870dbae9a6a1b2a8eb82418c228feaf7d495eee1..849958bb6d49219a832703c8ba0261a4cc26a5ab 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -190,7 +190,7 @@ group("syscap_codec") { ":pcid_sc", ":syscap_interface_shared", ] - if (support_jsapi && is_standard_system) { + if (support_jsapi && is_standard_system && !ohos_indep_compiler_enable) { deps += [ "napi:systemcapability" ] } }