Commit Graph

4 Commits

Author SHA1 Message Date
Jiyong Park
2afff6cc73 Define stubs_defaults for the new API surfaces
The new stubs_defaults shall be used to create stub libraries from
modules. The existing defaults
'framework-module-stubs-defaults-systemapi' is not enough because it
only captures the SystemApis with client=PRIVILEGED_APPS. Modules can
have broader SystemApis with client=MODULE_APPS and
client=MODULE_LIBRARIES.

Bug: b/140202860
Test: m
Change-Id: I5f425928cf1db912ebe09499111a9925fcfc98fb
2020-01-13 13:21:33 +09:00
Anton Hansson
0c2ebe2bbf Make wifi module use shared metalava args
Also (hopefully) temporarily filter out com.android.server
from the stubs, as the wifi module has a server class in
it.

Bug: 137191822
Test: m
Change-Id: I2c62fc16c676305e9ee739285f49656075f38b97
2019-12-17 10:03:52 +00:00
Anton Hansson
14c80cf363 Add SystemApi params to framework-module defaults
As was done in I3305b71e22970e80db95f3daf3d7713603c7d68d for
the other metalava args.

Bug: 140202860
Test: m
Change-Id: I397d361f649f179eada827782d82c002cc7fb2d3
2019-12-16 15:36:22 +00:00
Anton Hansson
24c88f43a9 Add stubs_defaults for framework modules
Add some reasonable defaults that can be reused instead of
duplicating the metalava args for every module.

Bug: 145998881
Test: followup CL depends on these
Change-Id: I31c37289ec38cfc9039a9b2c30b2f3396fc0a72c
2019-12-13 16:19:56 +00:00