代码拉取完成,页面将自动刷新
同步操作将从 OpenHarmony/multimodalinput_input 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Copyright (c) 2021-2024 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("./multimodalinput_mini.gni")
config("coverage_flags") {
if (input_feature_coverage) {
cflags = [ "--coverage" ]
ldflags = [ "--coverage" ]
cflags_cc = [ "--coverage" ]
}
}
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_inject_sources
branch_protector_ret = "pac_ret"
sanitize = {
cfi = true
cfi_cross_dso = true
debug = false
}
include_dirs = [
"${mmi_path}/service/nap_process/include",
"${mmi_path}/util/common/include",
"${mmi_path}/interfaces/native/innerkits/common/include",
]
external_deps = [
"c_utils:utils",
"drivers_interface_input:libinput_proxy_1.0",
"hilog:libhilog",
]
defines = [ "MMI_DISABLE_LOG_TRACE" ]
cflags = [ "-fstack-protector-strong" ]
part_name = "input"
subsystem_name = "multimodalinput"
}
group("multimodalinput_mmi_base") {
deps = []
}
group("multimodalinput_mmi_frameworks") {
deps = [ "frameworks/proxy:libmmi-client" ]
}
group("multimodalinput_mmi_service") {
deps = [
"service:libmmi-server",
"tools/inject_event:uinput",
"util/screen_capture:libmmi-screen_capture",
]
}
group("input-third-mmi") {
external_deps = [
"libevdev:libevdev",
"libinput:libinput-third-mmi",
"mtdev:libmtdev-third-mmi",
]
}
group("input_jsapi_group") {
deps = []
if (support_jsapi) {
deps += [
"frameworks/napi/gesture_event:gestureevent",
"frameworks/napi/intention_code:intentioncode",
"frameworks/napi/joystick_event:joystickevent",
"frameworks/napi/key_code:keycode",
"frameworks/napi/key_event:keyevent",
"frameworks/napi/mouse_event:mouseevent",
"frameworks/napi/touch_event:touchevent",
]
if (input_feature_monitor) {
deps += [ "frameworks/napi/input_monitor:inputmonitor" ]
}
if (input_feature_mouse) {
deps += [ "frameworks/napi/pointer:pointer" ]
}
if (input_feature_keyboard) {
deps += [
"frameworks/napi/input_consumer:inputconsumer",
"frameworks/napi/input_event_client:inputeventclient",
]
}
if (input_feature_input_device) {
deps += [ "frameworks/napi/input_device:inputdevice" ]
}
if (input_feature_short_key) {
deps += [ "frameworks/napi/short_key:shortkey" ]
}
deps += [ "frameworks/napi/infrared_emitter:infraredemitter" ]
}
}
group("mmi_tests") {
testonly = true
deps = [
"common/anco/comm:AncoChannelStubTest",
"frameworks/native/input:OHInputManagerTest",
"frameworks/proxy:InputHandlerManagerTest",
"frameworks/proxy:InputManagerFilterManualTest",
"frameworks/proxy:InputManagerImplTest",
"frameworks/proxy:InputManagerInjectTest",
"frameworks/proxy:InputManagerManualTest",
"frameworks/proxy:InputManagerTest",
"frameworks/proxy:KeyEventTest",
"frameworks/proxy:PointerEventTest",
"frameworks/proxy:ut-mmi-proxy-out",
"libudev:test",
"service:AccountManagerTest",
"service:ApplicationStateObserverTest",
"service:ConnectManagerEXTest",
"service:ConnectManagerProxyEXTest",
"service:ConnectManagerTest",
"service:DelegateTaskTest",
"service:DeviceConfigTest",
"service:DeviceManagerTest",
"service:DfxHisysEventTest",
"service:DisplayStateManagerTest",
"service:EventDispatchTest",
"service:EventDumpTest",
"service:EventFilterDeathRecipientTest",
"service:EventFilterHandlerTest",
"service:EventHandlerTest",
"service:EventNormalizeHandlerTest",
"service:InfraredEmitterTest",
"service:InputDisplayBindHelperTest",
"service:InputWindowsManagerEXTest",
"service:InputWindowsManagerTest",
"service:InterceptorExTest",
"service:InterceptorTest",
"service:KeyAutoRepeatExTest",
"service:KeyCommandTest",
"service:KeyEventNormalizeTest",
"service:KeyEventValueTransformationTest",
"service:KeyGestureManagerEXTest",
"service:KnuckleDivergentPointTest",
"service:KnuckleDrawingManagerTest",
"service:KnuckleDynamicDrawingManagerTest",
"service:KnuckleGlowPointTest",
"service:KnuckleGlowTraceSystemTest",
"service:LibinputAdapterTest",
"service:ModuleLoaderTest",
"service:MonitorTest",
"service:NapProcessTest",
"service:PointerDrawingManagerExTest",
"service:PointerDrawingManagerTest",
"service:ServerMsgHandlerTest",
"service:StylusKeyTest",
"service:StylusKeyTest",
"service:SubscriberTest",
"service:TimerManagerTest",
"service:TouchDrawingManagerAiTest",
"service:TouchDrawingManagerTest",
"service:TwoFingerLongTouchTest",
"service:event_resample_test",
"service:mmi-service-tests",
"service/crown_transform_processor/test:CrownTransformProcessorTest",
"service/fingerprint_event_processor/test:FingerprintEventProcessorTest",
"service/mouse_event_normalize/test:MouseEventNormalizeTest",
"service/subscriber/test:mmi_subscriber_tests",
"service/touch_event_normalize/test:TouchEventNormalizeTests",
"service/touch_event_normalize/test:TouchGestureAdapterTest",
"test/fuzztest:test",
"test/unittest/interfaces:InputNativeHotkeyTest",
"test/unittest/interfaces:InputNativeTest",
"tools/inject_event:InjectEventTest",
"util:UdsClientTest",
]
if (input_feature_switch) {
deps += [ "frameworks/proxy:SwitchEventInputSubscribeManagerTest" ]
}
if (!use_clang_coverage) {
deps += [
"service:rust_mmi_test",
"util:rust_mmi_key_config_test",
"util:ut-mmi-util-out",
]
}
if (input_ext_feature_anco) {
deps += [ "${mmi_path}/frameworks/proxy/events/test:InputManagerAncoTest" ]
}
}
group("examples_group") {
deps = [ "examples/input_device_display_bind:input_device_display_bind" ]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。