diff --git a/BUILD.gn b/BUILD.gn index 48f1657a48e70f4c6a798336883770bf56eac27f..a7a61e4d96cc5cb4519f298fc5b7410416635ab5 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" ] } }