Support shared cc_test_library
am: 28bda51400
Change-Id: I54e1ca625067260dd670c33d86b9de1980b62854
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user