From db589dded495c6c5f3f9890fa7b0e4ce3b1916fe Mon Sep 17 00:00:00 2001 From: Jiyong Park Date: Mon, 13 Apr 2020 12:55:24 +0900 Subject: [PATCH] Mark some aidl_interface modules as unstable With b/152655547, all aidl_interface modules are considered as stable unless it is explicitly with "unstable: true". This change marks the aidl_interface that are not used across updatable module bounraries as unstable, so that the build system does not run the API dumping/checking on them. Bug: 152655547 Test: m Change-Id: I1257c66de6dd42b2d32d47ed74cb2878f79d14fb --- Android.bp | 3 +++ apex/statsd/aidl/Android.bp | 1 + cmds/idmap2/Android.bp | 1 + media/Android.bp | 2 ++ packages/Tethering/common/TetheringLib/Android.bp | 1 + 5 files changed, 8 insertions(+) diff --git a/Android.bp b/Android.bp index 03a6af5997bb2..e5e4bb68bff66 100644 --- a/Android.bp +++ b/Android.bp @@ -942,6 +942,7 @@ filegroup { aidl_interface { name: "libincremental_aidl", + unstable: true, srcs: [ ":incremental_aidl", ], @@ -960,6 +961,7 @@ aidl_interface { aidl_interface { name: "libdataloader_aidl", + unstable: true, srcs: [ ":dataloader_aidl", ], @@ -981,6 +983,7 @@ aidl_interface { aidl_interface { name: "libincremental_manager_aidl", + unstable: true, srcs: [ ":incremental_manager_aidl", ], diff --git a/apex/statsd/aidl/Android.bp b/apex/statsd/aidl/Android.bp index 404c63232da94..04339e67d7997 100644 --- a/apex/statsd/aidl/Android.bp +++ b/apex/statsd/aidl/Android.bp @@ -20,6 +20,7 @@ filegroup { aidl_interface { name: "statsd-aidl", + unstable: true, srcs: [ "android/os/IPendingIntentRef.aidl", "android/os/IPullAtomCallback.aidl", diff --git a/cmds/idmap2/Android.bp b/cmds/idmap2/Android.bp index 645dc935fc07b..ef5c4cec9166a 100644 --- a/cmds/idmap2/Android.bp +++ b/cmds/idmap2/Android.bp @@ -261,6 +261,7 @@ filegroup { aidl_interface { name: "overlayable_policy_aidl", + unstable: true, srcs: [":overlayable_policy_aidl_files"], } diff --git a/media/Android.bp b/media/Android.bp index 499d0da3079fa..0ed10472561d4 100644 --- a/media/Android.bp +++ b/media/Android.bp @@ -1,5 +1,6 @@ aidl_interface { name: "audio_common-aidl", + unstable: true, local_include_dir: "java", srcs: [ "java/android/media/audio/common/AudioChannelMask.aidl", @@ -23,6 +24,7 @@ aidl_interface { aidl_interface { name: "soundtrigger_middleware-aidl", + unstable: true, local_include_dir: "java", srcs: [ "java/android/media/soundtrigger_middleware/ConfidenceLevel.aidl", diff --git a/packages/Tethering/common/TetheringLib/Android.bp b/packages/Tethering/common/TetheringLib/Android.bp index 31c40d2a3343e..ee6b9f12f9d2d 100644 --- a/packages/Tethering/common/TetheringLib/Android.bp +++ b/packages/Tethering/common/TetheringLib/Android.bp @@ -16,6 +16,7 @@ // AIDL interfaces between the core system and the tethering mainline module. aidl_interface { name: "tethering-aidl-interfaces", + unstable: true, local_include_dir: "src", include_dirs: ["frameworks/base/core/java"], // For framework parcelables. srcs: [