platform_build_soong/apex
Paul Duffin 3bae068ee5 Generalize deapexer module to export any files
Previously, the deapexer module had to duplicate the java library
specific logic for constructing the path to the library's dex file in
the .apex file. That is not something that the deapexer needs to be
aware of, all it needs is a list of files that should be exported.

This change moves that logic into the prebuilt_apex/apex_set modules
and generalizes the deapexer module so that it can export any files
that are requested.

The deapexer module does still need to know which java modules need
access to exported files so it can add dependencies from them onto
itself. However, it does not need to know what the type of the module
is.

Bug: 186455808
Test: m nothing
      m SOONG_CONFIG_art_module_source_build=false nothing
Change-Id: I71c6f0f761efe3b6d66d54273786e98cd545811c
2021-05-10 14:26:37 +01:00
..
Android.bp Rename BootImageModule to BootclasspathFragmentModule 2021-04-23 16:59:26 +01:00
androidmk.go Ignore cc.Module.HideFromMake when producing flattened apex Android.mk entries 2021-04-29 13:54:49 -07:00
apex.go Move creation of deapexer modules to separate mutator 2021-05-10 11:41:40 +01:00
apex_singleton.go Treat allowed_deps.txt source file as optional. 2021-03-18 11:15:33 +00:00
apex_test.go Move configuration checks from getBootImageJar 2021-04-30 12:06:28 +01:00
bootclasspath_fragment_test.go Move configuration checks from getBootImageJar 2021-04-30 12:06:28 +01:00
builder.go Merge "Make apex.key and certificate overridable." 2021-04-22 15:37:22 +00:00
deapexer.go Generalize deapexer module to export any files 2021-05-10 14:26:37 +01:00
key.go Extract apex registration code into function for reuse 2021-03-09 23:03:40 +00:00
OWNERS Move allowed_deps.txt to packages/modules/common. 2021-03-17 13:44:16 +00:00
platform_bootclasspath_test.go Move monolithic stub flags generation to platform_bootclasspath 2021-04-22 14:23:28 +01:00
prebuilt.go Generalize deapexer module to export any files 2021-05-10 14:26:37 +01:00
TEST_MAPPING Add TEST_MAPPING for build/soong/apex 2019-08-07 17:33:24 +09:00
testing.go bootclasspath_fragment: Add contents to snapshot 2021-04-21 23:54:22 +01:00
vndk.go Remove global state from VNDK apexes 2021-03-02 12:23:16 -08:00
vndk_test.go Don't use incorrect version names like VER or BOARD even in tests 2021-04-05 09:32:06 +09:00