• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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          "imf_on_demand_start_stop_sa_enable"
21      ],
22      "hisysevent_config": [
23          "//base/inputmethod/imf/hisysevent.yaml",
24          "//base/inputmethod/imf/hisysevent_ue.yaml"
25      ],
26      "adapted_system_type": [
27          "standard"
28      ],
29      "rom": "300KB",
30      "ram": "1024KB",
31      "deps": {
32          "components": [
33              "init",
34              "napi",
35              "samgr",
36              "common_event_service",
37              "ipc",
38              "eventhandler",
39              "bundle_framework",
40              "ability_runtime",
41              "hilog",
42              "ability_base",
43              "safwk",
44              "input",
45              "c_utils",
46              "access_token",
47              "i18n",
48              "window_manager",
49              "os_account",
50              "hisysevent",
51              "hitrace",
52              "ffrt",
53              "graphic_2d",
54              "config_policy",
55              "data_share",
56              "resource_schedule_service",
57              "memmgr",
58              "hicollie",
59              "resource_management",
60              "screenlock_mgr",
61              "cJSON",
62              "icu",
63              "selinux_adapter"
64          ]
65      },
66      "build": {
67          "group_type": {
68              "base_group": ["//base/inputmethod/imf/common:inputmethod_common"],
69              "fwk_group": [
70                  "//base/inputmethod/imf/interfaces/inner_api/inputmethod_controller:inputmethod_client",
71                  "//base/inputmethod/imf/frameworks/js/napi/inputmethodclient:inputmethod",
72                  "//base/inputmethod/imf/frameworks/js/napi/inputmethodlist:inputmethodlist",
73                  "//base/inputmethod/imf/frameworks/js/napi/inputmethodpanel:panel",
74                  "//base/inputmethod/imf/frameworks/ndk:ohinputmethod"
75              ],
76              "service_group": [
77                  "//base/inputmethod/imf/etc/init:inputmethodservice.cfg",
78                  "//base/inputmethod/imf/etc/para:inputmethod.para.dac",
79                  "//base/inputmethod/imf/etc/para:inputmethod.para",
80                  "//base/inputmethod/imf/interfaces/inner_api/inputmethod_ability:inputmethod_ability",
81                  "//base/inputmethod/imf/profile:inputmethod_inputmethod_sa_profiles",
82                  "//base/inputmethod/imf/services:inputmethod_service",
83                  "//base/inputmethod/imf/frameworks/kits/extension:inputmethod_extension",
84                  "//base/inputmethod/imf/frameworks/kits/extension:inputmethod_extension_module",
85                  "//base/inputmethod/imf/frameworks/js/napi/inputmethodability:inputmethodengine",
86                  "//base/inputmethod/imf/frameworks/js/napi/inputmethod_extension_ability:inputmethodextensionability_napi",
87                  "//base/inputmethod/imf/frameworks/js/napi/inputmethod_extension_context:inputmethodextensioncontext_napi",
88                  "//base/inputmethod/imf/frameworks/js/napi/keyboardpanelmanager:keyboardpanelmanager",
89                  "//base/inputmethod/imf/frameworks/cj:cj_inputmethod_ffi",
90                  "//base/inputmethod/imf/frameworks/kits/extension_cj:cj_inputmethod_extension_ffi",
91                  "//base/inputmethod/imf/seccomp_policy:imf_ext_secure_filter",
92                  "//base/inputmethod/imf/services/dialog:input_method_choose_dialog",
93                  "//base/inputmethod/imf/tools/ime:ime"
94              ]
95          },
96          "inner_api": [
97              {
98                  "name": "//base/inputmethod/imf/interfaces/inner_api/inputmethod_controller:inputmethod_client",
99                  "header": {
100                      "header_files": [
101                          "../../../../frameworks/native/inputmethod_controller/include/input_method_property.h",
102                          "../../../../frameworks/native/inputmethod_controller/include/input_method_utils.h",
103                          "../../../../frameworks/native/inputmethod_controller/include/input_window_info.h",
104                          "ime_event_listener.h",
105                          "ime_event_monitor_manager.h",
106                          "input_method_controller.h"
107                      ],
108                      "header_base": "//base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include"
109                  }
110              },
111              {
112                  "name": "//base/inputmethod/imf/interfaces/inner_api/inputmethod_ability:inputmethod_ability",
113                  "header": {
114                      "header_files": [
115                          "input_method_ability_interface.h",
116                          "input_method_engine_listener.h",
117                          "keyboard_listener.h",
118                          "input_method_types.h"
119                      ],
120                      "header_base": "//base/inputmethod/imf/interfaces/inner_api/inputmethod_ability/include"
121                  }
122              },
123              {
124                "name": "//base/inputmethod/imf/frameworks/cj:cj_inputmethod_ffi"
125              },
126              {
127                "name": "//base/inputmethod/imf/frameworks/kits/extension_cj:cj_inputmethod_extension_ffi"
128              }
129          ],
130          "test": [
131              "//base/inputmethod/imf/test/fuzztest:fuzztest",
132              "//base/inputmethod/imf/test/unittest:unittest"
133          ]
134      }
135  }
136}
137