diff --git a/BUILD.gn b/BUILD.gn index d1fc028..2303914 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -14,7 +14,7 @@ import("./config_policy.gni") group("config_policy_components") { - if (os_level == "standard" && support_config_policy_napi && support_jsapi) { + if (os_level == "standard" && config_policy_api_support && support_jsapi) { deps = [ "./frameworks/config_policy:configpolicy_util", "./interfaces/kits/cj:cj_config_policy_ffi", diff --git a/config_policy.gni b/config_policy.gni index c4a6a69..c86e5cb 100644 --- a/config_policy.gni +++ b/config_policy.gni @@ -15,6 +15,6 @@ declare_args() { # if fs has prefix before OH path, set it here config_policy_fs_prefix = "" - # Whether support napi so - support_config_policy_napi = true + # Whether support api so + config_policy_api_support = true }