部件依赖

Signed-off-by: lpf <liaopengfei@h-partners.com>
This commit is contained in:
lpf 2024-10-29 21:29:18 +08:00
parent 90141ab020
commit 37d93946ed
7 changed files with 20 additions and 13 deletions

View File

@ -133,12 +133,12 @@ ohos_shared_library("libdm") {
external_deps = [
"ability_runtime:ability_manager",
"c_utils:utils",
"graphic_2d:librender_service_base",
"graphic_2d:librender_service_client",
"hilog:libhilog",
"image_framework:image_native",
"ipc:ipc_single",
"samgr:samgr_proxy",
"graphic_2d:librender_service_base",
]
innerapi_tags = [ "platformsdk" ]
@ -194,6 +194,7 @@ ohos_shared_library("libdm_ndk") {
"c_utils:utils",
"hilog:libhilog",
"image_framework:pixelmap",
"ipc:ipc_core",
]
part_name = "window_manager"

View File

@ -199,6 +199,7 @@ ohos_shared_library("libwmutil") {
"c_utils:utils",
"eventhandler:libeventhandler",
"graphic_2d:2d_graphics",
"graphic_2d:librender_service_base",
"graphic_2d:librender_service_client",
"graphic_surface:surface",
"hicollie:libhicollie",

View File

@ -30,9 +30,9 @@ namespace Rosen {
namespace {
constexpr HiviewDFX::HiLogLabel LABEL = { LOG_CORE, HILOG_DOMAIN_WINDOW, "IntentionEventManager" };
constexpr int32_t TRANSPARENT_FINGER_ID = 10000;
constexpr int32_t DELAY_TIME = 15;
constexpr unsigned int FREQUENT_CLICK_TIME_LIMIT = 3;
constexpr int FREQUENT_CLICK_COUNT_LIMIT = 8;
[[maybe_unused]] constexpr int32_t DELAY_TIME = 15;
[[maybe_unused]] constexpr unsigned int FREQUENT_CLICK_TIME_LIMIT = 3;
[[maybe_unused]] constexpr int FREQUENT_CLICK_COUNT_LIMIT = 8;
static const bool IS_BETA = OHOS::system::GetParameter("const.logsystem.versiontype", "").find("beta") !=
std::string::npos;

View File

@ -121,12 +121,14 @@ ohos_shared_library("screen_session_manager") {
"ability_runtime:app_manager",
"ability_runtime:dataobs_manager",
"ability_runtime:extension_manager",
"bundle_framework:appexecfwk_base",
"c_utils:utils",
"common_event_service:cesfwk_innerkits",
"config_policy:configpolicy_util",
"data_share:datashare_common",
"data_share:datashare_consumer",
"eventhandler:libeventhandler",
"graphic_2d:librender_service_base",
"graphic_2d:librender_service_client",
"hicollie:libhicollie",
"hilog:libhilog",

View File

@ -83,9 +83,11 @@ ohos_shared_library("scene_session") {
"ability_runtime:start_window_option",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"bundle_framework:libappexecfwk_common",
"c_utils:utils",
"eventhandler:libeventhandler",
"ffrt:libffrt",
"graphic_2d:librender_service_base",
"graphic_2d:librender_service_client",
"hilog:libhilog",
"hisysevent:libhisysevent",
@ -94,7 +96,7 @@ ohos_shared_library("scene_session") {
"init:libbegetutil",
"input:libmmi-client",
"ipc:ipc_single",
"graphic_2d:librender_service_base",
"samgr:samgr_proxy",
]
if (!(host_os == "linux" && host_cpu == "arm64")) {
external_deps += [ "preferences:native_preferences" ]
@ -178,13 +180,13 @@ ohos_shared_library("screen_session") {
external_deps = [
"c_utils:utils",
"graphic_2d:librender_service_base",
"graphic_2d:librender_service_client",
"hicollie:libhicollie",
"hilog:libhilog",
"hisysevent:libhisysevent",
"hitrace:hitrace_meter",
"init:libbegetutil",
"graphic_2d:librender_service_base",
]
public_external_deps = [
"ability_base:base",

View File

@ -114,11 +114,14 @@ ohos_shared_library("scene_session_manager") {
"ace_engine:ace_uicontent",
"bundle_framework:appexecfwk_base",
"bundle_framework:appexecfwk_core",
"bundle_framework:libappexecfwk_common",
"c_utils:utils",
"config_policy:configpolicy_util",
"dsoftbus:softbus_client",
"eventhandler:libeventhandler",
"ffrt:libffrt",
"graphic_2d:librender_service_base",
"graphic_2d:librender_service_base",
"graphic_2d:librender_service_client",
"hicollie:libhicollie",
"hilog:libhilog",
@ -130,12 +133,10 @@ ohos_shared_library("scene_session_manager") {
"ipc:ipc_single",
"libxml2:libxml2",
"napi:ace_napi",
"resource_management:global_resmgr",
"samgr:samgr_proxy",
"safwk:system_ability_fwk",
"bundle_framework:libappexecfwk_common",
"preferences:native_preferences",
"graphic_2d:librender_service_base",
"resource_management:global_resmgr",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
]
defines = []
@ -230,13 +231,13 @@ ohos_shared_library("session_manager") {
"ability_runtime:app_manager",
"ability_runtime:mission_info",
"c_utils:utils",
"graphic_2d:librender_service_base",
"graphic_2d:librender_service_client",
"hilog:libhilog",
"image_framework:image_native",
"ipc:ipc_single",
"safwk:system_ability_fwk",
"samgr:samgr_proxy",
"graphic_2d:librender_service_base",
]
innerapi_tags = [ "platformsdk_indirect" ]

View File

@ -121,7 +121,7 @@ const std::string ARG_DUMP_PIPLINE = "-p";
const std::string ARG_DUMP_SCB = "-b";
const std::string ARG_DUMP_DETAIL = "-c";
constexpr uint64_t NANO_SECOND_PER_SEC = 1000000000; // ns
const int32_t LOGICAL_DISPLACEMENT_32 = 32;
[[maybe_unused]] const int32_t LOGICAL_DISPLACEMENT_32 = 32;
constexpr int32_t GET_TOP_WINDOW_DELAY = 100;
constexpr int32_t FFRT_USER_INTERACTIVE_MAX_THREAD_NUM = 5;