diff --git a/common/BUILD.gn b/common/BUILD.gn index 5af7eedc36637937123eeef07149f706d613ec03..d0179d84013d8dae007e2a6bd82605086fba0873 100644 --- a/common/BUILD.gn +++ b/common/BUILD.gn @@ -48,8 +48,10 @@ ohos_shared_library("libappexecfwk_common") { } } - public_configs = [ ":appexecfwk_common_config" ] - + public_configs = [ + ":appexecfwk_common_config", + ":bundle_all_dependent_config", + ] all_dependent_configs = [ ":bundle_all_dependent_config" ] external_deps = [ diff --git a/interfaces/inner_api/appexecfwk_base/BUILD.gn b/interfaces/inner_api/appexecfwk_base/BUILD.gn index a41066f47cc3a319c53162ca253b1e34de99de4d..0b5c1f205f340fa14f93294f9de50e9f39a38b44 100644 --- a/interfaces/inner_api/appexecfwk_base/BUILD.gn +++ b/interfaces/inner_api/appexecfwk_base/BUILD.gn @@ -35,6 +35,13 @@ config("bundle_all_dependent_config") { ] } +config("bundle_base_dependent_config") { + include_dirs = [ + "include", + "include/clone", + ] +} + ohos_shared_library("appexecfwk_base") { branch_protector_ret = "pac_ret" sources = [ @@ -91,8 +98,10 @@ ohos_shared_library("appexecfwk_base") { "src/skill.cpp", ] - public_configs = [ ":appexecfwk_base_sdk_config" ] - + public_configs = [ + ":appexecfwk_base_sdk_config", + ":bundle_base_dependent_config", + ] all_dependent_configs = [ ":bundle_all_dependent_config" ] defines = [ @@ -128,6 +137,7 @@ ohos_shared_library("appexecfwk_base") { public_external_deps = [ "ability_base:base", "ability_base:want", + "common_event_service:cesfwk_innerkits", "json:nlohmann_json_static", ] diff --git a/interfaces/inner_api/appexecfwk_core/BUILD.gn b/interfaces/inner_api/appexecfwk_core/BUILD.gn index e08b7e6ae56880bfd3b2441393c4f164649e9222..b88aec83a2b1c239fe25df5174b1742282f9e8b0 100644 --- a/interfaces/inner_api/appexecfwk_core/BUILD.gn +++ b/interfaces/inner_api/appexecfwk_core/BUILD.gn @@ -64,6 +64,7 @@ ohos_shared_library("appexecfwk_core") { public_configs = [ ":appexecfwk_core_config", ":bundlemgr_sdk_config", + "${base_path}:bundle_base_dependent_config", ] defines = [ @@ -167,6 +168,7 @@ ohos_shared_library("bundlemgr_mini") { public_configs = [ ":appexecfwk_core_config", ":bundlemgr_sdk_config", + "${base_path}:bundle_base_dependent_config", ] defines = [ diff --git a/interfaces/inner_api/bundlemgr_graphics/BUILD.gn b/interfaces/inner_api/bundlemgr_graphics/BUILD.gn index 64c132e9d68a446f717fb68772a051648eb6e92b..5290645ad8788f00b04631128a17e8c2670cc513 100644 --- a/interfaces/inner_api/bundlemgr_graphics/BUILD.gn +++ b/interfaces/inner_api/bundlemgr_graphics/BUILD.gn @@ -36,6 +36,7 @@ ohos_shared_library("bundlemgr_graphics") { cflags += [ "-DBINDER_IPC_32BIT" ] } deps = [ + "${base_path}:appexecfwk_base", "${common_path}:libappexecfwk_common", "${core_path}:appexecfwk_core", ] diff --git a/services/bundlemgr/BUILD.gn b/services/bundlemgr/BUILD.gn index dd364ad4915daa722257ce659fbce81f2d9fcbcd..90e0b6447376a743f2575f2523ae72e16c08f3eb 100644 --- a/services/bundlemgr/BUILD.gn +++ b/services/bundlemgr/BUILD.gn @@ -610,7 +610,10 @@ ohos_shared_library("bundle_tool_libs") { sources = [ "${kits_path}/js/bundlemgr/bundle_death_recipient.cpp" ] - deps = [ "${core_path}:appexecfwk_core" ] + deps = [ + "${common_path}:libappexecfwk_common", + "${core_path}:appexecfwk_core", + ] external_deps = [ "c_utils:utils",