Add OutputFile to cc.Module
APEX needs to know the location of the output file of cc.Module to copy it to an intermediate directory and package there. Bug: 112672359 Test: m apex.test Change-Id: Iaa19b29c2859df96f50716001dbd57df3f596050
This commit is contained in:
4
cc/cc.go
4
cc/cc.go
@@ -366,6 +366,10 @@ type Module struct {
|
|||||||
staticVariant *Module
|
staticVariant *Module
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (c *Module) OutputFile() android.OptionalPath {
|
||||||
|
return c.outputFile
|
||||||
|
}
|
||||||
|
|
||||||
func (c *Module) Init() android.Module {
|
func (c *Module) Init() android.Module {
|
||||||
c.AddProperties(&c.Properties, &c.VendorProperties)
|
c.AddProperties(&c.Properties, &c.VendorProperties)
|
||||||
if c.compiler != nil {
|
if c.compiler != nil {
|
||||||
|
Reference in New Issue
Block a user