diff options
| author | 2024-07-18 22:49:08 +0000 | |
|---|---|---|
| committer | 2024-07-22 22:31:50 +0000 | |
| commit | e4a901732741b84421c3e94a77619853c7f55a2d (patch) | |
| tree | 23604903f9f974db1238cb30d8e90731d310fe03 /java/systemserver_classpath_fragment.go | |
| parent | 39d3883500fe2fa964a64df2e3225a7811744b5e (diff) | |
Specify Is_stubs_module property in top level sdk library
java_sdk_library's "magic" will always resolve to stubs when either of
the following conditions are met:
- the module sets `api_only` property to "true": this signifies that
the module does not create an implementation library, thus the "magic"
always returns stubs
- the module sets `default_to_stubs` property set to "true": this
signifies that the reverse dependencies outside of the same apex will
always get the stubs, even when the rdep does not specify the
sdk_version.
This change utilize this information and mark the top level sdk_library
as a stubs module when any of the above conditions are met, in order to
minimize the false positives in container violation errors.
Test: Run container enforcement and observe results
Bug: 354029496
Change-Id: I04b52c5662f635ab1837eb33a39f187ae8998238
Diffstat (limited to 'java/systemserver_classpath_fragment.go')
0 files changed, 0 insertions, 0 deletions