diff --git a/frameworks/BUILD.gn b/frameworks/BUILD.gn index 54404500c277eea2ed56a5a0719565d3220ae050..f6f7b595569e397553d63383e6edf5a9209068af 100644 --- a/frameworks/BUILD.gn +++ b/frameworks/BUILD.gn @@ -28,8 +28,6 @@ config("tools_bm_config") { ohos_source_set("tools_bm_source_set") { sources = [ - "${common_path}/log/src/app_log_wrapper.cpp", - "${kits_path}/js/bundlemgr/bundle_death_recipient.cpp", "src/bundle_command.cpp", "src/bundle_command_common.cpp", "src/main.cpp", @@ -52,6 +50,9 @@ ohos_source_set("tools_bm_source_set") { "ability_runtime:quickfix_manager", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", + "bundle_framework:bundle", + "bundle_framework:bundle_napi_common", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "common_event_service:cesfwk_innerkits", "hilog:libhilog", @@ -94,8 +95,6 @@ ohos_executable("bm") { ohos_source_set("tools_test_bm_source_set") { sources = [ - "${common_path}/log/src/app_log_wrapper.cpp", - "${kits_path}/js/bundlemgr/bundle_death_recipient.cpp", "src/bundle_command_common.cpp", "src/bundle_test_tool.cpp", "src/bundle_tool_callback/bundle_tool_callback_stub.cpp", @@ -119,6 +118,9 @@ ohos_source_set("tools_test_bm_source_set") { "ability_base:want", "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", + "bundle_framework:bundle", + "bundle_framework:bundle_napi_common", + "bundle_framework:libappexecfwk_common", "c_utils:utils", "common_event_service:cesfwk_innerkits", "hilog:libhilog",