Allow .o files as srcs.

Test: m nothing
Test: TreeHugger
Bug: 134581881
Bug: 137267623

Change-Id: I26307dd1129e58878f0468da3b61c53f074bd674
This commit is contained in:
Pete Bentley
2019-08-16 20:14:32 +01:00
committed by Colin Cross
parent f02f30952d
commit fcf55bf656
5 changed files with 15 additions and 4 deletions

View File

@@ -411,6 +411,9 @@ func TransformSourceToObj(ctx android.ModuleContext, subdir string, srcFiles and
},
})
continue
case ".o":
objFiles[i] = srcFile
continue
}
var moduleCflags string