Add support for test libraries
Add cc_test_library, which is a combination of a cc_test and a static library. Requires adding a libraryInterface to identify libraries that are embedded in other types. Change-Id: I2f0dcccb2f7243409210547562d2b41c3fbce44e
This commit is contained in:
@@ -124,9 +124,9 @@ func (binary *binaryLinker) AndroidMk(ret *android.AndroidMkData) {
|
||||
})
|
||||
}
|
||||
|
||||
func (test *testLinker) AndroidMk(ret *android.AndroidMkData) {
|
||||
func (test *testBinaryLinker) AndroidMk(ret *android.AndroidMkData) {
|
||||
test.binaryLinker.AndroidMk(ret)
|
||||
if Bool(test.Properties.Test_per_src) {
|
||||
if Bool(test.testLinker.Properties.Test_per_src) {
|
||||
ret.SubName = test.binaryLinker.Properties.Stem
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user