Convert .meta_lic files to textproto
Make it easier to write tools against .meta_lic files and store complex data by writing them in textproto. Test: builds Change-Id: I54bb82cc5581d17078fd0f56eed43a7364dc70db
This commit is contained in:
@@ -308,3 +308,12 @@ type LicenseInfo struct {
|
||||
}
|
||||
|
||||
var LicenseInfoProvider = blueprint.NewProvider(LicenseInfo{})
|
||||
|
||||
func init() {
|
||||
RegisterMakeVarsProvider(pctx, licensesMakeVarsProvider)
|
||||
}
|
||||
|
||||
func licensesMakeVarsProvider(ctx MakeVarsContext) {
|
||||
ctx.Strict("BUILD_LICENSE_METADATA",
|
||||
ctx.Config().HostToolPath(ctx, "build_license_metadata").String())
|
||||
}
|
||||
|
Reference in New Issue
Block a user