Support shared cc_test_library am: 28bda51400 am: 2c78d4736e

am: c2d948d270

Change-Id: I0a2a8ad6b945a71fdade7beb182a7ec7b51a8960
This commit is contained in:
Dan Willemsen
2016-09-01 01:41:14 +00:00
committed by android-build-merger

View File

@@ -259,7 +259,8 @@ func (test *testLibrary) linkerFlags(ctx ModuleContext, flags Flags) Flags {
}
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 @@ func NewTestLibrary(hod android.HostOrDeviceSupported) *Module {
}
test.testDecorator.Properties.Gtest = true
module.linker = test
module.installer = nil
return module
}