Merge "Allow darwin targets to use -framework CoreFoundation."
diff --git a/cc/test.go b/cc/test.go
index 27b45d7..5418ebf 100644
--- a/cc/test.go
+++ b/cc/test.go
@@ -259,7 +259,8 @@
}
func NewTestLibrary(hod android.HostOrDeviceSupported) *Module {
- module, library := NewLibrary(android.HostAndDeviceSupported, false, true)
+ module, library := NewLibrary(android.HostAndDeviceSupported, true, true)
+ library.baseInstaller = NewTestInstaller()
test := &testLibrary{
testDecorator: testDecorator{
linker: library.baseLinker,
@@ -268,7 +269,6 @@
}
test.testDecorator.Properties.Gtest = true
module.linker = test
- module.installer = nil
return module
}