diff --git a/services/sensor/BUILD.gn b/services/sensor/BUILD.gn index 13b52bfdb16140a2279c6d1f79c85ebe6fa9faa6..2744b02d640e44d1a0c1b7ce728db78b514297dd 100644 --- a/services/sensor/BUILD.gn +++ b/services/sensor/BUILD.gn @@ -36,6 +36,7 @@ ohos_shared_library("libsensor_service") { "include", "$SUBSYSTEM_DIR/sensor/frameworks/native/sensor/include", "$SUBSYSTEM_DIR/sensor/interfaces/native/include", + "//foundation/appexecfwk/standard/interfaces/innerkits/appexecfwk_base/include", "//utils/native/base/include", "//utils/system/safwk/native/include", "$SUBSYSTEM_DIR/sensor/utils/include", @@ -51,14 +52,13 @@ ohos_shared_library("libsensor_service") { external_deps = [ "ability_base:want", "access_token:libaccesstoken_sdk", - "bundle_framework:appexecfwk_base", "bundle_framework:appexecfwk_core", "hisysevent_native:libhisysevent", "hiviewdfx_hilog_native:libhilog", "ipc:ipc_core", "safwk:system_ability_fwk", "samgr_standard:samgr_proxy", - "sensor_device_driver_interface:libsensor_proxy_1.0", + "sensor_device_driver:libsensor_proxy_1.0", "utils_base:utils", ] part_name = "sensor" diff --git a/services/sensor/src/sensor_manager.cpp b/services/sensor/src/sensor_manager.cpp index ee1bb1bdadf154ac74a48bf4add6c84c4e619f02..0b32d116e170602e425f85f10bbe016120db84de 100644 --- a/services/sensor/src/sensor_manager.cpp +++ b/services/sensor/src/sensor_manager.cpp @@ -15,8 +15,6 @@ #include "sensor_manager.h" -#include "bundle_mgr_interface.h" -#include "bundle_mgr_client.h" #include "bundle_mgr_proxy.h" #include "iservice_registry.h" #include "sensor.h"