add device_company judge

Signed-off-by: lixing <lixing141@huawei.com>
This commit is contained in:
lixing 2024-02-05 03:18:49 +00:00 committed by Gitee
parent 83221b0988
commit 48fd65f0e1
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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",