commit | fcf55bf656f44318e78c92be5b42858065ae5780 | [log] [tgz] |
---|---|---|
author | Pete Bentley <prb@google.com> | Fri Aug 16 20:14:32 2019 +0100 |
committer | Colin Cross <ccross@android.com> | Thu Aug 22 13:21:37 2019 -0700 |
tree | e89cfcb1cc22bf70038719d5c9057a28151e6325 | |
parent | f02f30952da26dcc67d28b9a839215cc57f9c690 [diff] [blame] |
Allow .o files as srcs. Test: m nothing Test: TreeHugger Bug: 134581881 Bug: 137267623 Change-Id: I26307dd1129e58878f0468da3b61c53f074bd674
diff --git a/cc/builder.go b/cc/builder.go index 89c418b..14b979e 100644 --- a/cc/builder.go +++ b/cc/builder.go
@@ -411,6 +411,9 @@ }, }) continue + case ".o": + objFiles[i] = srcFile + continue } var moduleCflags string