diff options
| author | 2017-11-14 13:05:37 -0800 | |
|---|---|---|
| committer | 2017-12-03 17:54:28 +0000 | |
| commit | f89ee1a09e11faf526c8979d61c202617a291235 (patch) | |
| tree | 824e3d9d6709ca65afb981cb2c25ef6762bb1778 | |
| parent | 44d517c3387399e59fa7b7e53b1a4569683095ed (diff) | |
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.
Bug: 69917341
Test: m checkbuild
Change-Id: I1aeb65b651f9097fa72212ca5cce9fb679b5a779
Merged-In: I1aeb65b651f9097fa72212ca5cce9fb679b5a779
(cherry picked from commit 21c210ec5ce370a2d73332be48372d16dd789a08)
| -rw-r--r-- | cmds/installd/Android.bp | 9 | ||||
| -rw-r--r-- | libs/binder/Android.bp | 10 |
2 files changed, 17 insertions, 2 deletions
diff --git a/cmds/installd/Android.bp b/cmds/installd/Android.bp index 56470d6764..7d1537a63f 100644 --- a/cmds/installd/Android.bp +++ b/cmds/installd/Android.bp @@ -13,7 +13,7 @@ cc_defaults { "dexopt.cpp", "globals.cpp", "utils.cpp", - "binder/android/os/IInstalld.aidl", + ":installd_aidl", ], shared_libs: [ "libbase", @@ -84,4 +84,11 @@ cc_binary { ], } +filegroup { + name: "installd_aidl", + srcs: [ + "binder/android/os/IInstalld.aidl", + ], +} + subdirs = ["tests"] diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp index 83b8021735..c130087fb5 100644 --- a/libs/binder/Android.bp +++ b/libs/binder/Android.bp @@ -69,7 +69,7 @@ cc_library { "TextOutput.cpp", "IpPrefix.cpp", "Value.cpp", - "aidl/android/content/pm/IPackageManagerNative.aidl", + ":libbinder_aidl", ], aidl: { @@ -108,4 +108,12 @@ cc_library { }, } +// AIDL interface between libbinder and framework.jar +filegroup { + name: "libbinder_aidl", + srcs: [ + "aidl/android/content/pm/IPackageManagerNative.aidl", + ], +} + subdirs = ["tests"] |