diff --git a/BUILD.gn b/BUILD.gn index d1fc028d12692b643a8c9315c6bc47c7c812d890..23039147e2ce2d0630f59b24fc32c9cc69b75644 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 c4a6a69d336d155a901fb1a697dc5d7c45ff9b3c..c86e5cb78ef21dcaf28614992deb2c45299dff02 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 }