Sort cfi static libs to make them consistent
To make it easier to diff the ninja files with diff_build_graphs.sh Bug: b/69133815 Test: m -j Change-Id: Ic08094f7dc3adb773ebb64a7d34125fc24641bf3
This commit is contained in:
@@ -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, " "))
|
||||
}
|
||||
|
Reference in New Issue
Block a user