summaryrefslogtreecommitdiff
path: root/ApiDocs.bp
diff options
context:
space:
mode:
authorYtai Ben-Tsvi <ytai@google.com>2020-09-16 13:04:31 -0700
committerYtai Ben-Tsvi <ytai@google.com>2020-09-22 10:07:00 -0700
commitda7c21ec5175ea494b148f0ba92e8d638608144a (patch)
tree632540c58ebc80bc62d298e6860def3b45efae96 /ApiDocs.bp
parent189d6050daddc3be6631d6bb48b97393c5793e6e (diff)
Separate AIDL packages
This moves the android.media.audio.common, android.media.permission and android.media.soundtrigger_middleware AIDL files to a their own separate aidl_interface module for Java. Previously, because of how the framework JAR is configured, those files were automatically compiled into it and we had to disable Java for this target, creating a discrepancy between C++ and Java, which would require us to similarly diverge any dependent targets if we want cross-language support. As part of this change, we also had to switch from using the FileDescriptor type to ParcelFileDescriptor, as this is the only type supported outside of the framework JAR and is also the recommended practice. Test: Manual verification of basic soundtrigger functionality. Change-Id: Ib65c19dd7c7f5433cfa527fa74bb61ac677f5cf5
Diffstat (limited to 'ApiDocs.bp')
-rw-r--r--ApiDocs.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/ApiDocs.bp b/ApiDocs.bp
index ca921ff97c35..c82fee0fe8ac 100644
--- a/ApiDocs.bp
+++ b/ApiDocs.bp
@@ -83,6 +83,10 @@ stubs_defaults {
merge_annotations_dirs: [
"metalava-manual",
],
+ // TODO(b/169090544): remove below aidl includes.
+ aidl: {
+ local_include_dirs: ["media/aidl"],
+ },
}
droidstubs {
@@ -150,6 +154,10 @@ doc_defaults {
":current-support-api",
":current-androidx-api",
],
+ // TODO(b/169090544): remove below aidl includes.
+ aidl: {
+ local_include_dirs: ["media/aidl"],
+ },
}
doc_defaults {