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
This commit is contained in:
parent
530ac5bad1
commit
0b31908912
4 changed files with 4 additions and 1 deletions
|
@ -66,6 +66,7 @@ cc_library_static {
|
|||
],
|
||||
|
||||
static_libs: ["libhealthhalutils"],
|
||||
header_libs: ["libbatteryservice_headers"],
|
||||
|
||||
logtags: ["EventLogTags.logtags"],
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -19,6 +19,8 @@
|
|||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include <binder/Parcelable.h>
|
||||
|
||||
namespace android {
|
||||
namespace os {
|
||||
namespace storaged {
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue