diff options
author | Ramy Medhat <abdelaal@google.com> | 2020-06-13 17:47:27 -0400 |
---|---|---|
committer | Ramy Medhat <abdelaal@google.com> | 2020-06-18 09:47:16 -0400 |
commit | 7462d23b1241d76bccfb252c7769fd6efaaba436 (patch) | |
tree | a0d792710cee8acd8e6878c81cb0a5cbc978eeb7 | |
parent | 85cf423804e34536dc2c36e3043d78a0e829f47d (diff) |
Enable metalava sandbox in StubLibraries.bp and ApiDocs.bp.
Test: built entire topic with and without RBE_METALAVA.
Change-Id: Ia5767debc713a420b8d008943903238413d0816d
-rw-r--r-- | ApiDocs.bp | 1 | ||||
-rw-r--r-- | StubLibraries.bp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ApiDocs.bp b/ApiDocs.bp index 029699efe3b9..2d12e2d321e6 100644 --- a/ApiDocs.bp +++ b/ApiDocs.bp @@ -91,6 +91,7 @@ droidstubs { arg_files: [ "core/res/AndroidManifest.xml", ], + sandbox: true, args: metalava_framework_docs_args, write_sdk_values: true, } diff --git a/StubLibraries.bp b/StubLibraries.bp index bb13eaacfa90..54f4937c11ca 100644 --- a/StubLibraries.bp +++ b/StubLibraries.bp @@ -60,6 +60,7 @@ stubs_defaults { ], api_levels_annotations_enabled: false, filter_packages: packages_to_document, + sandbox: true, } stubs_defaults { @@ -377,6 +378,7 @@ droidstubs { "core/java/android/os/RemoteException.java", "core/java/android/util/AndroidException.java", ], + sandbox: true, installable: false, sdk_version: "core_platform", annotations_enabled: true, |