Files
build_soong/java
Paul Duffin 9d67ca6ab7 Allow dex jars from prebuilt_apex to be used by hiddenapi
Invokes hiddenAPIExtractInformation() on the dex jar provided by the
deapexer (on behalf of prebuilt_apex) so that hiddenAPI can extract the
information it needs, if anything, from the dex file (and accompanying
classes implementation file).

The dex file provided by deapexer has already had the hiddenapi
information encoded into it so it does not need to do that again.

This change adds the primary parameter to hiddenAPIExtractInformation()
and checks it (and also the hiddenAPI.active property) before it does
anything. That ensures that it behaves correctly when called directly
as well as when called from hiddenAPIExtractAndEncode().

Bug: 178361284
Test: m droid
      Verified that hiddenapi files (both aggregated ones and for the
      individual modules) are not affected by this change.
      Also verified that the hiddenapi files created when using the
      prebuilts (using SOONG_CONFIG_art_module_source_build=false) are
      the same as when using the source. There is a slight difference
      in the order but otherwise identical.
Change-Id: I7abb63fd310bb94787ab7f4821e5fd283dc03046
2021-02-08 19:10:50 +00:00
..
2020-11-30 14:16:02 -08:00
2020-12-22 10:14:41 +00:00
2021-01-26 13:00:07 +00:00
2020-12-21 12:31:51 -08:00
2020-12-21 12:31:51 -08:00
2020-12-28 17:50:44 +00:00
2021-01-28 06:29:13 +00:00
2021-01-26 13:00:07 +00:00
2020-12-31 10:44:38 +00:00
2020-12-01 16:22:16 -08:00
2020-12-01 16:22:16 -08:00
2020-12-21 12:31:51 -08:00
2020-11-24 14:13:31 +09:00
2019-10-18 15:14:15 -07:00