Add a "license" property to ndk_headers.

This field points to the license file for the headers being shipped.

Test: make ndk && less $SOONG_OUT/ndk/NOTICE
Bug: None
Change-Id: I386f4e6f6d9776f422ffc09b8dab69e1911b08a4
This commit is contained in:
Dan Albert
2016-10-20 01:36:11 -07:00
parent 7b872837c6
commit c6345fb7ec
4 changed files with 40 additions and 6 deletions

View File

@@ -74,6 +74,12 @@ var (
},
"error")
Cat = pctx.AndroidStaticRule("Cat",
blueprint.RuleParams{
Command: "cat $in > $out",
Description: "concatenate licenses $out",
})
// Used only when USE_GOMA=true is set, to restrict non-goma jobs to the local parallelism value
localPool = blueprint.NewBuiltinPool("local_pool")
)