summaryrefslogtreecommitdiff
path: root/StubLibraries.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-03-20 09:12:52 +0000
committerAnton Hansson <hansson@google.com>2020-03-20 09:24:15 +0000
commit92d79fddd49b1b502f0b47c574fb1aec7ca85b15 (patch)
tree53ef423a12ed22b4e2cb43fba278233f9ee84b37 /StubLibraries.bp
parent4d39f7bbe981115f48efa8aa3f9ae750d4a5378d (diff)
Remove SDK dep from module_lib_api
This had the consequence of making two large metalava invocations run in sequence rather than parallell. For now, add back the dependency on framework-all instead. Building framework-all should be a lot faster than the sdk stubs. Also move the module stubs dep from framework_defaults to framework-minus-apex. framework-all does not need this dep. Bug: 151092414 Test: m Test: NINJA_ARGS="-t path out/soong/.intermediates/frameworks/base/module-lib-api-stubs-docs/android_common/module-lib-api-stubs-docs-stubs.srcjar \ out/soong/.intermediates/frameworks/base/system-api-stubs-docs/android_common/system-api-stubs-docs-stubs.srcjar" m Change-Id: Ifdf8823d374254e594330b43ae3a39a76c7b90c5
Diffstat (limited to 'StubLibraries.bp')
-rw-r--r--StubLibraries.bp6
1 files changed, 5 insertions, 1 deletions
diff --git a/StubLibraries.bp b/StubLibraries.bp
index da9f1654d60f..68e1b1b2872f 100644
--- a/StubLibraries.bp
+++ b/StubLibraries.bp
@@ -79,7 +79,11 @@ stubs_defaults {
stubs_defaults {
name: "metalava-non-updatable-api-stubs-default",
defaults: ["metalava-base-api-stubs-default"],
- sdk_version: "system_current",
+ sdk_version: "core_platform",
+ libs: ["framework-all"],
+ aidl: {
+ local_include_dirs: ["apex/media/framework/java"],
+ },
}
/////////////////////////////////////////////////////////////////////