Merge "Set test config of Robolectric tests to LOCAL_FULL_TEST_CONFIG
"
This commit is contained in:
@@ -302,6 +302,9 @@ func (r *robolectricTest) AndroidMkEntries() []android.AndroidMkEntries {
|
|||||||
func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
|
func(ctx android.AndroidMkExtraEntriesContext, entries *android.AndroidMkEntries) {
|
||||||
entries.SetBool("LOCAL_UNINSTALLABLE_MODULE", true)
|
entries.SetBool("LOCAL_UNINSTALLABLE_MODULE", true)
|
||||||
entries.AddStrings("LOCAL_COMPATIBILITY_SUITE", "robolectric-tests")
|
entries.AddStrings("LOCAL_COMPATIBILITY_SUITE", "robolectric-tests")
|
||||||
|
if r.testConfig != nil {
|
||||||
|
entries.SetPath("LOCAL_FULL_TEST_CONFIG", r.testConfig)
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
entries.ExtraFooters = []android.AndroidMkExtraFootersFunc{
|
entries.ExtraFooters = []android.AndroidMkExtraFootersFunc{
|
||||||
|
Reference in New Issue
Block a user