mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-22 22:41:00 +00:00
feature_fix
Signed-off-by: l30031422 <liwei769@huawei.com> Change-Id: I43751c1ffedcd80bc7969f079de0de6a59976429
This commit is contained in:
parent
ea66d03026
commit
8c4c206bd2
@ -17,6 +17,7 @@
|
||||
"SystemCapability.Window.SessionManager"
|
||||
],
|
||||
"features": [
|
||||
"window_manager_use_sceneboard",
|
||||
"window_manager_feature_coverage = false",
|
||||
"window_manager_dayu210_resource_config",
|
||||
"window_manager_feature_subscribe_motion",
|
||||
|
@ -72,7 +72,7 @@ ohos_shared_library("libdm_lite") {
|
||||
|
||||
group("test") {
|
||||
testonly = true
|
||||
if (scene_board_enabled) {
|
||||
if (window_manager_use_sceneboard) {
|
||||
deps = [ "test:test" ]
|
||||
} else {
|
||||
deps = []
|
||||
|
@ -16,7 +16,7 @@ import("../windowmanager_aafwk.gni")
|
||||
|
||||
ohos_sa_profile("wms_sa_profile") {
|
||||
sources = [ "4606.json" ]
|
||||
if (scene_board_enabled) {
|
||||
if (window_manager_use_sceneboard) {
|
||||
sources += [ "scene_board/4607.json" ]
|
||||
} else {
|
||||
sources += [ "4607.json" ]
|
||||
|
@ -13,4 +13,4 @@
|
||||
|
||||
import("//build/ohos.gni")
|
||||
|
||||
print("scene_board_enabled = ${scene_board_enabled}")
|
||||
print("window_manager_use_sceneboard = ${window_manager_use_sceneboard}")
|
||||
|
@ -49,7 +49,7 @@ group("systemtest") {
|
||||
":wms_window_visibility_info_test",
|
||||
":wms_window_water_mark_test",
|
||||
]
|
||||
if (!scene_board_enabled) {
|
||||
if (!window_manager_use_sceneboard) {
|
||||
deps += [ ":wms_window_move_drag_test" ]
|
||||
}
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ group("window_scene") {
|
||||
"session_manager:screen_session_manager",
|
||||
"session_manager:session_manager",
|
||||
]
|
||||
if (scene_board_enabled) {
|
||||
if (window_manager_use_sceneboard) {
|
||||
public_deps += [ "session_manager_service:session_manager_service" ]
|
||||
}
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ group("window_scene_napi_packages") {
|
||||
"screen_session_manager:screensessionmanager_napi",
|
||||
"transaction_manager:transactionmanager_napi",
|
||||
]
|
||||
if (scene_board_enabled) {
|
||||
if (window_manager_use_sceneboard) {
|
||||
public_deps += [ "session_manager_service:sessionmanagerservice_napi" ]
|
||||
}
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ int SceneSessionManagerLiteStub::HandleUnRegisterSessionListener(MessageParcel&
|
||||
WLOGFD("run HandleUnRegisterSessionListener!");
|
||||
sptr<ISessionListener> listener = iface_cast<ISessionListener>(data.ReadRemoteObject());
|
||||
if (listener == nullptr) {
|
||||
reply.WriteInt32(static_cast<int32_t>(WSError::WS_OK));
|
||||
reply.WriteInt32(static_cast<int32_t>(WSError::WS_ERROR_INVALID_PARAM));
|
||||
return ERR_NONE;
|
||||
}
|
||||
WSError errCode = UnRegisterSessionListener(listener);
|
||||
|
@ -432,7 +432,7 @@ int SceneSessionManagerStub::HandleUnRegisterSessionListener(MessageParcel& data
|
||||
WLOGFI("run HandleUnRegisterSessionListener!");
|
||||
sptr<ISessionListener> listener = iface_cast<ISessionListener>(data.ReadRemoteObject());
|
||||
if (listener == nullptr) {
|
||||
reply.WriteInt32(static_cast<int32_t>(WSError::WS_OK));
|
||||
reply.WriteInt32(static_cast<int32_t>(WSError::WS_ERROR_INVALID_PARAM));
|
||||
WLOGFI("listener is nullptr");
|
||||
return ERR_NONE;
|
||||
}
|
||||
|
@ -61,10 +61,10 @@ group("unittest") {
|
||||
":wm_window_stub_test",
|
||||
":wm_window_test",
|
||||
]
|
||||
if (!scene_board_enabled) {
|
||||
if (!window_manager_use_sceneboard) {
|
||||
deps += [ ":wm_window_proxy_test" ]
|
||||
}
|
||||
if (scene_board_enabled) {
|
||||
if (window_manager_use_sceneboard) {
|
||||
deps += [ ":wm_window_manager_lite_test" ]
|
||||
}
|
||||
}
|
||||
|
@ -120,7 +120,7 @@ ohos_shared_library("sms") {
|
||||
"input:libmmi-client",
|
||||
"input:libmmi-napi",
|
||||
]
|
||||
if (scene_board_enabled) {
|
||||
if (window_manager_use_sceneboard) {
|
||||
deps += [ "${window_base_path}/window_scene/session_manager_service:session_manager_service" ]
|
||||
}
|
||||
if (is_standard_system) {
|
||||
@ -133,7 +133,7 @@ ohos_shared_library("sms") {
|
||||
subsystem_name = "window"
|
||||
}
|
||||
|
||||
if (scene_board_enabled) {
|
||||
if (window_manager_use_sceneboard) {
|
||||
group("libwms") {
|
||||
deps = [ "../etc:wms_etc" ]
|
||||
}
|
||||
@ -276,7 +276,7 @@ if (scene_board_enabled) {
|
||||
|
||||
group("test") {
|
||||
testonly = true
|
||||
if (scene_board_enabled) {
|
||||
if (window_manager_use_sceneboard) {
|
||||
deps = []
|
||||
} else {
|
||||
deps = [ "test:test" ]
|
||||
|
Loading…
Reference in New Issue
Block a user