diff options
Diffstat (limited to 'build/makevars.go')
-rw-r--r-- | build/makevars.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/build/makevars.go b/build/makevars.go index 1faa0f6f36..6e66966bf5 100644 --- a/build/makevars.go +++ b/build/makevars.go @@ -44,4 +44,12 @@ func makeVarsProvider(ctx android.MakeVarsContext) { for _, name := range testNames { ctx.Strict("ART_TEST_LIST_"+name, strings.Join(testMap[name], " ")) } + + // Create list of copy commands to install the content of the testcases directory. + testcasesContent := testcasesContent(ctx.Config()) + copy_cmds := []string{} + for _, key := range android.SortedStringKeys(testcasesContent) { + copy_cmds = append(copy_cmds, testcasesContent[key]+":"+key) + } + ctx.Strict("ART_TESTCASES_CONTENT", strings.Join(copy_cmds, " ")) } |