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
This commit is contained in:
@@ -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"],
|
||||
},
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user