ace_engine、napi 部件名仓名和目录名整改

Change-Id: I13de11e5ed0ca609fc6e7bcf0396d104df01a391
Signed-off-by: zhangxiao72 <zhangxiao72@huawei.com>
This commit is contained in:
zhangxiao72 2022-04-20 17:41:31 +08:00
parent 4c24c84f23
commit f4d1611f51
2 changed files with 8 additions and 15 deletions

View File

@ -14,11 +14,10 @@
import("//build/ohos.gni")
import("//developtools/hiperf/hiperf.gni")
config("hiperf_client_config") {
visibility = [ ":*" ]
include_dirs = [
"include" ,
"include",
"${hiperf_path}/include",
]
}
@ -28,12 +27,10 @@ ohos_shared_library("hiperf_client") {
public_configs = [ ":hiperf_client_config" ]
sources = [ "src/hiperf_client.cpp" ]
defines = []
if(is_linux) {
if (is_linux) {
defines += [ "CONFIG_NO_HILOG" ]
} else {
external_deps = [
"hiviewdfx_hilog_native:libhilog",
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
}
subsystem_name = "developtools"
@ -44,12 +41,10 @@ ohos_static_library("hiperf_client_static") {
public_configs = [ ":hiperf_client_config" ]
sources = [ "src/hiperf_client.cpp" ]
defines = []
if(is_linux) {
if (is_linux) {
defines += [ "CONFIG_NO_HILOG" ]
} else {
external_deps = [
"hiviewdfx_hilog_native:libhilog",
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
}
subsystem_name = "developtools"

View File

@ -16,7 +16,7 @@ import("//developtools/hiperf/hiperf.gni")
config("hiperf_client_napi_config") {
include_dirs = [
"//foundation/ace/napi/interfaces/kits",
"//foundation/arkui/napi/interfaces/kits",
"//third_party/node/src",
"${hiperf_path}/include",
"${innerkits_path}/include",
@ -29,13 +29,11 @@ ohos_shared_library("hiperf_client_napi") {
configs = [ ":hiperf_client_napi_config" ]
sources = [ "hiperf_client_napi.cpp" ]
deps = [
"//foundation/ace/napi:ace_napi",
"${innerkits_path}/native:hiperf_client",
"//foundation/arkui/napi:ace_napi",
]
external_deps = [
"hiviewdfx_hilog_native:libhilog",
]
external_deps = [ "hiviewdfx_hilog_native:libhilog" ]
output_name = "hiperf_napi"
relative_install_dir = "module"