diff --git a/distributeddatamgr.gni b/distributeddatamgr.gni index 9e9e0446314a17488d882409d7b85217ad16ca39..e5120c6740a4fb459b9994f542a68b7327b55647 100644 --- a/distributeddatamgr.gni +++ b/distributeddatamgr.gni @@ -19,7 +19,7 @@ declare_args() { } if (!defined(global_parts_info) || - defined(global_parts_info.account_os_account_standard)) { + defined(global_parts_info.account_os_account)) { os_account_part_is_enabled = true } else { os_account_part_is_enabled = false diff --git a/services/distributeddataservice/adapter/account/BUILD.gn b/services/distributeddataservice/adapter/account/BUILD.gn index 6eb6b4419ff6bba1b47b2f01c95352bfca951b5f..9a7ea968c8a455d79f78ce11d68ca8aef7e17ce6 100755 --- a/services/distributeddataservice/adapter/account/BUILD.gn +++ b/services/distributeddataservice/adapter/account/BUILD.gn @@ -55,8 +55,8 @@ ohos_static_library("distributeddata_account_static") { sources += [ "src/account_delegate_normal_impl.cpp" ] cflags_cc += [ "-DOS_ACCOUNT_PART_IS_ENABLED" ] external_deps += [ - "os_account_standard:libaccountkits", - "os_account_standard:os_account_innerkits", + "os_account:libaccountkits", + "os_account:os_account_innerkits", ] } else { sources += [ "src/account_delegate_default_impl.cpp" ]