Sort NDK_MIGRATED_LIBS in make_vars
Otherwise this was changing every time, and causing Kati to find make_vars-*.mk different every time. Test: with https://android-review.googlesource.com/274439 Change-Id: I731b3b2fd434314bf6e8b7c2ec5310b9623512a5
This commit is contained in:
parent
391cdde1da
commit
65905f8f62
|
@ -17,6 +17,7 @@ package cc
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"android/soong/android"
|
"android/soong/android"
|
||||||
|
@ -51,6 +52,7 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
|
||||||
ctx.StrictRaw("SRC_HEADERS", strings.Join(includes, " "))
|
ctx.StrictRaw("SRC_HEADERS", strings.Join(includes, " "))
|
||||||
ctx.StrictRaw("SRC_SYSTEM_HEADERS", strings.Join(systemIncludes, " "))
|
ctx.StrictRaw("SRC_SYSTEM_HEADERS", strings.Join(systemIncludes, " "))
|
||||||
|
|
||||||
|
sort.Strings(ndkMigratedLibs)
|
||||||
ctx.Strict("NDK_MIGRATED_LIBS", strings.Join(ndkMigratedLibs, " "))
|
ctx.Strict("NDK_MIGRATED_LIBS", strings.Join(ndkMigratedLibs, " "))
|
||||||
|
|
||||||
hostTargets := ctx.Config().Targets[android.Host]
|
hostTargets := ctx.Config().Targets[android.Host]
|
||||||
|
|
Loading…
Reference in New Issue