diff options
author | Jose "Pepe" Galmes <jgalmes@google.com> | 2021-09-01 20:26:26 +0000 |
---|---|---|
committer | Jose "Pepe" Galmes <jgalmes@google.com> | 2021-09-01 20:26:26 +0000 |
commit | 29c59f7f4354771bc0aa6c87365d2770d8a6b43a (patch) | |
tree | 2778983b8d3fb9e74cdb8960cde1bdae71953d0e | |
parent | 736d8d52edc421484ab17254146e0c885394c861 (diff) |
Revert "cc/cc.go: Support per-image-variation "required""
Revert "init: Separate the required modules of core and recovery..."
Revert "[automerger] cc/cc.go: Support per-image-variation "requ..."
Revert submission 579058-b/196306898
Reason for revert: Devices not booting in Keystone lab
Reverted Changes:
I53f309b36:[automerger] init: Separate the required modules o...
I68be9ad4c:[automerger] Skip dexbootjar check using AllowMiss...
I068fefdef:[automerger] cc/cc.go: Support per-image-variation...
I40ae1fe6b:Remove unused VSDK projects
I78b062afd:Skip dexbootjar check using AllowMissingDependenci...
I03f0cf6af:init: Separate the required modules of core and re...
Iebab29ed5:cc/cc.go: Support per-image-variation "required"
Change-Id: Ib58fce041f90be0212d939ba55371db5ae2654a6
-rw-r--r-- | cc/cc.go | 30 |
1 files changed, 0 insertions, 30 deletions
@@ -372,24 +372,6 @@ type BaseProperties struct { // can depend on libraries that are not exported by the APEXes and use private symbols // from the exported libraries. Test_for []string `android:"arch_variant"` - - Target struct { - Platform struct { - // List of modules required by the core variant. - Required []string `android:"arch_variant"` - - // List of modules not required by the core variant. - Exclude_required []string `android:"arch_variant"` - } `android:"arch_variant"` - - Recovery struct { - // List of modules required by the recovery variant. - Required []string `android:"arch_variant"` - - // List of modules not required by the recovery variant. - Exclude_required []string `android:"arch_variant"` - } `android:"arch_variant"` - } `android:"arch_variant"` } type VendorProperties struct { @@ -865,18 +847,6 @@ func (c *Module) HiddenFromMake() bool { return c.Properties.HideFromMake } -func (c *Module) RequiredModuleNames() []string { - required := android.CopyOf(c.ModuleBase.RequiredModuleNames()) - if c.ImageVariation().Variation == android.CoreVariation { - required = append(required, c.Properties.Target.Platform.Required...) - required = removeListFromList(required, c.Properties.Target.Platform.Exclude_required) - } else if c.InRecovery() { - required = append(required, c.Properties.Target.Recovery.Required...) - required = removeListFromList(required, c.Properties.Target.Recovery.Exclude_required) - } - return android.FirstUniqueStrings(required) -} - func (c *Module) Toc() android.OptionalPath { if c.linker != nil { if library, ok := c.linker.(libraryInterface); ok { |