Files
build_soong/android
Spandan Das 1c4d94dccf Use all_apex_contributions for source/prebuilts selection
This flattened singleton module explicitly lists by module name whether source or
prebuilt version of a module should be used. If a module appears in this
metadata module, it supersedes all other source vs prebuilts selection
mechanism

Implementation details
- Update the module dep chain from <source> --> <prebuilt> to <source>
  --> <prebuilt> --> all_apex_contributions
- all_apex_contributions sets a provider which is bubbled up
  to the source module. This requires changing `prebuilt_select` to a
  bottom up mutator
- Update `usePrebuilt` to consult the new provider before falling back
  to existing source vs selection mechanisms. If (foo|prebuilt_foo) is
  listed in the selected `apex_contributions` modules, it
  will be used superseding any other selection mechanisms.
- Update this depTag to IsMetaDepTag so that bootclasspath_fragment's
  validation ignores this new dependency.

Test: Added unit tests to assert that this new mechanism supersedes
`use_source_config_var`

Bug: 308174768
Change-Id: I39a85639642711f3c96b6f18b94d626b55e80c66
2023-11-08 18:37:24 +00:00
..
2023-05-19 20:31:32 +00:00
2023-04-17 19:26:07 +00:00
2023-03-22 12:58:38 -07:00
2023-10-18 17:42:59 -07:00
2023-06-22 08:18:33 -07:00
2023-05-19 20:31:32 +00:00
2023-06-22 08:18:33 -07:00
2022-11-02 19:17:30 +00:00
2022-10-25 11:46:01 +02:00
2023-02-13 10:23:36 -08:00
2023-10-17 19:20:55 +00:00
2023-04-10 20:20:41 +00:00
2023-04-10 20:20:41 +00:00
2023-04-26 17:18:19 -07:00
2021-12-13 13:33:15 -05:00
2023-06-22 08:18:33 -07:00
2023-11-02 14:37:21 -07:00
2023-09-22 19:19:22 +00:00
2023-11-02 10:05:55 -07:00
2023-10-16 14:20:00 -07:00
2021-09-23 11:37:57 +01:00
2022-08-03 14:02:33 -07:00
2023-10-16 14:20:00 -07:00
2023-11-02 10:05:55 -07:00
2023-11-08 04:01:38 +00:00
2022-08-03 14:02:33 -07:00