diff options
author | Paul Duffin <paulduffin@google.com> | 2022-04-01 07:02:23 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-04-01 07:02:23 +0000 |
commit | a33ff0e2d16276209c217bf84a4ea6531e09b615 (patch) | |
tree | 21da9ffaba631077f4aa6fb46cd4e939f1e02110 | |
parent | eb9e1386ebf1bc7da65dff0a3c0804ac6be3736f (diff) | |
parent | c5dd682a56f285aca59bd1f6dc68ef04588d7f09 (diff) | |
download | Uwb-a33ff0e2d16276209c217bf84a4ea6531e09b615.tar.gz |
Merge "Remove implementation details from uwb hidden api flags" into tm-dev
-rw-r--r-- | apex/Android.bp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp index 52aad1a1..b8ae3de4 100644 --- a/apex/Android.bp +++ b/apex/Android.bp @@ -84,6 +84,29 @@ bootclasspath_fragment { additional_stubs: [ "android-non-updatable", ], + + hidden_api: { + + // The following packages contain classes from other modules on the + // bootclasspath. That means that the hidden API flags for this module + // has to explicitly list every single class this module provides in + // that package to differentiate them from the classes provided by other + // modules. That can include private classes that are not part of the + // API. + split_packages: [ + "android.uwb", + ], + + // The following packages and all their subpackages currently only + // contain classes from this bootclasspath_fragment. Listing a package + // here won't prevent other bootclasspath modules from adding classes in + // any of those packages but it will prevent them from adding those + // classes into an API surface, e.g. public, system, etc.. Doing so will + // result in a build failure due to inconsistent flags. + package_prefixes: [ + "com.android.x", + ], + }, } systemserverclasspath_fragment { |