platform_build_soong/sdk
Paul Duffin a377e4c85e java_sdk_library: Allow separate api/stubs source modules
The API file for a scope represents the differences between the API
provided by that scope and that provided by the scope that it extends.
On the other hand the stubs source for a scope represents the union of
the API provided by the scope and the scope it extends (all the way
back to public).

Unfortunately, while metalava supports this behavior for scopes that
extend public (e.g. system and test) it does not support this behavior
for scopes that extend others, e.g. module_lib which extends system.
This is because it always assumes that the baseline for the API file
is 'public' and so has no way to defined other baselines.

This change works around that by having separate droidstubs modules to
generate the API and stubs sources for scopes that require different
arguments to generate the API and stubs sources.

Test: m checkapi
Bug: 155164730
Merged-In: Iea7d59852d7aeb503120acf3c44e08eb0d9d07b9
Change-Id: Iea7d59852d7aeb503120acf3c44e08eb0d9d07b9
(cherry picked from commit 0ff08bdb07)
2020-05-13 11:29:00 +01:00
..
bp.go Fix bug in error reporting when adding duplicate properties 2020-04-22 12:51:28 +01:00
bp_test.go Defer \n quoting generatedContents until creating the ninja rule 2020-05-12 08:04:57 +01:00
cc_sdk_test.go Retry: Fix snapshot of a host/device cc_library with stubs 2020-05-10 23:56:40 +01:00
exports.go Restrict SdkMemberTypes that can be used with sdk/sdk_snapshot 2019-12-31 15:08:59 +00:00
exports_test.go Add CommonOS variant for sdk 2020-04-22 12:51:28 +01:00
java_sdk_test.go java_sdk_library: Allow separate api/stubs source modules 2020-05-13 11:29:00 +01:00
sdk.go Stop requiring apex_available on java_library members of sdks 2020-04-22 12:51:51 +01:00
sdk_test.go Retry: Adds support for 'ignored-on-host' 2020-05-10 23:56:28 +01:00
testing.go Defer \n quoting generatedContents until creating the ninja rule 2020-05-12 08:04:57 +01:00
update.go Defer \n quoting generatedContents until creating the ninja rule 2020-05-12 08:04:57 +01:00