diff --git a/interfaces/api/js/napi/backup_ext/BUILD.gn b/interfaces/api/js/napi/backup_ext/BUILD.gn index 04ca0cb3767ad7241b801797419b547c9be1a438..f3ab4f82e5315703c4d6434c9892def8df8f35e0 100644 --- a/interfaces/api/js/napi/backup_ext/BUILD.gn +++ b/interfaces/api/js/napi/backup_ext/BUILD.gn @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni") +import("//build/config/components/ets_frontend/es2abc_config.gni") import("//build/ohos.gni") import("//foundation/filemanagement/app_file_service/backup.gni") diff --git a/interfaces/api/js/napi/backup_ext_context/BUILD.gn b/interfaces/api/js/napi/backup_ext_context/BUILD.gn index fbcecb500f13f9abb2c36e32dd50060a0a6f4d91..1d6fff54097f600aa8dfccc553e3f420076dbf6c 100644 --- a/interfaces/api/js/napi/backup_ext_context/BUILD.gn +++ b/interfaces/api/js/napi/backup_ext_context/BUILD.gn @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//arkcompiler/ets_frontend/es2panda/es2abc_config.gni") +import("//build/config/components/ets_frontend/es2abc_config.gni") import("//build/ohos.gni") import("//foundation/filemanagement/app_file_service/backup.gni") diff --git a/test/fuzztest/fileshare_fuzzer/BUILD.gn b/test/fuzztest/fileshare_fuzzer/BUILD.gn index d9f20cbec624f1cb86f0d3463106880ec3e26c33..f2a854d5b07e922c9b6ad45d6489d330233079ec 100644 --- a/test/fuzztest/fileshare_fuzzer/BUILD.gn +++ b/test/fuzztest/fileshare_fuzzer/BUILD.gn @@ -44,6 +44,7 @@ ohos_fuzztest("FileShareFuzzTest") { external_deps = [ "access_token:libaccesstoken_sdk", "access_token:libnativetoken", + "access_token:libnativetoken_shared", "access_token:libtoken_setproc", ] } diff --git a/test/fuzztest/svcrestoredepsmanager_fuzzer/BUILD.gn b/test/fuzztest/svcrestoredepsmanager_fuzzer/BUILD.gn index 749cdcc0594821610180385b903cba280fef06ea..15294692a2a2b2dc7af02d05c1fc4cd2ac376035 100644 --- a/test/fuzztest/svcrestoredepsmanager_fuzzer/BUILD.gn +++ b/test/fuzztest/svcrestoredepsmanager_fuzzer/BUILD.gn @@ -43,7 +43,9 @@ ohos_fuzztest("SvcRestoreDepsManagerFuzzTest") { external_deps = [ "bounds_checking_function:libsec_shared", + "c_utils:utils", "hilog:libhilog", + "ipc:ipc_core", "jsoncpp:jsoncpp", ] diff --git a/tests/unittests/backup_api/backup_impl/BUILD.gn b/tests/unittests/backup_api/backup_impl/BUILD.gn index f0ca34c4ecae0005340f19f392fed6b5143534c2..4e786fa2172887797af1d4d740e6bbda48bdbbd7 100644 --- a/tests/unittests/backup_api/backup_impl/BUILD.gn +++ b/tests/unittests/backup_api/backup_impl/BUILD.gn @@ -80,6 +80,7 @@ ohos_unittest("backup_sa_impl_test") { "hitrace:hitrace_meter", "init:libbegetutil", "ipc:ipc_core", + "samgr:dynamic_cache", "samgr:samgr_proxy", ] diff --git a/tests/unittests/backup_sa/module_external/BUILD.gn b/tests/unittests/backup_sa/module_external/BUILD.gn index 8ada8a2a262d26842ba16c80e9cbde6672702bb9..a161cb53634b29ab841663d03231c403e9703cbe 100644 --- a/tests/unittests/backup_sa/module_external/BUILD.gn +++ b/tests/unittests/backup_sa/module_external/BUILD.gn @@ -54,6 +54,7 @@ ohos_unittest("bms_adapter_test") { "ipc:ipc_core", "jsoncpp:jsoncpp", "safwk:system_ability_fwk", + "samgr:dynamic_cache", "samgr:samgr_proxy", "storage_service:storage_manager_sa_proxy", ] diff --git a/tests/unittests/backup_sa/module_ipc/BUILD.gn b/tests/unittests/backup_sa/module_ipc/BUILD.gn index 9fec3e0118b11666578da9882a6913635f74e363..c5d4137917d80ea0575fcdb405af5a0b078fd447 100644 --- a/tests/unittests/backup_sa/module_ipc/BUILD.gn +++ b/tests/unittests/backup_sa/module_ipc/BUILD.gn @@ -281,6 +281,7 @@ ohos_unittest("backup_service_session_test") { "ipc:ipc_core", "jsoncpp:jsoncpp", "safwk:system_ability_fwk", + "samgr:dynamic_cache", "samgr:samgr_proxy", "storage_service:storage_manager_sa_proxy", ] diff --git a/tests/unittests/backup_utils/BUILD.gn b/tests/unittests/backup_utils/BUILD.gn index 79370309e30a1fe4f56e7857879abe0087ee21bf..9a1d706712a71784e2854eec6f81ed50c535521c 100644 --- a/tests/unittests/backup_utils/BUILD.gn +++ b/tests/unittests/backup_utils/BUILD.gn @@ -57,7 +57,10 @@ ohos_unittest("b_error_test") { "${path_backup}/utils/:backup_utils", ] - external_deps = [ "hilog:libhilog" ] + external_deps = [ + "c_utils:utils", + "hilog:libhilog", + ] defines = [ "private = public" ] diff --git a/tests/utils/BUILD.gn b/tests/utils/BUILD.gn index ca63cd1ca5f9593e56662ceb73012e70b2355eaa..999fea459b9c4ce0f5cbc4aa5dc7fec7f40484da 100644 --- a/tests/utils/BUILD.gn +++ b/tests/utils/BUILD.gn @@ -38,6 +38,7 @@ ohos_static_library("backup_test_utils") { deps = [ "${path_backup}/utils:backup_utils" ] external_deps = [ + "c_utils:utils", "googletest:gmock_main", "googletest:gtest_main", "hilog:libhilog",