Merge "Sort cfi static libs to make them consistent"

This commit is contained in:
Jeff Gaston 2017-11-29 19:58:38 +00:00 committed by Gerrit Code Review
commit 5313911912

View file

@ -17,6 +17,7 @@ package cc
import (
"fmt"
"io"
"sort"
"strings"
"sync"
@ -649,5 +650,6 @@ func cfiStaticLibs(config android.Config) *[]string {
func cfiMakeVarsProvider(ctx android.MakeVarsContext) {
cfiStaticLibs := cfiStaticLibs(ctx.Config())
sort.Strings(*cfiStaticLibs)
ctx.Strict("SOONG_CFI_STATIC_LIBRARIES", strings.Join(*cfiStaticLibs, " "))
}