summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/makevars.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/makevars.go b/build/makevars.go
index b35ee8561d..00124ec621 100644
--- a/build/makevars.go
+++ b/build/makevars.go
@@ -56,7 +56,7 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
sort.Strings(testNames)
for _, name := range testNames {
- ctx.Strict("ART_TEST_LIST_"+name, strings.Join(testMap[name], " "))
+ ctx.Strict("ART_TEST_LIST_"+name, strings.Join(android.FirstUniqueStrings(testMap[name]), " "))
}
// Create list of copy commands to install the content of the testcases directory.