From c2a3a20c2cdb59e485cbfe5e4251c6008c3c3002 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Sat, 25 Nov 2017 08:46:56 -0800 Subject: [PATCH] Export AIDL files as a filegroup for framework.jar Put AIDL files into a filegroup so they can be imported as sources for framework.jar. Test: m checkbuild Change-Id: I1a5335384e9291af1f26e7418f15fcfa082ee356 --- storaged/Android.bp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/storaged/Android.bp b/storaged/Android.bp index 35868bb2d..2c7dea19e 100644 --- a/storaged/Android.bp +++ b/storaged/Android.bp @@ -61,7 +61,7 @@ cc_library_static { "storaged_uid_monitor.cpp", "uid_info.cpp", "storaged.proto", - "binder/android/os/IStoraged.aidl", + ":storaged_aidl", "binder/android/os/storaged/IStoragedPrivate.aidl", ], @@ -100,3 +100,11 @@ cc_test { static_libs: ["libstoraged"], } + +// AIDL interface between storaged and framework.jar +filegroup { + name: "storaged_aidl", + srcs: [ + "binder/android/os/IStoraged.aidl", + ], +}