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:
8
cc/cc.go
8
cc/cc.go
@@ -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{},
|
||||
|
Reference in New Issue
Block a user