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