移除hisysevent_native部件定义

Signed-off-by: liuyifei <liuyifei20@huawei.com>
This commit is contained in:
liuyifei 2023-07-12 17:02:46 +08:00
parent 07db8ae4fe
commit c1f91d00d7
15 changed files with 19 additions and 103 deletions

View File

@ -77,7 +77,7 @@ The following table lists the C++ APIs provided by the **HiSysEvent** class.
2. Configure compilation information. Specifically, add the subsystem SDK dependency to **BUILD.gn**.
```
external_deps = [ "hisysevent_native:libhisysevent" ]
external_deps = [ "hisysevent:libhisysevent" ]
```

View File

@ -77,7 +77,7 @@ C++接口实例
2. 编译设置在BUILD.gn里增加子系统SDK依赖
```
external_deps = [ "hisysevent_native:libhisysevent" ]
external_deps = [ "hisysevent:libhisysevent" ]
```

View File

@ -58,7 +58,7 @@ ohos_source_set("sys_event_impl_client") {
defines += [ "STORAGE_SERVICE_ENABLE" ]
}
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
}
@ -91,6 +91,6 @@ ohos_source_set("sys_event_service_gen_src_client") {
"samgr:samgr_proxy",
]
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
}

View File

@ -1,5 +1,5 @@
{
"name": "@ohos/hisysevent_native",
"name": "@ohos/hisysevent",
"description": "System event logging",
"version": "3.1",
"license": "Apache License 2.0",
@ -10,7 +10,7 @@
"dirs": {},
"scripts": {},
"component": {
"name": "hisysevent_native",
"name": "hisysevent",
"subsystem": "hiviewdfx",
"syscap": [
"SystemCapability.HiviewDFX.HiSysEvent"

View File

@ -56,7 +56,7 @@ ohos_executable("hisysevent") {
"main.cpp",
]
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
}

View File

@ -39,6 +39,6 @@ ohos_shared_library("hisysevent_c_wrapper") {
output_extension = "so"
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
}

View File

@ -1,84 +0,0 @@
{
"name": "@ohos/hisysevent",
"description": "System event logging",
"version": "3.1",
"license": "Apache License 2.0",
"publishAs": "code-segment",
"segment": {
"destPath": "base/hiviewdfx/hisysevent"
},
"dirs": {},
"scripts": {},
"component": {
"name": "hisysevent",
"subsystem": "hiviewdfx",
"syscap": [
"SystemCapability.HiviewDFX.HiSysEvent"
],
"adapted_system_type": [
"standard"
],
"rom": "330KB",
"ram": "~320KB",
"deps": {
"components": [
"access_token",
"c_utils",
"hilog_native",
"hitrace_native",
"ipc",
"napi",
"safwk",
"samgr",
"storage_service"
],
"third_party": [
"bounds_checking_function",
"jsoncpp"
]
},
"build": {
"sub_component": [
"//base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent:libhisysevent",
"//base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager:libhisyseventmanager",
"//base/hiviewdfx/hisysevent/interfaces/js/kits:hisysevent_napi",
"//base/hiviewdfx/hisysevent/interfaces/rust/innerkits:hisysevent_rust",
"//base/hiviewdfx/hisysevent/frameworks/native:hisysevent"
],
"inner_kits": [
{
"name": "//base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent:libhisysevent",
"header": {
"header_files": [
"hisysevent_c.h",
"hisysevent.h"
],
"header_base": "//base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include"
}
},
{
"name": "//base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager:libhisyseventmanager",
"header": {
"header_files": [
"hisysevent_manager_c.h",
"hisysevent_manager.h"
],
"header_base": "//base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include"
}
},
{
"name": "//base/hiviewdfx/hisysevent/interfaces/rust/innerkits:hisysevent_rust",
"header": {
"header_files": [],
"header_base": []
}
}
],
"test": [
"//base/hiviewdfx/hisysevent/test:moduletest",
"//base/hiviewdfx/hisysevent/test:unittest",
"//base/hiviewdfx/hisysevent/test:fuzztest"
]
}
}
}

View File

@ -48,7 +48,7 @@ ohos_shared_library("hisysevent_napi") {
relative_install_dir = "module"
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
}

View File

@ -41,7 +41,7 @@ ohos_shared_library("libhisysevent") {
install_enable = true
part_name = "hisysevent_native"
part_name = "hisysevent"
install_images = [
"system",
@ -83,7 +83,7 @@ ohos_static_library("hisysevent_static_lib_for_tdd") {
output_name = "hisysevent_static_lib_for_tdd"
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"

View File

@ -39,6 +39,6 @@ ohos_source_set("hisysevent_encoded") {
"hilog:libhilog",
]
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
}

View File

@ -44,7 +44,7 @@ ohos_shared_library("libhisyseventmanager") {
innerapi_tags = [ "platformsdk" ]
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
@ -85,7 +85,7 @@ ohos_static_library("hisyseventmanager_static_lib_for_tdd") {
output_name = "hisyseventmanager_static_lib_for_tdd"
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"

View File

@ -31,6 +31,6 @@ ohos_rust_shared_library("hisysevent_rust") {
crate_name = "hisysevent"
crate_type = "dylib"
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
}

View File

@ -13,7 +13,7 @@
import("//build/test.gni")
module_output_path = "hisysevent_native/hisysevent_js_target"
module_output_path = "hisysevent_js/hisysevent_js_target"
ohos_js_unittest("HiSysEventJsTest") {
module_out_path = module_output_path

View File

@ -9,11 +9,11 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//build/test.gni")
module_output_path = "hisysevent_native/hisysevent_js_target"
module_output_path = "hisysevent_js/hisysevent_js_target"
ohos_js_unittest("HiSysEventPermissionJsTest") {
module_out_path = module_output_path

View File

@ -22,6 +22,6 @@ ohos_rust_unittest("rust_hisysevent_test") {
deps = [ "../../../interfaces/rust/innerkits:hisysevent_rust" ]
part_name = "hisysevent_native"
part_name = "hisysevent"
subsystem_name = "hiviewdfx"
}