Remove the unused tags property

And fix up androidmk / bpfix to provide warnings about what to do
instead.

Test: m blueprint_tools  (runs the tests, ensures there aren't any tags left)
Change-Id: I1a3ad8600211050420041740207d6957f44463c8
This commit is contained in:
Dan Willemsen
2018-05-09 13:45:03 -07:00
parent 5473c9a60a
commit f923f2b54c
4 changed files with 112 additions and 11 deletions

View File

@@ -206,10 +206,6 @@ type VendorProperties struct {
Double_loadable *bool
}
type UnusedProperties struct {
Tags []string
}
type ModuleContextIntf interface {
static() bool
staticBinary() bool
@@ -320,7 +316,6 @@ type Module struct {
Properties BaseProperties
VendorProperties VendorProperties
unused UnusedProperties
// initialize before calling Init
hod android.HostOrDeviceSupported
@@ -360,7 +355,7 @@ type Module struct {
}
func (c *Module) Init() android.Module {
c.AddProperties(&c.Properties, &c.VendorProperties, &c.unused)
c.AddProperties(&c.Properties, &c.VendorProperties)
if c.compiler != nil {
c.AddProperties(c.compiler.compilerProps()...)
}
@@ -1475,7 +1470,6 @@ func DefaultsFactory(props ...interface{}) android.Module {
&BinaryLinkerProperties{},
&TestProperties{},
&TestBinaryProperties{},
&UnusedProperties{},
&StlProperties{},
&SanitizeProperties{},
&StripProperties{},