1# Copyright (C) 2021 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14import("//build/ohos.gni") 15 16config("event_include_config") { 17 include_dirs = [ 18 "include", 19 ] 20} 21 22ohos_shared_library("mmi_event") { 23 sources = [ 24 "src/keyboard_event.cpp", 25 "src/key_event.cpp", 26 "src/manipulation_event.cpp", 27 "src/mmi_point.cpp", 28 "src/mouse_event.cpp", 29 "src/multimodal_event.cpp", 30 "src/stylus_event.cpp", 31 "src/touch_event.cpp", 32 ] 33 34 include_dirs = [ 35 "include", 36 "//utils/native/base/include", 37 "//foundation/multimodalinput/input/common/include", 38 "//drivers/peripheral/input/interfaces/include", 39 ] 40 41 public_configs = [ ":event_include_config" ] 42 43 deps = [ 44 "//utils/native/base:utils", 45 "//drivers/peripheral/input/hal:hdi_input", 46 ] 47 48 external_deps = [ 49 "hiviewdfx_hilog_native:libhilog" 50 ] 51 52 subsystem_name = "multimodalinput" 53 part_name = "multimodalinput_base" 54} 55