Allow linker scripts when building objects.

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

Change-Id: If1422372585ec032a9e36eab73a04e98fe1c1b6c
diff --git a/cc/testing.go b/cc/testing.go
index 5582c8a..a12b520 100644
--- a/cc/testing.go
+++ b/cc/testing.go
@@ -262,6 +262,7 @@
 	mockFS := map[string][]byte{
 		"Android.bp":  []byte(bp),
 		"foo.c":       nil,
+		"foo.lds":     nil,
 		"bar.c":       nil,
 		"baz.o":       nil,
 		"a.proto":     nil,