mirror of
https://gitee.com/openharmony/window_window_manager
synced 2024-11-28 01:21:13 +00:00
5c378a3306
Change-Id: Ib03dc47aa38b1d291a684df367ad3c810a334b8b Signed-off-by: fanby01 <yaojian7@huawei.com>
77 lines
2.0 KiB
Plaintext
77 lines
2.0 KiB
Plaintext
# Copyright (c) 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",
|
|
]
|
|
|
|
if (defined(product_name) &&
|
|
(product_name == "rk3566" || product_name == "rk3568" ||
|
|
product_name == "Hi3516DV300" || product_name == "watchos")) {
|
|
defines = [ "PRODUCT_RK" ]
|
|
}
|
|
}
|
|
|
|
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/display_manager_agent.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/standard/rosen/modules/render_service_base:librender_service_base",
|
|
"//foundation/graphic/standard/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" ]
|
|
}
|