Files
build_soong/java
Jihoon Kang e4a9017327 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
2024-07-22 22:31:50 +00:00
..
2024-04-09 09:42:37 -07:00
2024-07-16 19:41:31 +00:00
2024-07-16 19:41:31 +00:00
2024-07-16 19:41:31 +00:00
2024-05-02 15:41:24 -07:00
2024-04-29 17:40:40 +09:00
2023-01-20 17:05:14 -05:00
2023-09-20 09:53:39 -07:00
2024-03-14 18:15:28 -07:00