Allow .o files as srcs.
Test: m nothing Test: TreeHugger Bug: 134581881 Bug: 137267623 Change-Id: I26307dd1129e58878f0468da3b61c53f074bd674
This commit is contained in:
committed by
Colin Cross
parent
f02f30952d
commit
fcf55bf656
@@ -989,6 +989,10 @@ type ModuleOutPath struct {
|
||||
|
||||
var _ Path = ModuleOutPath{}
|
||||
|
||||
func (p ModuleOutPath) objPathWithExt(ctx ModuleContext, subdir, ext string) ModuleObjPath {
|
||||
return PathForModuleObj(ctx, subdir, pathtools.ReplaceExtension(p.path, ext))
|
||||
}
|
||||
|
||||
func pathForModule(ctx ModuleContext) OutputPath {
|
||||
return PathForOutput(ctx, ".intermediates", ctx.ModuleDir(), ctx.ModuleName(), ctx.ModuleSubDir())
|
||||
}
|
||||
|
Reference in New Issue
Block a user