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:
Dan Willemsen 2016-09-14 20:29:05 -07:00
parent 391cdde1da
commit 65905f8f62
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ package cc
import (
"fmt"
"path/filepath"
"sort"
"strings"
"android/soong/android"
@ -51,6 +52,7 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
ctx.StrictRaw("SRC_HEADERS", strings.Join(includes, " "))
ctx.StrictRaw("SRC_SYSTEM_HEADERS", strings.Join(systemIncludes, " "))
sort.Strings(ndkMigratedLibs)
ctx.Strict("NDK_MIGRATED_LIBS", strings.Join(ndkMigratedLibs, " "))
hostTargets := ctx.Config().Targets[android.Host]