• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2    "name": "@ohos/hdf_core",
3    "description": "device driver framework",
4    "version": "4.0",
5    "license": "Apache License 2.0",
6    "publishAs": "code-segment",
7    "segment": {
8        "destPath": "drivers/hdf_core"
9    },
10    "dirs": {},
11    "scripts": {},
12    "component": {
13        "name": "hdf_core",
14        "subsystem": "hdf",
15        "features": [
16            "hdf_core_khdf_test_support",
17            "hdf_core_platform_test_support",
18            "hdf_core_platform_rtc_test_support",
19            "hdf_core_feature_config"
20        ],
21        "adapted_system_type": ["standard", "small"],
22        "rom": "735KB",
23        "ram": "1350KB",
24        "deps": {
25            "components": [
26                "hilog",
27                "c_utils",
28                "init",
29                "ipc",
30                "samgr",
31                "selinux_adapter",
32                "hilog_lite",
33                "hicollie"
34            ],
35            "third_party": [
36                "bounds_checking_function"
37            ]
38        },
39        "build": {
40            "sub_component": [
41                "//drivers/hdf_core/adapter:uhdf_entry"
42            ],
43            "inner_kits": [{
44                    "name": "//drivers/hdf_core/adapter/uhdf2/host:libhdf_host",
45                    "header": {
46                        "header_files": [
47                            "host/uhdf/devhost_dump_reg.h",
48                            "host/shared/hdf_device_desc.h",
49                            "host/shared/hdf_device_object.h"
50                        ],
51                        "header_base": "//drivers/hdf_core/interfaces/inner_api"
52                    }
53                },
54                {
55                    "name": "//drivers/hdf_core/adapter/uhdf2/ipc:libhdf_ipc_adapter",
56                    "header": {
57                        "header_files": [
58                            "ipc/hdf_dump_reg.h",
59                            "ipc/hdf_remote_service.h",
60                            "ipc/hdf_sbuf_ipc.h",
61                            "core/hdf_object.h"
62                        ],
63                        "header_base": "//drivers/hdf_core/interfaces/inner_api"
64                    }
65                },
66                {
67                    "name": "//drivers/hdf_core/adapter/uhdf2/hdi:libhdi",
68                    "header": {
69                        "header_files": [
70                            "hdi/hdi_base.h",
71                            "hdi/hdi_support.h",
72                            "hdi/stub_collector.h",
73                            "hdi/object_collector.h",
74                            "hdi/devmgr_hdi.h",
75                            "hdi/idevmgr_hdi.h",
76                            "hdi/servmgr_hdi.h",
77                            "hdi/iservmgr_hdi.h",
78                            "hdi/servstat_listener_hdi.h",
79                            "hdi/iservstat_listener_hdi.h",
80                            "hdi/base/buffer_handle.h",
81                            "hdi/base/buffer_util.h",
82                            "hdi/base/hdi_smq.h",
83                            "hdi/base/hdi_smq_meta.h",
84                            "hdi/base/hdi_smq_syncer.h",
85                            "hdi/base/native_buffer.h",
86                            "core/hdf_device_class.h",
87                            "core/hdf_object.h",
88                            "core/hdf_service_status.h"
89                        ],
90                        "header_base": "//drivers/hdf_core/interfaces/inner_api"
91                    }
92                },
93                {
94                    "name": "//drivers/hdf_core/adapter/uhdf2/pub_utils:libpub_utils",
95                    "header": {
96                        "header_files": [
97                            "osal/shared/osal_mem.h",
98                            "osal/shared/osal_time.h",
99                            "osal/uhdf/hdf_log_adapter.h",
100                            "osal/uhdf/hdf_types.h",
101                            "utils/hdf_base.h",
102                            "utils/hdf_log.h",
103                            "utils/hdf_sbuf.h",
104                            "utils/hdf_dlist.h",
105                            "core/hdf_device_class.h",
106                            "core/hdf_object.h",
107                            "core/hdf_service_status.h"
108                        ],
109                        "header_base": "//drivers/hdf_core/interfaces/inner_api"
110                    }
111                },
112                {
113                    "name": "//drivers/hdf_core/adapter/uhdf2/utils:libhdf_utils",
114                    "header": {
115                        "header_files": [
116                            "osal/shared/osal_mem.h",
117                            "osal/shared/osal_time.h",
118                            "osal/uhdf/hdf_log_adapter.h",
119                            "osal/uhdf/hdf_types.h",
120                            "utils/hdf_base.h",
121                            "utils/hdf_log.h",
122                            "utils/hdf_sbuf.h",
123                            "utils/hdf_dlist.h",
124                            "core/hdf_device_class.h",
125                            "core/hdf_object.h",
126                            "core/hdf_service_status.h"
127                        ],
128                        "header_base": "//drivers/hdf_core/interfaces/inner_api"
129                    }
130                },
131                {
132                    "name": "//drivers/hdf_core/adapter/uhdf/posix:hdf_posix_osal",
133                    "header": {
134                        "header_files": [
135                            "osal/shared/osal_mem.h",
136                            "osal/shared/osal_time.h"
137                        ],
138                        "header_base": "//drivers/hdf_core/interfaces/inner_api"
139                    }
140                },
141                {
142                    "name": "//drivers/hdf_core/adapter/uhdf2/platform:libhdf_platform",
143                    "header": {
144                        "header_files": [
145                            "i2c_if.h",
146                            "spi_if.h",
147                            "gpio_if.h",
148                            "platform_if.h"
149                        ],
150                        "header_base": "//drivers/hdf_core/framework/include/platform"
151                    }
152                }
153            ],
154            "test": [
155                "//drivers/hdf_core/adapter:uhdf_test_entry"
156            ]
157        }
158    }
159}