mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-24 07:20:09 +00:00
419bd0239b
Signed-off-by: renhw <renhongwei9@huawei.com>
71 lines
1.8 KiB
Plaintext
71 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",
|
|
"//foundation/window/window_manager/resources/config/build:coverage_flags",
|
|
]
|
|
|
|
public_configs = [ ":libdm_public_config" ]
|
|
|
|
deps = [
|
|
"//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
|
|
"//foundation/window/window_manager/utils:libwmutil",
|
|
]
|
|
|
|
external_deps = [
|
|
"c_utils:utils",
|
|
"hilog_native:libhilog",
|
|
"ipc:ipc_core",
|
|
"multimedia_image_framework:image_native",
|
|
"samgr:samgr_proxy",
|
|
]
|
|
|
|
part_name = "window_manager"
|
|
subsystem_name = "window"
|
|
}
|
|
|
|
group("test") {
|
|
testonly = true
|
|
deps = [ "test:test" ]
|
|
}
|