1e0dac50fSopenharmony_ci# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
2e0dac50fSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3e0dac50fSopenharmony_ci# you may not use this file except in compliance with the License.
4e0dac50fSopenharmony_ci# You may obtain a copy of the License at
5e0dac50fSopenharmony_ci#
6e0dac50fSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7e0dac50fSopenharmony_ci#
8e0dac50fSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9e0dac50fSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10e0dac50fSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11e0dac50fSopenharmony_ci# See the License for the specific language governing permissions and
12e0dac50fSopenharmony_ci# limitations under the License.
13e0dac50fSopenharmony_ci
14e0dac50fSopenharmony_ciimport("//build/ohos.gni")
15e0dac50fSopenharmony_ci
16e0dac50fSopenharmony_ciconfig("wm_interface_config") {
17e0dac50fSopenharmony_ci  visibility = [ ":*" ]
18e0dac50fSopenharmony_ci  include_dirs = [ "../../interfaces/innerkits" ]
19e0dac50fSopenharmony_ci}
20e0dac50fSopenharmony_ci
21e0dac50fSopenharmony_ciohos_shared_library("wm_interface") {
22e0dac50fSopenharmony_ci  branch_protector_ret = "pac_ret"
23e0dac50fSopenharmony_ci  sanitize = {
24e0dac50fSopenharmony_ci    cfi = true
25e0dac50fSopenharmony_ci    cfi_cross_dso = true
26e0dac50fSopenharmony_ci    cfi_vcall_icall_only = true
27e0dac50fSopenharmony_ci    debug = false
28e0dac50fSopenharmony_ci  }
29e0dac50fSopenharmony_ci  public_configs = [ ":wm_interface_config" ]
30e0dac50fSopenharmony_ci
31e0dac50fSopenharmony_ci  include_dirs = [ "../../interfaces/innerkits" ]
32e0dac50fSopenharmony_ci
33e0dac50fSopenharmony_ci  public_deps = [
34e0dac50fSopenharmony_ci    "//commonlibrary/c_utils/base:utils",
35e0dac50fSopenharmony_ci    "//foundation/graphic/graphic_2d/rosen/modules/render_service_client:librender_service_client",
36e0dac50fSopenharmony_ci    "//foundation/multimedia/image_framework/interfaces/innerkits:image_native",
37e0dac50fSopenharmony_ci    "//foundation/multimodalinput/input/frameworks/proxy:libmmi-client",
38e0dac50fSopenharmony_ci    "//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy:samgr_proxy",
39e0dac50fSopenharmony_ci  ]
40e0dac50fSopenharmony_ci
41e0dac50fSopenharmony_ci  part_name = "window_manager"
42e0dac50fSopenharmony_ci  subsystem_name = "window"
43e0dac50fSopenharmony_ci}
44