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
diff --git a/cc/cc.go b/cc/cc.go
index fe337f5..9c3de09 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -206,10 +206,6 @@
Double_loadable *bool
}
-type UnusedProperties struct {
- Tags []string
-}
-
type ModuleContextIntf interface {
static() bool
staticBinary() bool
@@ -320,7 +316,6 @@
Properties BaseProperties
VendorProperties VendorProperties
- unused UnusedProperties
// initialize before calling Init
hod android.HostOrDeviceSupported
@@ -360,7 +355,7 @@
}
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 @@
&BinaryLinkerProperties{},
&TestProperties{},
&TestBinaryProperties{},
- &UnusedProperties{},
&StlProperties{},
&SanitizeProperties{},
&StripProperties{},