summaryrefslogtreecommitdiff
path: root/fsgen/filesystem_creator.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-12-17 23:26:35 +0000
committer Spandan Das <spandandas@google.com> 2024-12-17 23:26:35 +0000
commitf76de2081c3bbb80215393f8e58d020aebf53698 (patch)
tree8a1f0c8233719249d5be1c11039fce856d3d528b /fsgen/filesystem_creator.go
parentf432c2ee60020428dea42dc15e07c612fac09d54 (diff)
Specify license for the autogenerated vendor build.prop
Test: m nothing Change-Id: I69a9489a9217e6aaeb188a9b7bd5e6d17c5b0bd9
Diffstat (limited to 'fsgen/filesystem_creator.go')
-rw-r--r--fsgen/filesystem_creator.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/fsgen/filesystem_creator.go b/fsgen/filesystem_creator.go
index 35d2e44cf..59470d3fc 100644
--- a/fsgen/filesystem_creator.go
+++ b/fsgen/filesystem_creator.go
@@ -599,12 +599,14 @@ func (f *filesystemCreator) createVendorBuildProp(ctx android.LoadHookContext) {
Stem *string
Product_config *string
Android_info *string
+ Licenses []string
}{
Name: proptools.StringPtr(generatedModuleName(ctx.Config(), "vendor-build.prop")),
Vendor: proptools.BoolPtr(true),
Stem: proptools.StringPtr("build.prop"),
Product_config: proptools.StringPtr(":product_config"),
Android_info: proptools.StringPtr(":" + androidInfoProp.Name()),
+ Licenses: []string{"Android-Apache-2.0"},
}
vendorBuildProp := ctx.CreateModule(
android.BuildPropFactory,