1c29fa5a6Sopenharmony_ci# Copyright (c) 2024 Huawei Device Co., Ltd. 2c29fa5a6Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License"); 3c29fa5a6Sopenharmony_ci# you may not use this file except in compliance with the License. 4c29fa5a6Sopenharmony_ci# You may obtain a copy of the License at 5c29fa5a6Sopenharmony_ci# 6c29fa5a6Sopenharmony_ci# http://www.apache.org/licenses/LICENSE-2.0 7c29fa5a6Sopenharmony_ci# 8c29fa5a6Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software 9c29fa5a6Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS, 10c29fa5a6Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11c29fa5a6Sopenharmony_ci# See the License for the specific language governing permissions and 12c29fa5a6Sopenharmony_ci# limitations under the License. 13c29fa5a6Sopenharmony_ci 14c29fa5a6Sopenharmony_ciimport("../../../multimodalinput_mini.gni") 15c29fa5a6Sopenharmony_ci 16c29fa5a6Sopenharmony_ciconfig("libinput_wrapper_sources_public_config") { 17c29fa5a6Sopenharmony_ci include_dirs = [ "include" ] 18c29fa5a6Sopenharmony_ci} 19c29fa5a6Sopenharmony_ci 20c29fa5a6Sopenharmony_ciohos_source_set("libinput_wrapper_sources") { 21c29fa5a6Sopenharmony_ci branch_protector_ret = "pac_ret" 22c29fa5a6Sopenharmony_ci sanitize = { 23c29fa5a6Sopenharmony_ci cfi = true 24c29fa5a6Sopenharmony_ci cfi_cross_dso = true 25c29fa5a6Sopenharmony_ci debug = false 26c29fa5a6Sopenharmony_ci } 27c29fa5a6Sopenharmony_ci 28c29fa5a6Sopenharmony_ci include_dirs = [ "include" ] 29c29fa5a6Sopenharmony_ci 30c29fa5a6Sopenharmony_ci sources = [ "src/libinput_wrapper.cpp" ] 31c29fa5a6Sopenharmony_ci 32c29fa5a6Sopenharmony_ci public_configs = [ ":libinput_wrapper_sources_public_config" ] 33c29fa5a6Sopenharmony_ci 34c29fa5a6Sopenharmony_ci deps = [ "${mmi_path}/util:libmmi-util" ] 35c29fa5a6Sopenharmony_ci 36c29fa5a6Sopenharmony_ci external_deps = [ 37c29fa5a6Sopenharmony_ci "c_utils:utilsbase", 38c29fa5a6Sopenharmony_ci "hilog:libhilog", 39c29fa5a6Sopenharmony_ci "libinput:libinput-third-mmi", 40c29fa5a6Sopenharmony_ci ] 41c29fa5a6Sopenharmony_ci 42c29fa5a6Sopenharmony_ci part_name = "${mmi_part_name}" 43c29fa5a6Sopenharmony_ci subsystem_name = "${mmi_subsystem_name}" 44c29fa5a6Sopenharmony_ci} 45