1diff --git a/src/build/config/ohos/config.gni b/src/build/config/ohos/config.gni 2index 882ca78b35..62d7bfcb57 3--- a/src/build/config/ohos/config.gni 4+++ b/src/build/config/ohos/config.gni 5@@ -85,9 +85,10 @@ if (is_ohos) { 6 "$ohos_build_root/foundation/graphic/graphic_2d/interfaces/inner_api/surface", 7 "$ohos_build_root/foundation/graphic/surface/interfaces/kits", 8 "$ohos_build_root/foundation/communication/ipc/interfaces/innerkits/ipc_core/include", 9- "$ohos_build_root/base/inputmethod/imf/frameworks/inputmethod_controller/include", 10+ "$ohos_build_root/base/inputmethod/imf/frameworks/native/inputmethod_ability/include", 11+ "$ohos_build_root/base/inputmethod/imf/frameworks/native/inputmethod_controller/include", 12+ "$ohos_build_root/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include", 13 "$ohos_build_root/base/inputmethod/imf/services/include", 14- "$ohos_build_root/base/inputmethod/imf/frameworks/inputmethod_ability/include", 15 "$ohos_build_root/commonlibrary/c_utils/base/include", 16 "$ohos_build_root/third_party/bounds_checking_function/include", 17 "$ohos_build_root/foundation/multimodalinput/input/interfaces/native/innerkits/event/include", 18diff --git a/src/ohos_nweb/BUILD.gn b/src/ohos_nweb/BUILD.gn 19index 74afb6ce40..e35a2f166f 20--- a/src/ohos_nweb/BUILD.gn 21+++ b/src/ohos_nweb/BUILD.gn 22@@ -44,6 +44,7 @@ config("cef_nweb_config") { 23 24 lib_dirs = ohos_libs_dir 25 libs = [ 26+ "mmi-client.z", 27 "inputmethod_client.z", 28 "ipc_core.z", 29 "inputmethod_ability.z", 30