Merge "Sort NDK_MIGRATED_LIBS in make_vars"

This commit is contained in:
Treehugger Robot 2016-09-15 05:18:04 +00:00 committed by Gerrit Code Review
commit 98e7e66cb6
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]