Add global tags properties, remove resourceDirs

Add tags to the global properties, but ignore it for now.  Remove
resourceDirs, we don't use it.

Change-Id: I1862573d3ac02e539492c8ff95bacbab3588bfc4
This commit is contained in:
Colin Cross
2015-04-02 13:54:39 -07:00
parent 139b815875
commit c77f9d1404

View File

@@ -78,7 +78,7 @@ type AndroidDynamicDependerModuleContext interface {
type commonProperties struct { type commonProperties struct {
Name string Name string
Deps []string Deps []string
ResourceDirs []string Tags []string
// disabled: don't emit any build rules for this module // disabled: don't emit any build rules for this module
Disabled bool `android:"arch_variant"` Disabled bool `android:"arch_variant"`
@@ -244,10 +244,6 @@ func (p *AndroidModuleBase) NoAddressSanitizer() bool {
return p.noAddressSanitizer return p.noAddressSanitizer
} }
func (p *AndroidModuleBase) resourceDirs() []string {
return p.commonProperties.ResourceDirs
}
func (a *AndroidModuleBase) generateModuleTarget(ctx blueprint.ModuleContext) { func (a *AndroidModuleBase) generateModuleTarget(ctx blueprint.ModuleContext) {
if a != ctx.FinalModule().(AndroidModule).base() { if a != ctx.FinalModule().(AndroidModule).base() {
return return