Add proto property struct

The ProtoProperties struct was not being added to the property struct
list, preventing proto.type and proto.static properties from being set
in Android.bp files.

Bug: 32286026
Test: Add proto.type to system/extras/perfprofd/Android.bp, run soong
Change-Id: I9a5b63ddd3e7a53881ddbfd381c42aa1b4c4f454
This commit is contained in:
Colin Cross 2016-11-03 14:38:52 -07:00
parent 5a054df23c
commit 0feb169460

View file

@ -115,7 +115,7 @@ func (compiler *baseCompiler) appendAsflags(flags []string) {
}
func (compiler *baseCompiler) compilerProps() []interface{} {
return []interface{}{&compiler.Properties}
return []interface{}{&compiler.Properties, &compiler.Proto}
}
func (compiler *baseCompiler) compilerInit(ctx BaseModuleContext) {}