1 Star 0 Fork 744

ZhangPeng/multimodalinput_input

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
BUILD.gn 3.41 KB
一键复制 编辑 原始数据 按行查看 历史
kevin 提交于 2022-06-22 14:11 . feat:modify hdf peripheral component name
# 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")
import("//foundation/multimodalinput/input/multimodalinput_mini.gni")
ohos_prebuilt_etc("mmi_uinput.rc") {
source = "mmi_uinput.rc"
relative_install_dir = "init"
part_name = "input"
subsystem_name = "multimodalinput"
}
ohos_prebuilt_etc("multimodalinput.rc") {
source = "multimodalinput.cfg"
relative_install_dir = "init"
part_name = "input"
subsystem_name = "multimodalinput"
}
ohos_executable("uinput_inject") {
install_enable = true
sources = [
"uinput/hdf_device_event_dispatch.cpp",
"uinput/hdf_device_event_manager.cpp",
"uinput/inject_thread.cpp",
"uinput/keyboard_inject.cpp",
"uinput/virtual_device.cpp",
"uinput/virtual_keyboard.cpp",
"uinput/virtual_touch_screen.cpp",
]
include_dirs = [
"//foundation/multimodalinput/input/util/common/include",
"//foundation/multimodalinput/input/interfaces/native/innerkits/common/include",
]
external_deps = [
"drivers_interface_input:hdi_input",
"hiviewdfx_hilog_native:libhilog",
"utils_base:utils",
]
part_name = "input"
subsystem_name = "multimodalinput"
}
config("multimodalinput_mmi_public_config") {
include_dirs = [ "util/common/include/" ]
}
group("multimodalinput_mmi_packages") {
deps = [
"frameworks/napi/input_consumer:inputconsumer",
"frameworks/napi/input_device:inputdevice",
"frameworks/napi/input_event_client:inputeventclient",
"frameworks/napi/input_monitor:inputmonitor",
"frameworks/napi/key_code:keycode",
"frameworks/napi/mouse:mouse",
"frameworks/proxy:libmmi-client",
"service:libmmi-server",
"tools/inject_event:uinput",
]
}
group("mmi_debug_tools") {
deps = [
"patch/diff_libinput_mmi:libinput-analyze-mmi",
"patch/diff_libinput_mmi:libinput-debug-mmi",
"patch/diff_libinput_mmi:libinput-list-mmi",
"patch/diff_libinput_mmi:libinput-measure-mmi",
"patch/diff_libinput_mmi:libinput-quirks-mmi",
"patch/diff_libinput_mmi:libinput-record-mmi",
"patch/diff_libinput_mmi:libinput-tablet-mmi",
"tools/event_inject:mmi-event-injection",
"tools/virtual_device_manager:mmi-virtual-device-manager",
"//third_party/eudev:udevadm",
]
}
group("ut_mmi_debug_tools") {
testonly = true
deps = [
"tools/event_inject:ut-event-injection-out",
"tools/virtual_device_manager:ut-virtual-device-out",
]
}
group("mmi_tests_manual") {
testonly = true
deps = [
"frameworks/proxy:InputManagerManualTest",
"service:TransformPointTest",
]
}
group("mmi_tests") {
testonly = true
deps = [
"frameworks/proxy:InputManagerTest",
"frameworks/proxy:KeyEventTest",
"frameworks/proxy:PointerEventTest",
"frameworks/proxy:ut-mmi-proxy-out",
"service:ut-mmi-service-out",
"test/fuzztest:test",
"tools/inject_event:InjectEventTest",
"util:RunShellUtilTest",
"util:ut-mmi-util-out",
]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/comicchang/multimodalinput_input.git
git@gitee.com:comicchang/multimodalinput_input.git
comicchang
multimodalinput_input
multimodalinput_input
master

搜索帮助