summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen2019-06-06 15:38:12 -0500
committerDan Willemsen2019-06-06 15:38:12 -0500
commitdbd4eea7e65c1854a5ec3cb3491c51f1abc0ce1e (patch)
tree277b5074107bd9b14d000f56d643ce7e03ab5ab1 /car-lib/Android.bp
parent7d030295bb0156889fb3e6859bdfb7972af47a0a (diff)
downloadplatform-packages-services-car-dbd4eea7e65c1854a5ec3cb3491c51f1abc0ce1e.tar.gz
platform-packages-services-car-dbd4eea7e65c1854a5ec3cb3491c51f1abc0ce1e.tar.xz
platform-packages-services-car-dbd4eea7e65c1854a5ec3cb3491c51f1abc0ce1e.zip
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: treehugger Change-Id: I333743c2b5399e96c7d9cbcb8da28126da2d43ea
Diffstat (limited to 'car-lib/Android.bp')
-rw-r--r--car-lib/Android.bp14
1 files changed, 11 insertions, 3 deletions
diff --git a/car-lib/Android.bp b/car-lib/Android.bp
index b6adc86e..d3da6dad 100644
--- a/car-lib/Android.bp
+++ b/car-lib/Android.bp
@@ -12,6 +12,16 @@
12// See the License for the specific language governing permissions and 12// See the License for the specific language governing permissions and
13// limitations under the License. 13// limitations under the License.
14 14
15filegroup {
16 name: "libcarpowermanager_aidl",
17 srcs: [
18 "src/android/car/ICar.aidl",
19 "src/android/car/hardware/power/ICarPower.aidl",
20 "src/android/car/hardware/power/ICarPowerStateListener.aidl",
21 ],
22 path: "src",
23}
24
15cc_library { 25cc_library {
16 name: "libcarpowermanager", 26 name: "libcarpowermanager",
17 27
@@ -40,9 +50,7 @@ cc_library {
40 ], 50 ],
41 51
42 srcs: [ 52 srcs: [
43 "src/android/car/ICar.aidl", 53 ":libcarpowermanager_aidl",
44 "src/android/car/hardware/power/ICarPower.aidl",
45 "src/android/car/hardware/power/ICarPowerStateListener.aidl",
46 "native/CarPowerManager/CarPowerManager.cpp", 54 "native/CarPowerManager/CarPowerManager.cpp",
47 ], 55 ],
48} 56}