!23 【轻量级 PR】:libbpf 部件名称整改

Merge pull request !23 from wenlong_12/N/A
This commit is contained in:
openharmony_ci 2023-06-19 09:28:38 +00:00 committed by Gitee
commit 8d479ba2f5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -13,6 +13,10 @@
import("//build/ohos.gni")
import("//build/ohos/ndk/ndk.gni")
THIRDPARTY_LIBBPF_SUBSYS_NAME = "thirdparty"
THIRDPARTY_LIBBPF_PART_NAME = "libbpf"
config("libbpf_config") {
cflags = [
"-Wno-incompatible-pointer-types",
@ -90,8 +94,8 @@ ohos_shared_library("libbpf") {
configs = [ ":libbpf_config" ]
public_configs = [ ":libbpf_public_config" ]
output_extension = "so"
subsystem_name = "developtools"
part_name = "profiler"
subsystem_name = "${THIRDPARTY_LIBBPF_SUBSYS_NAME}"
part_name = "${THIRDPARTY_LIBBPF_PART_NAME}"
install_enable = true
license_file = "LICENSE.BSD-2-Clause"
}