Support shared cc_test_library am: 28bda51400

am: 2c78d4736e

Change-Id: Ie339529804c437c3cfd16fd4574ad91795a853cc
This commit is contained in:
Dan Willemsen
2016-09-01 01:38:39 +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
}