diff --git a/test/unittest/BUILD.gn b/test/unittest/BUILD.gn index eba837285b80112923588934ba6d716cac7bfda1..929ac4d8f372cdd50ca6f7e238e303238693a5e5 100755 --- a/test/unittest/BUILD.gn +++ b/test/unittest/BUILD.gn @@ -205,7 +205,6 @@ ohos_unittest("init_unittest") { ] deps = [ - "${FSCRYPT_PATH}/libfscrypt:libfscryptutils_static", "//base/customization/config_policy/frameworks/config_policy:configpolicy_util_for_init_static", "//base/security/access_token/interfaces/innerkits/nativetoken:libnativetoken", "//base/security/access_token/interfaces/innerkits/token_setproc:libtoken_setproc", @@ -217,6 +216,8 @@ ohos_unittest("init_unittest") { "//utils/native/base:utils", ] + deps += [ "${FSCRYPT_PATH}/libfscrypt:libfscryptutils_static" ] + defines = [ "READ_CHECK", "INIT_AGENT",