diff options
author | 2024-01-09 22:47:39 +0000 | |
---|---|---|
committer | 2024-01-10 14:03:30 +0000 | |
commit | afe7baf47db292f1837d658a42dd3920b8e2bc10 (patch) | |
tree | 861a720fc9651b8a4c1f412328f8497858d14d7d /cc/cc.go | |
parent | acae2d765654a0b1297b35a1de60b4fff2172870 (diff) |
Propagate aconfig providers for more modules.
Bug: 308625757
Test: manual
Change-Id: Iaf6d45a4259f1c6c34476c34c431344283ae2830
Diffstat (limited to 'cc/cc.go')
-rw-r--r-- | cc/cc.go | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1994,6 +1994,10 @@ func (c *Module) stubLibraryMultipleApexViolation(ctx android.ModuleContext) boo return false } +func (d *Defaults) GenerateAndroidBuildActions(ctx android.ModuleContext) { + android.CollectDependencyAconfigFiles(ctx, &d.mergedAconfigFiles) +} + func (c *Module) GenerateAndroidBuildActions(actx android.ModuleContext) { // Handle the case of a test module split by `test_per_src` mutator. // @@ -4075,6 +4079,9 @@ type Defaults struct { android.ModuleBase android.DefaultsModuleBase android.ApexModuleBase + + // Aconfig files for all transitive deps. Also exposed via TransitiveDeclarationsInfo + mergedAconfigFiles map[string]android.Paths } // cc_defaults provides a set of properties that can be inherited by other cc |