diff --git a/interfaces/inner_api/BUILD.gn b/interfaces/inner_api/BUILD.gn index b32e0f595ac2ee0b4fbc69c8f4fbb0d0bdbab27a..c821bd95f93e16c129ad5fc3264f072694f2da2f 100644 --- a/interfaces/inner_api/BUILD.gn +++ b/interfaces/inner_api/BUILD.gn @@ -28,11 +28,10 @@ ohos_shared_library("dbms_fwk") { public_configs = [ ":dbms_fwk_config" ] - deps = [ "${common_path}:libappexecfwk_common" ] - external_deps = [ "ability_base:want", "bundle_framework:appexecfwk_base", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", diff --git a/interfaces/kits/js/distributebundlemgr/BUILD.gn b/interfaces/kits/js/distributebundlemgr/BUILD.gn index 1ed9193039b6e05632631524fb7b8402ead46679..f9e016230710c92483a6b0106c5e33a483360f75 100644 --- a/interfaces/kits/js/distributebundlemgr/BUILD.gn +++ b/interfaces/kits/js/distributebundlemgr/BUILD.gn @@ -27,14 +27,12 @@ ohos_shared_library("distributedbundle") { configs = [ "${dbms_services_path}:distributed_bms_config" ] - deps = [ - "${common_path}:libappexecfwk_common", - "${dbms_inner_api_path}:dbms_fwk", - ] + deps = [ "${dbms_inner_api_path}:dbms_fwk" ] external_deps = [ "ability_base:want", "bundle_framework:appexecfwk_base", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", diff --git a/interfaces/kits/js/distributedBundle/BUILD.gn b/interfaces/kits/js/distributedBundle/BUILD.gn index 4607fa5d907a786de5a8e2f72eddf9ce051d1b06..076925fafb88ab269506f9db558b316c5d05da17 100644 --- a/interfaces/kits/js/distributedBundle/BUILD.gn +++ b/interfaces/kits/js/distributedBundle/BUILD.gn @@ -29,16 +29,14 @@ ohos_shared_library("distributedbundlemanager") { configs = [ "${dbms_services_path}:distributed_bms_config" ] - deps = [ - "${common_path}:libappexecfwk_common", - "${dbms_inner_api_path}:dbms_fwk", - "${kits_path}/js/common:bundle_napi_common", - ] + deps = [ "${dbms_inner_api_path}:dbms_fwk" ] external_deps = [ "ability_base:want", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", + "bundle_framework:bundle_napi_common", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", diff --git a/services/dbms/BUILD.gn b/services/dbms/BUILD.gn index 0fd9d833dc7a3e318afe3aef28db3d23a2d4d157..bbf74cb12b2a7bf592a79f09ad38b59bc5a414ff 100644 --- a/services/dbms/BUILD.gn +++ b/services/dbms/BUILD.gn @@ -41,10 +41,7 @@ ohos_shared_library("libdbms") { configs = [ ":distributed_bms_config" ] - deps = [ - "${common_path}:libappexecfwk_common", - "${dbms_inner_api_path}:dbms_fwk", - ] + deps = [ "${dbms_inner_api_path}:dbms_fwk" ] external_deps = [ "ability_base:want", @@ -52,6 +49,7 @@ ohos_shared_library("libdbms") { "access_token:libtokenid_sdk", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "common_event_service:cesfwk_innerkits", "device_manager:devicemanagersdk", diff --git a/services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn b/services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn index ae7d58177917276f79d44a5d511729ab996bfcc0..3ed298785d384c5d68757b124ee5743cd2fa3464 100644 --- a/services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn +++ b/services/dbms/test/unittest/dbms_services_kit_test/BUILD.gn @@ -35,10 +35,7 @@ ohos_unittest("DbmsServicesKitTest") { sources += [ "dbms_services_kit_test.cpp" ] - deps = [ - "${common_path}:libappexecfwk_common", - "${dbms_inner_api_path}:dbms_fwk", - ] + deps = [ "${dbms_inner_api_path}:dbms_fwk" ] external_deps = [ "ability_base:want", @@ -46,6 +43,7 @@ ohos_unittest("DbmsServicesKitTest") { "access_token:libtokenid_sdk", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "common_event_service:cesfwk_innerkits", "device_manager:devicemanagersdk", diff --git a/services/dbms/test/unittest/distributed_bms_host_test/BUILD.gn b/services/dbms/test/unittest/distributed_bms_host_test/BUILD.gn index fd327ec0cf64f9b678999761c9576a7af3c51830..9867751540df7fb2ecc054cd98daba507556bd00 100644 --- a/services/dbms/test/unittest/distributed_bms_host_test/BUILD.gn +++ b/services/dbms/test/unittest/distributed_bms_host_test/BUILD.gn @@ -31,7 +31,6 @@ ohos_unittest("DistributedBmsHostTest") { ] deps = [ - "${common_path}:libappexecfwk_common", "${dbms_inner_api_path}:dbms_fwk", "//third_party/googletest:gmock_main", "//third_party/googletest:gtest_main", @@ -43,6 +42,7 @@ ohos_unittest("DistributedBmsHostTest") { "access_token:libtokenid_sdk", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "common_event_service:cesfwk_innerkits", "device_manager:devicemanagersdk", diff --git a/test/fuzztest/distributedbmshost_fuzzer/BUILD.gn b/test/fuzztest/distributedbmshost_fuzzer/BUILD.gn index d923fdcd02b12e2bc92502da6b695205b50003ec..68caf6faf7334599a41fd1b62263fee891793765 100644 --- a/test/fuzztest/distributedbmshost_fuzzer/BUILD.gn +++ b/test/fuzztest/distributedbmshost_fuzzer/BUILD.gn @@ -33,15 +33,13 @@ ohos_fuzztest("DistributedBmsHostFuzzTest") { sources = [ "${dbms_services_path}/src/distributed_bms_host.cpp" ] sources += [ "distributedbmshost_fuzzer.cpp" ] - deps = [ - "${common_path}:libappexecfwk_common", - "${dbms_inner_api_path}:dbms_fwk", - ] + deps = [ "${dbms_inner_api_path}:dbms_fwk" ] external_deps = [ "ability_base:want", "access_token:libaccesstoken_sdk", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core",