mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-30 10:31:17 +00:00
96e0e1fa20
IssueNo:https://gitee.com/openharmony/graphic_standard/issues/I57W1P Feature or Bugfix: Bugfix Binary Source:NA Signed-off-by: sufeng <sufeng6@huawei.com>
70 lines
1.8 KiB
Plaintext
70 lines
1.8 KiB
Plaintext
# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
import("//build/ohos.gni")
|
|
|
|
config("libdm_private_config") {
|
|
include_dirs = [
|
|
"include",
|
|
"../dmserver/include",
|
|
]
|
|
}
|
|
|
|
config("libdm_public_config") {
|
|
include_dirs = [
|
|
"../interfaces/innerkits/dm",
|
|
"../utils/include",
|
|
]
|
|
}
|
|
|
|
## Build libdm.so
|
|
ohos_shared_library("libdm") {
|
|
sources = [
|
|
"../dmserver/src/display_manager_proxy.cpp",
|
|
"src/display.cpp",
|
|
"src/display_manager.cpp",
|
|
"src/display_manager_adapter.cpp",
|
|
"src/screen.cpp",
|
|
"src/screen_group.cpp",
|
|
"src/screen_manager.cpp",
|
|
"src/zidl/display_manager_agent_stub.cpp",
|
|
]
|
|
|
|
configs = [ ":libdm_private_config" ]
|
|
|
|
public_configs = [ ":libdm_public_config" ]
|
|
|
|
deps = [
|
|
"//foundation/graphic/graphic_2d/rosen/modules/render_service_base:librender_service_base",
|
|
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
|
"//foundation/windowmanager/utils:libwmutil",
|
|
]
|
|
|
|
external_deps = [
|
|
"hilog_native:libhilog",
|
|
"ipc:ipc_core",
|
|
"multimedia_image_standard:image_native",
|
|
"safwk:system_ability_fwk",
|
|
"samgr_standard:samgr_proxy",
|
|
"utils_base:utils",
|
|
]
|
|
|
|
part_name = "window_manager"
|
|
subsystem_name = "window"
|
|
}
|
|
|
|
group("test") {
|
|
testonly = true
|
|
deps = [ "test:test" ]
|
|
}
|