Merge "NDK sysroot: include each license file only once"
am: 09664bd9a5
Change-Id: I4f84c5adb80b0e368c881ffe53cf0f50bf24e9e4
This commit is contained in:
commit
f867f36e2f
1 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue