1{
2  "name": "@ohos/imf",
3  "description": "Provide input capability to ime app",
4  "version": "3.1",
5  "license": "Apache License 2.0",
6  "publishAs": "code-segment",
7  "segment": {
8      "destPath": "base/inputmethod/imf"
9  },
10  "dirs": { },
11  "scripts": { },
12  "component": {
13      "name": "imf",
14      "subsystem": "inputmethod",
15      "syscap": [
16          "SystemCapability.MiscServices.InputMethodFramework"
17      ],
18      "features": [
19          "imf_screenlock_mgr_enable"
20      ],
21      "hisysevent_config": [
22          "//base/inputmethod/imf/hisysevent.yaml"
23      ],
24      "adapted_system_type": [
25          "standard"
26      ],
27      "rom": "300KB",
28      "ram": "1024KB",
29      "deps": {
30          "components": [
31              "init",
32              "napi",
33              "samgr",
34              "common_event_service",
35              "ipc",
36              "eventhandler",
37              "bundle_framework",
38              "ability_runtime",
39              "hilog",
40              "ability_base",
41              "safwk",
42              "input",
43              "c_utils",
44              "access_token",
45              "i18n",
46              "window_manager",
47              "os_account",
48              "hisysevent",
49              "hitrace",
50              "ffrt",
51              "graphic_2d",
52              "config_policy",
53              "data_share",
54              "resource_schedule_service",
55              "memmgr",
56              "hicollie",
57              "resource_management",
58              "screenlock_mgr"
59          ],
60          "third_party": [
61              "cJSON"
62          ]
63      },
64      "build": {
65          "group_type": {
66              "base_group": ["//base/inputmethod/imf/common:inputmethod_common"],
67              "fwk_group": [
68                  "//base/inputmethod/imf/interfaces/inner_api/inputmethod_controller:inputmethod_client",
69                  "//base/inputmethod/imf/frameworks/js/napi/inputmethodclient:inputmethod",
70                  "//base/inputmethod/imf/frameworks/js/napi/inputmethodlist:inputmethodlist",
71                  "//base/inputmethod/imf/frameworks/js/napi/inputmethodpanel:panel",
72                  "//base/inputmethod/imf/frameworks/ndk:ohinputmethod"
73              ],
74              "service_group": [
75                  "//base/inputmethod/imf/etc/init:inputmethodservice.cfg",
76                  "//base/inputmethod/imf/etc/para:inputmethod.para.dac",
77                  "//base/inputmethod/imf/etc/para:inputmethod.para",
78                  "//base/inputmethod/imf/interfaces/inner_api/inputmethod_ability:inputmethod_ability",
79                  "//base/inputmethod/imf/profile:inputmethod_inputmethod_sa_profiles",
80                  "//base/inputmethod/imf/services:inputmethod_service",
81                  "//base/inputmethod/imf/frameworks/kits/extension:inputmethod_extension",
82                  "//base/inputmethod/imf/frameworks/kits/extension:inputmethod_extension_module",
83                  "//base/inputmethod/imf/frameworks/js/napi/inputmethodability:inputmethodengine",
84                  "//base/inputmethod/imf/frameworks/js/napi/inputmethod_extension_ability:inputmethodextensionability_napi",
85                  "//base/inputmethod/imf/frameworks/js/napi/inputmethod_extension_context:inputmethodextensioncontext_napi",
86                  "//base/inputmethod/imf/frameworks/js/napi/keyboardpanelmanager:keyboardpanelmanager",
87                  "//base/inputmethod/imf/seccomp_policy:imf_ext_secure_filter"
88              ]
89          },
90          "inner_api": [
91              {
92                  "name": "//base/inputmethod/imf/interfaces/inner_api/inputmethod_controller:inputmethod_client",
93                  "header": {
94                      "header_files": [
95                          "../../../../frameworks/native/inputmethod_controller/include/i_input_client.h",
96                          "../../../../frameworks/native/inputmethod_controller/include/i_input_data_channel.h",
97                          "../../../../frameworks/native/inputmethod_controller/include/input_method_property.h",
98                          "../../../../frameworks/native/inputmethod_controller/include/input_method_utils.h",
99                          "../../../../frameworks/native/inputmethod_controller/include/input_window_info.h",
100                          "ime_event_listener.h",
101                          "ime_event_monitor_manager.h",
102                          "input_method_controller.h"
103                      ],
104                      "header_base": "//base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include"
105                  }
106              },
107              {
108                  "name": "//base/inputmethod/imf/interfaces/inner_api/inputmethod_ability:inputmethod_ability",
109                  "header": {
110                      "header_files": [
111                          "input_method_ability_interface.h",
112                          "input_method_engine_listener.h",
113                          "keyboard_listener.h",
114                          "input_method_types.h"
115                      ],
116                      "header_base": "//base/inputmethod/imf/interfaces/inner_api/inputmethod_ability/include"
117                  }
118              }
119          ],
120          "test": [
121              "//base/inputmethod/imf/test/fuzztest:fuzztest",
122              "//base/inputmethod/imf/test/unittest:unittest"
123          ]
124      }
125  }
126}
127