platform_build_soong/android
Colin Cross 56a8321c21 Remove global state from apex modules
A global variant was used to store the global mapping between
modules and APEXes.  Replace it with storing pointers to APEX
contents inside each module so that they can query the contents
of any APEXes they belong to.

Bug: 146393795
Test: all Soong tests
Test: single line change to build.ninja host install dependency ordering
Test: no Android-${TARGET_PRODUCT}.mk, make_vars-${TARGET_PRODUCT}.mk or late-${TARGET_PRODUCT}.mk
Change-Id: Id2d7b73ea27f8c3b41d30820bdd86b65c539bfa4
2020-10-06 13:39:57 -07:00
..
soongconfig Soong package structure refactoring 2020-06-02 14:35:04 -07:00
Android.bp Fix apex_test.go and add it to Android.bp 2020-10-02 13:00:14 -07:00
android_test.go
androidmk.go Merge "Add support of test data to python_host_test" 2020-09-29 21:56:19 +00:00
androidmk_test.go Fix dist(s)-with-tag and add tests to prevent regression. 2020-07-21 12:30:39 +00:00
apex.go Remove global state from apex modules 2020-10-06 13:39:57 -07:00
apex_test.go Remove global state from apex modules 2020-10-06 13:39:57 -07:00
api_levels.go Fix apex_test.go and add it to Android.bp 2020-10-02 13:00:14 -07:00
arch.go Merge changes I0885e493,Ic37c8db9 2020-09-24 22:56:43 +00:00
arch_test.go Make it possible to specify separate rules for native_bridge case 2020-06-09 23:35:37 +02:00
bazel_overlay.go Create a AOSP Bazel overlay workspace with Soong 2020-08-06 10:24:21 +00:00
config.go Merge changes I0885e493,Ic37c8db9 2020-09-24 22:56:43 +00:00
config_test.go
csuite_config.go Create C-Suite config module 2019-10-18 18:28:00 +00:00
csuite_config_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
defaults.go Remove unnecessary methods/fields of DefaultsModule/Base 2020-09-03 10:12:10 +01:00
defaults_test.go Fix product variables in defaults modules 2020-02-06 17:43:29 -08:00
defs.go Reland "Add prebuilt_build_tool to allow genrules to use prebuilt tools" 2020-08-06 15:56:38 -07:00
depset.go Add DepSets 2020-07-16 12:50:11 -07:00
depset_test.go Add DepSets 2020-07-16 12:50:11 -07:00
env.go Call Delve using exec() instead of "dlv attach". 2020-05-18 09:50:18 +02:00
expand.go
expand_test.go
filegroup.go Reland "Support per-module MakeVars" 2020-08-06 15:56:09 -07:00
hooks.go Add SrcPath to InstallHookContext 2020-06-04 01:26:16 +01:00
image.go Add ramdisk image. 2020-01-22 16:54:18 -08:00
makefile_goal.go Add makefile_goal. 2020-07-28 09:51:15 -07:00
makevars.go Merge "Replace stringly-typed API levels." 2020-09-21 20:20:30 +00:00
metrics.go Collect metrics from inside soong_build 2020-02-25 20:50:00 +00:00
module.go Remove global state from apex modules 2020-10-06 13:39:57 -07:00
module_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
mutator.go Add providers support 2020-09-17 18:57:03 -07:00
mutator_test.go Add FinalDeps mutator phase, where CreateVariations is disallowed. 2020-01-21 11:40:02 +00:00
namespace.go Simplify vendor conditionals 2020-01-24 16:43:40 -08:00
namespace_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
neverallow.go Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709) 2020-08-29 01:17:45 -07:00
neverallow_test.go Add makefile_goal. 2020-07-28 09:51:15 -07:00
notices.go Make a soong-only copy of generate-notice-files.py 2020-03-03 13:50:53 -08:00
onceper.go
onceper_test.go
override_module.go Capture list of unused methods when shrinking in R8 2020-08-19 11:19:14 -07:00
package.go Simplify package by using LoadHook instead of mutators 2020-05-06 08:21:39 +01:00
package_ctx.go Refactor RBE support for Javac/R8/D8 to use the remoteexec package. 2020-05-25 10:57:47 -04:00
package_test.go Simplify package by using LoadHook instead of mutators 2020-05-06 08:21:39 +01:00
path_properties.go
path_properties_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
paths.go Don't assume host arch is always x86 2020-09-08 15:12:10 +09:00
paths_test.go Don't assume host arch is always x86 2020-09-08 15:12:10 +09:00
phony.go Define Soong phony rules in Make 2020-06-15 09:46:31 -07:00
prebuilt.go Add hidden_api for java_import 2020-09-10 07:56:03 -07:00
prebuilt_build_tool.go Handle absolute source paths correctly. 2020-09-22 01:17:32 +01:00
prebuilt_test.go HostCross is an attribute of a Target, not OsType 2020-09-24 14:14:31 +09:00
proto.go Add method to determine variations from a Target 2019-10-16 14:52:30 -07:00
register.go Define Soong phony rules in Make 2020-06-15 09:46:31 -07:00
rule_builder.go Add sandbox property to the javadoc rule. 2020-06-17 22:57:42 -04:00
rule_builder_test.go Add an order-only dependency on the build number file 2020-04-09 08:16:44 -07:00
sandbox.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
sdk.go Handle property structs and BpPropertySets as values to AddProperty. 2020-09-25 00:33:04 +01:00
singleton.go Add providers support 2020-09-17 18:57:03 -07:00
soong_config_modules.go Merge "soong config: add value_variable substitution" into rvc-dev 2020-04-11 17:24:57 +00:00
soong_config_modules_test.go soong config: add value_variable substitution 2020-04-09 13:30:38 -07:00
test_suites.go Don't assume host arch is always x86 2020-09-08 15:12:10 +09:00
testing.go Return all rules when TestingModule.Rule fails 2020-08-28 08:15:09 +00:00
util.go Use common helper functions for getting sorted map keys. 2020-08-20 12:37:03 +01:00
util_test.go Optimize FirstUniqueStrings and FirstUniquePaths 2020-03-02 15:00:15 -08:00
variable.go Update the default platform version to S 2020-09-25 13:47:41 +09:00
variable_test.go Fix product variables in defaults modules 2020-02-06 17:43:29 -08:00
visibility.go Add prebuilt_visibility property 2020-10-02 10:59:41 +01:00
visibility_test.go Add prebuilt_visibility property 2020-10-02 10:59:41 +01:00
vts_config.go Merge "Rename VTS to VTS10" am: 7182c45fe7 am: 4058983c0c am: 8989420fee am: 2d2a3643f5 2020-03-31 23:20:53 +00:00
vts_config_test.go Move filesystem into Config 2019-12-18 08:19:10 -08:00
writedocs.go Add missing soong_docs inputs 2020-06-26 10:36:18 -04:00