• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2021-2022 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("//foundation/multimodalinput/input/multimodalinput_mini.gni")
15
16config("libinputeventclient_config") {
17  visibility = [ ":*" ]
18
19  include_dirs = [
20    "//foundation/multimodalinput/input/interfaces/native/innerkits/common/include",
21    "//foundation/multimodalinput/input/frameworks/napi/input_event_client/include",
22    "//foundation/multimodalinput/input/interfaces/native/innerkits/event/include",
23    "//foundation/ace/napi",
24    "//foundation/ace/napi/interfaces/kits/napi",
25    "//third_party/node/src",
26    "//third_party/quickjs",
27    "//utils/native/base/include",
28    "//foundation/multimodalinput/input/common/include",
29    "//foundation/multimodalinput/input/tools/event_inject/include",
30    "//third_party/libuv/include/",
31    "//foundation/multimodalinput/input/interfaces/native/innerkits/proxy/include",
32  ]
33}
34
35ohos_shared_library("inputeventclient") {
36  sources = [
37    "src/js_register_module.cpp",
38    "src/js_register_util.cpp",
39  ]
40
41  configs = [ ":libinputeventclient_config" ]
42
43  deps = [
44    "//foundation/ace/napi:ace_napi",
45    "//foundation/communication/ipc/interfaces/innerkits/ipc_core:ipc_core",
46    "//foundation/multimodalinput/input/frameworks/proxy:libmmi-client",
47    "//foundation/multimodalinput/input/frameworks/util:libmmi-util",
48    "//foundation/multimodalinput/input/patch/diff_libinput_mmi:libinput-third-mmi",
49    "//foundation/multimodalinput/input/tools/event_inject:event-injection",
50    "//third_party/libuv:uv_static",
51    "//third_party/libxkbcommon:libxkbcommon",
52    "//third_party/wayland-ivi-extension:ivi-controller",
53    "//third_party/wayland-ivi-extension:libscreen-info-module",
54    "//utils/native/base:utils",
55  ]
56
57  relative_install_dir = "module/multimodalinput"
58
59  part_name = "multimodalinput_base"
60}
61