diff --git a/BUILD.gn b/BUILD.gn index 48f1657..a7a61e4 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -148,7 +148,7 @@ group("syscap_codec") { ":syscap_interface_shared", ":syscap_tool_shared", ] - if (support_jsapi) { + if (support_jsapi && is_standard_system) { deps += [ "napi:systemcapability" ] } }