From c53f5c153ff96aafbede2402c1fa94fbd1a73156 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Fri, 14 Sep 2018 21:27:31 -0700 Subject: [PATCH] Match src paths with aidl package name In order for the build system to track updates to the header files during incremental builds, always specify the src files using the same path as the package for C++ compilations. Bug: 112114177 Test: m Change-Id: Iec355bf4c11204a09bb164bbf14eaa1a148c5f36 --- storaged/Android.bp | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/storaged/Android.bp b/storaged/Android.bp index 7466728d9..733b60fe4 100644 --- a/storaged/Android.bp +++ b/storaged/Android.bp @@ -62,7 +62,7 @@ cc_library_static { "uid_info.cpp", "storaged.proto", ":storaged_aidl", - "binder/android/os/storaged/IStoragedPrivate.aidl", + ":storaged_aidl_private", ], static_libs: ["libhealthhalutils"], @@ -116,4 +116,13 @@ filegroup { srcs: [ "binder/android/os/IStoraged.aidl", ], + path: "binder", +} + +filegroup { + name: "storaged_aidl_private", + srcs: [ + "binder/android/os/storaged/IStoragedPrivate.aidl", + ], + path: "binder", }