mirror of
https://gitee.com/openharmony/hiviewdfx_hitrace
synced 2024-11-23 15:59:51 +00:00
add device_company judge
Signed-off-by: lixing <lixing141@huawei.com>
This commit is contained in:
parent
83221b0988
commit
48fd65f0e1
@ -56,7 +56,7 @@ ohos_executable("hitrace") {
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
if (support_executable_file) {
|
||||
if (device_company != "qemu" && support_executable_file) {
|
||||
external_deps += [ "hiview:libucollection_client" ]
|
||||
}
|
||||
|
||||
@ -94,7 +94,7 @@ ohos_executable("bytrace") {
|
||||
external_deps += [ "hilog:libhilog" ]
|
||||
}
|
||||
|
||||
if (support_executable_file) {
|
||||
if (device_company != "qemu" && support_executable_file) {
|
||||
external_deps += [ "hiview:libucollection_client" ]
|
||||
}
|
||||
|
||||
@ -135,7 +135,7 @@ ohos_rust_executable("hitrace_example_rust") {
|
||||
}
|
||||
|
||||
group("hitrace_target") {
|
||||
if (support_executable_file) {
|
||||
if (device_company != "qemu" && support_executable_file) {
|
||||
deps = [
|
||||
":bytrace",
|
||||
":hitrace",
|
||||
|
Loading…
Reference in New Issue
Block a user