Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0b319089 authored by Yifan Hong's avatar Yifan Hong
Browse files

storaged: fix headers.

Add missing libbatteryservice_headers dependency.
It used to use global header include dirs, which is bad.

Add old transitive dependency from libbatteryservice_headers
as well.

Test: builds
Bug: 68724651

Change-Id: Idcc4452160dce70b4f8b48e2d809dcd5744b93b4
parent 530ac5ba
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -66,6 +66,7 @@ cc_library_static {
    ],

    static_libs: ["libhealthhalutils"],
    header_libs: ["libbatteryservice_headers"],

    logtags: ["EventLogTags.logtags"],

+0 −1
Original line number Diff line number Diff line
@@ -26,7 +26,6 @@
#include <unordered_map>
#include <vector>

#include <batteryservice/IBatteryPropertiesListener.h>
#include <utils/Mutex.h>

#include <android/hardware/health/2.0/IHealth.h>
+2 −0
Original line number Diff line number Diff line
@@ -19,6 +19,8 @@
#include <string>
#include <unordered_map>

#include <binder/Parcelable.h>

namespace android {
namespace os {
namespace storaged {
+1 −0
Original line number Diff line number Diff line
@@ -30,6 +30,7 @@

#include <android-base/file.h>
#include <android-base/logging.h>
#include <android-base/unique_fd.h>
#include <android/hidl/manager/1.0/IServiceManager.h>
#include <batteryservice/BatteryServiceConstants.h>
#include <cutils/properties.h>