From 78231ab2b042ae9bd46bee1663bb069a8fb51cbe Mon Sep 17 00:00:00 2001 From: zhang Date: Fri, 10 Mar 2023 11:01:51 +0800 Subject: [PATCH] fix:Eliminate the dependency on the compilation path of bin hdf_core Signed-off-by: zhang --- services/location_gnss/gnss/BUILD.gn | 3 ++- test/location_gnss/BUILD.gn | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/services/location_gnss/gnss/BUILD.gn b/services/location_gnss/gnss/BUILD.gn index c5a392d51..8738ad64b 100644 --- a/services/location_gnss/gnss/BUILD.gn +++ b/services/location_gnss/gnss/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Huawei Device Co., Ltd. +# Copyright (C) 2022-2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -47,6 +47,7 @@ if (location_feature_with_gnss) { "drivers_interface_location_gnss:liblocation_gnss_proxy_1.0", "eventhandler:libeventhandler", "hdf_core:libhdi", + "hdf_core:libpub_utils", "hiviewdfx_hilog_native:libhilog", ] diff --git a/test/location_gnss/BUILD.gn b/test/location_gnss/BUILD.gn index 56e73b968..f141b8b85 100644 --- a/test/location_gnss/BUILD.gn +++ b/test/location_gnss/BUILD.gn @@ -1,4 +1,4 @@ -# Copyright (C) 2022 Huawei Device Co., Ltd. +# Copyright (C) 2022-2023 Huawei Device Co., Ltd. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at @@ -63,6 +63,7 @@ if (location_feature_with_gnss) { "drivers_interface_location_gnss:liblocation_gnss_proxy_1.0", "eventhandler:libeventhandler", "hdf_core:libhdi", + "hdf_core:libpub_utils", "hisysevent_native:libhisysevent", "hiviewdfx_hilog_native:libhilog", ]