android_build_soong/android
Spandan Das 52c01a1897 Remove internal deapexer module
The build ations will be created by the top-level apex.

Details
1. In GenerateAndroidBuildActions, do a graph walk to determine if the
   apex has exported deps.
2. If there are exported deps, call the newly introduced `deapex`
   function. This registers the build rules and returns a DeapexerInfo
object. This was previously provided by the internal deapexer
dependency.
3. Update `dexpreoptSystemServerJars and `provideApexExportsInfo` to use
   the DeapexerInfo object from (2).

A lot of unit tests that relied on the legacy mechanism of deapexing
have been updated.

Test: go test ./apex
Test: lunch cf_x86_64_phone-next-userdebug (uses mainline prebuilts)
Test: verified no diff in file_list.txt
Bug: 368337090
Change-Id: I0edb681beccac4d2a9ceb73f9a506c081a8a96e0
2024-09-20 23:47:36 +00:00
..
allowlists
soongconfig Cleanup more bazel code 2024-06-25 11:02:38 -07:00
team_proto Add default_visibility for soong modules 2024-09-18 17:41:30 -07:00
aconfig_providers.go Treat system_ext as system container 2024-09-12 23:31:49 +00:00
all_teams.go Search for default_team in Android.bp when other .bp files are included. 2024-08-15 15:07:01 -07:00
all_teams_test.go Search for default_team in Android.bp when other .bp files are included. 2024-08-15 15:07:01 -07:00
Android.bp Add default_visibility for soong modules 2024-09-18 17:41:30 -07:00
android_test.go
androidmk.go Wrap blueprint_go_binary and bootstrap_go_package into android.Modules 2024-09-11 21:16:25 -07:00
androidmk_test.go Remove licenseMetadataFile and installFiles from ModuleBase. 2024-08-27 00:16:22 +00:00
apex.go Merge changes I505a7ad8,I92d88199 into main 2024-09-06 06:07:42 +00:00
apex_contributions.go Hide unflagged mainline prebuilts with missing source. 2024-08-05 18:25:37 +00:00
apex_test.go Remove sort from mergeApexVariations 2024-04-16 14:09:36 -07:00
api_domain.go
api_levels.go Merge "Remove exportable modules when generating snapshots targeting older platform" into main am: 0030148fcb am: 871393aa37 2024-06-10 21:30:51 +00:00
arch.go Convert arch and os mutators to TransitionMutators 2024-09-16 17:00:39 -07:00
arch_list.go Add missing pieces of ARMv9.2-A support. 2024-09-07 03:11:25 +00:00
arch_module_context.go Add the ability to select on arch 2024-03-25 17:18:08 -07:00
arch_test.go Convert arch and os mutators to TransitionMutators 2024-09-16 17:00:39 -07:00
base_module_context.go Add HasMutatorFinished 2024-09-11 14:48:50 -07:00
blueprint_e2e_test.go Update selects_test for selects with deferred expressions 2024-06-27 11:01:56 -07:00
build_prop.go Include TARGET_ODM_PROP to odm/etc/build.prop 2024-08-26 15:58:09 +09:00
compliance_metadata.go Move the caching/restoring code from soong to blueprint to fully skip build actions. 2024-09-04 19:59:55 +00:00
config.go Merge "Enable object-size sanitizer for C++" into main 2024-09-18 19:44:30 +00:00
config_test.go Add PrepareForTestWithBuildFlag 2024-08-09 16:47:45 -07:00
configurable_properties.go Make the prefer property configurable 2024-07-30 13:17:28 -07:00
configured_jars.go
configured_jars_test.go
container.go Merge "Revert^4 "Implement detecting container violations."" into main 2024-08-30 20:18:53 +00:00
container_violations.go Merge changes Ia693c4a5,I8e5620d2 into main am: c14be38f1a 2024-08-28 21:43:02 +00:00
csuite_config.go
csuite_config_test.go
deapexer.go Remove internal deapexer module 2024-09-20 23:47:36 +00:00
defaults.go Merge "Convert trivial TopDown mutators to BottomUp" into main 2024-09-18 20:05:09 +00:00
defaults_test.go
defs.go Remove asset dir glob files 2024-09-05 16:36:32 -07:00
depset_generic.go Move the caching/restoring code from soong to blueprint to fully skip build actions. 2024-09-04 19:59:55 +00:00
depset_test.go
deptag.go Revert "Add SkipToTransitiveDepsTag interface for dependency tags" 2024-05-15 03:32:23 +09:00
deptag_test.go
early_module_context.go Make the enabled property configurable 2024-05-02 15:41:24 -07:00
expand.go
expand_test.go
filegroup.go Convert some properties to Configurable properties 2024-05-22 13:33:42 -07:00
filegroup_test.go
fixture.go
fixture_test.go
gen_notice.go Use OutputFilesProvider on gen_notice 2024-06-06 15:20:42 -07:00
gen_notice_test.go
hooks.go
image.go Convert imageMutator to TransitionMutator 2024-07-31 18:53:06 +00:00
init.go Add a system test to check the mk and ninja files generated by incremental build. 2024-09-12 23:56:31 +00:00
license.go
license_kind.go
license_kind_test.go
license_metadata.go Remove installFilesDepSet, packagingSpecsDepSet and licenseInstallMap 2024-08-26 17:45:38 +00:00
license_sdk_member.go
license_test.go
licenses.go
licenses_test.go
logtags.go Merge SingletonProviderContext with OtherModuleProviderContext 2024-08-12 22:50:19 +00:00
makevars.go Remove 6 install related fields from ModuleBase. 2024-08-27 19:03:35 +00:00
metrics.go
module.go Merge changes I41978037,I19e8a9e8 into main 2024-09-17 20:07:08 +00:00
module_context.go Wrap blueprint_go_binary and bootstrap_go_package into android.Modules 2024-09-11 21:16:25 -07:00
module_info_json.go Dump the required modules into module-info.json 2024-05-20 18:40:09 +02:00
module_test.go Merge "Make the defaults property non-configurable" into main 2024-08-26 00:03:30 +00:00
mutator.go Merge "Convert trivial TopDown mutators to BottomUp" into main 2024-09-18 20:05:09 +00:00
mutator_test.go Convert test mutators to TransitionMutators 2024-09-16 17:00:39 -07:00
namespace.go
namespace_test.go
neverallow.go Merge changes from topic "libbinder_ndk-remove-cpp-headers" into main 2024-09-04 18:23:19 +00:00
neverallow_test.go
ninja_deps.go Remove starlark_import 2024-03-07 10:53:41 -08:00
ninja_deps_test.go
notices.go Remove licenseMetadataFile and installFiles from ModuleBase. 2024-08-27 00:16:22 +00:00
onceper.go
onceper_test.go
override_module.go Override modules should always override source modules 2024-05-29 00:06:32 +00:00
package.go
package_ctx.go
package_test.go
packaging.go Merge "Move the caching/restoring code from soong to blueprint to fully skip build actions." into main 2024-09-04 22:01:33 +00:00
packaging_test.go Prevent evaluating configurable properties before the defaults mutator 2024-09-13 13:37:59 -07:00
path_properties.go Rename Evaluate() to Get() and add GetDefault() 2024-04-04 15:09:18 -07:00
path_properties_test.go
paths.go Add otherModuleProvider to ConfigurableEvaluatorContext 2024-09-16 15:10:05 -07:00
paths_test.go Use OutputFilesProvider on some android test modules 2024-07-01 11:50:18 -07:00
phony.go Add phonies as provider instead of updaing a global map. 2024-08-19 21:45:07 +00:00
plugin.go
prebuilt.go Make the srcs and exclude_srcs properties configurable 2024-08-12 15:27:02 -07:00
prebuilt_build_tool.go
prebuilt_test.go Add PrepareForTestWithBuildFlag 2024-08-09 16:47:45 -07:00
product_config.go Create a singleton that generates an empty bp file 2024-09-17 14:56:43 -07:00
product_config_to_bp.go Create a singleton that generates an empty bp file 2024-09-17 14:56:43 -07:00
proto.go
provider.go Remove more internal fields from ModuleBase. 2024-08-16 00:20:27 +00:00
raw_files.go
register.go Drop IncludeTags 2024-05-22 19:23:47 +00:00
rule_builder.go Sandbox environment variables 2024-09-03 16:38:28 -07:00
rule_builder_test.go
sandbox.go
sbom.go Switch SBOM generation of products to Soong. 2024-08-02 18:00:38 -07:00
sdk.go Add HasMutatorFinished 2024-09-11 14:48:50 -07:00
sdk_test.go
sdk_version.go Remove suffix based stub matching logic 2024-08-22 22:05:03 +00:00
sdk_version_test.go
selects_test.go Add tests for configurable PostProcessors 2024-08-30 13:04:37 -07:00
shared_properties.go Add test-only and test-target fields to all_teams proto. 2024-04-09 16:36:29 -07:00
singleton.go Add HasMutatorFinished 2024-09-11 14:48:50 -07:00
singleton_module.go Remove extra space in error message 2024-09-09 22:58:11 +00:00
singleton_module_test.go Convert test mutators to TransitionMutators 2024-09-16 17:00:39 -07:00
soong_config_modules.go Revert "Use hashed subdir for soong_config modules" 2024-06-25 17:39:52 +09:00
soong_config_modules_test.go Revert "Use hashed subdir for soong_config modules" 2024-06-25 17:39:52 +09:00
team.go Add test-only and test-target fields to all_teams proto. 2024-04-09 16:36:29 -07:00
team_test.go Add test-only and test-target fields to all_teams proto. 2024-04-09 16:36:29 -07:00
test_asserts.go
test_config.go Shipping_api_level in build. 2024-06-04 23:08:20 +00:00
test_suites.go Remove more internal fields from ModuleBase. 2024-08-16 00:20:27 +00:00
test_suites_test.go Generate test lists for Ravenwood and Robolectric tests 2024-04-19 23:10:35 +00:00
testing.go Add otherModuleProvider to ConfigurableEvaluatorContext 2024-09-16 15:10:05 -07:00
updatable_modules.go Change default version code for Mainline modules building from source to start with 3520 2024-06-05 19:22:21 +00:00
util.go Introduce a util method PrettyConcat 2024-09-12 00:11:34 +00:00
util_test.go Introduce a util method PrettyConcat 2024-09-12 00:11:34 +00:00
variable.go Soong system image may update the $PRODUCT_OUT 2024-09-11 14:34:44 +09:00
variable_test.go Add test for interactions between product variables and arch variant properties 2024-08-16 09:21:18 -07:00
vintf_fragment.go Introduce vintf_fragment module type 2024-08-14 10:34:41 +09:00
vintf_fragment_test.go Introduce vintf_fragment module type 2024-08-14 10:34:41 +09:00
visibility.go Convert trivial TopDown mutators to BottomUp 2024-09-18 10:14:19 -07:00
visibility_test.go Add more specific partition visibility rules 2024-03-20 10:55:05 -07:00