diff --git a/location/agnss/bundle.json b/location/agnss/bundle.json index 6bcb31f78e767ea0f451f4bc833835ee1730ba31..36197d04909cfdf134366353ddd5903a6d74048e 100644 --- a/location/agnss/bundle.json +++ b/location/agnss/bundle.json @@ -24,7 +24,8 @@ "drivers_peripheral_location_gnss", "ipc", "hdf_core", - "hilog" + "hilog", + "samgr" ], "third_party": [] }, diff --git a/location/agnss/hdi_service/BUILD.gn b/location/agnss/hdi_service/BUILD.gn index 6358c12cc1376285b5a97086eaa7b1af74473336..dfb11fe74338ff65e58ba422986076877a405013 100644 --- a/location/agnss/hdi_service/BUILD.gn +++ b/location/agnss/hdi_service/BUILD.gn @@ -11,8 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") -import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") import("../../location.gni") +import("//build/config/components/hdi/hdi.gni") ohos_shared_library("libagnss_interface_service_2.0") { include_dirs = [ diff --git a/location/geofence/BUILD.gn b/location/geofence/BUILD.gn index af87d41701586ecb4b0a9e665859503289bc39af..7142985fa5a2bce9d7c213efd223f6694f44b522 100644 --- a/location/geofence/BUILD.gn +++ b/location/geofence/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/ohos.gni") -import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") +import("//build/config/components/hdi/hdi.gni") if (defined(ohos_lite)) { group("location_geofence_entry") { diff --git a/location/geofence/hdi_service/BUILD.gn b/location/geofence/hdi_service/BUILD.gn index 7cb18757f9d3bf3b25448ffe491d490f8d1782e9..8b6729a9b37388d4809bb491c817ee7a9b7ccb16 100644 --- a/location/geofence/hdi_service/BUILD.gn +++ b/location/geofence/hdi_service/BUILD.gn @@ -11,8 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") -import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") import("../../location.gni") +import("//build/config/components/hdi/hdi.gni") ohos_shared_library("libgeofence_interface_service_2.0") { include_dirs = [ diff --git a/location/gnss/BUILD.gn b/location/gnss/BUILD.gn index b8c4d2c921a011b22ce3a8ddc44bb6780df00679..9dd791be1f650df4fe349c4ba0e844deb2ebf2af 100644 --- a/location/gnss/BUILD.gn +++ b/location/gnss/BUILD.gn @@ -12,7 +12,7 @@ # limitations under the License. import("//build/ohos.gni") -import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") +import("//build/config/components/hdi/hdi.gni") if (defined(ohos_lite)) { group("location_gnss_entry") { diff --git a/location/gnss/bundle.json b/location/gnss/bundle.json index d6fd0228d4358f3114f38ab95f851b9bfd5dd4c2..31cab47afcfc22e6b797d20f6fa99294bff12e9d 100644 --- a/location/gnss/bundle.json +++ b/location/gnss/bundle.json @@ -23,7 +23,8 @@ "drivers_interface_location_gnss", "ipc", "hdf_core", - "hilog" + "hilog", + "samgr" ], "third_party": [] }, diff --git a/location/gnss/hdi_service/BUILD.gn b/location/gnss/hdi_service/BUILD.gn index abe8e8c981fb9ae4cdceec1de0966bfe9b111ad3..6a0775d3c5122227e191f09d65705a248a61a783 100644 --- a/location/gnss/hdi_service/BUILD.gn +++ b/location/gnss/hdi_service/BUILD.gn @@ -11,8 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") -import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") import("../../location.gni") +import("//build/config/components/hdi/hdi.gni") config("libagnss_interface_service_cfg") { visibility = [":*"] diff --git a/location/gnss/test/BUILD.gn b/location/gnss/test/BUILD.gn index e6a29563b8500ce8b7045f9b5dbb6f7356d648ac..b57786fe8f1143f23ec4352c9de273d3a1f99dbe 100644 --- a/location/gnss/test/BUILD.gn +++ b/location/gnss/test/BUILD.gn @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. import("//build/ohos.gni") -import("//drivers/hdf_core/adapter/uhdf2/uhdf.gni") +import("//build/config/components/hdi/hdi.gni") if (!defined(ohos_lite)) { import("//build/ohos.gni")