Add data_libs
property to cc_test rules
This allows dependencies on link:shared variant of library modules, and adds the shared libraries adjacent to the test binary Test: Manually verified on bionic-unit-tests target Change-Id: I5d406bf9428664c5ac3d3c5915507b750375debb
This commit is contained in:
@@ -500,6 +500,7 @@ func CreateTestContext() *android.TestContext {
|
||||
ctx := android.NewTestArchContext()
|
||||
ctx.RegisterModuleType("cc_fuzz", FuzzFactory)
|
||||
ctx.RegisterModuleType("cc_test", TestFactory)
|
||||
ctx.RegisterModuleType("cc_test_library", TestLibraryFactory)
|
||||
ctx.RegisterModuleType("llndk_headers", llndkHeadersFactory)
|
||||
ctx.RegisterModuleType("vendor_public_library", vendorPublicLibraryFactory)
|
||||
ctx.RegisterModuleType("filegroup", android.FileGroupFactory)
|
||||
|
Reference in New Issue
Block a user