Merge "NDK sysroot: include each license file only once"

am: 09664bd9a5

Change-Id: I4f84c5adb80b0e368c881ffe53cf0f50bf24e9e4
This commit is contained in:
Ryan Prichard 2018-08-24 15:53:23 -07:00 committed by android-build-merger
commit f867f36e2f

View file

@ -132,6 +132,10 @@ func (n *ndkSingleton) GenerateBuildActions(ctx android.SingletonContext) {
}
})
// Include only a single copy of each license file. The Bionic NOTICE is
// long and is referenced by multiple Bionic modules.
licensePaths = android.FirstUniquePaths(licensePaths)
combinedLicense := getNdkInstallBase(ctx).Join(ctx, "NOTICE")
ctx.Build(pctx, android.BuildParams{
Rule: android.Cat,