Loading compliance/notice.go +4 −6 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ import ( "path/filepath" "android/soong/android" "github.com/google/blueprint" ) Loading Loading @@ -63,7 +64,6 @@ type NoticeXmlModule struct { props noticeXmlProperties outputFile android.OutputPath installPath android.InstallPath } type noticeXmlProperties struct { Loading @@ -86,10 +86,8 @@ func (nx *NoticeXmlModule) GenerateAndroidBuildActions(ctx android.ModuleContext nx.outputFile = output.OutputPath if android.Bool(ctx.Config().ProductVariables().UseSoongSystemImage) { nx.installPath = android.PathForModuleInPartitionInstall(ctx, nx.props.Partition_name, "etc") ctx.InstallFile(nx.installPath, "NOTICE.xml.gz", nx.outputFile) } installPath := android.PathForModuleInPartitionInstall(ctx, nx.props.Partition_name, "etc") ctx.PackageFile(installPath, "NOTICE.xml.gz", nx.outputFile) } func (nx *NoticeXmlModule) AndroidMkEntries() []android.AndroidMkEntries { Loading Loading
compliance/notice.go +4 −6 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ import ( "path/filepath" "android/soong/android" "github.com/google/blueprint" ) Loading Loading @@ -63,7 +64,6 @@ type NoticeXmlModule struct { props noticeXmlProperties outputFile android.OutputPath installPath android.InstallPath } type noticeXmlProperties struct { Loading @@ -86,10 +86,8 @@ func (nx *NoticeXmlModule) GenerateAndroidBuildActions(ctx android.ModuleContext nx.outputFile = output.OutputPath if android.Bool(ctx.Config().ProductVariables().UseSoongSystemImage) { nx.installPath = android.PathForModuleInPartitionInstall(ctx, nx.props.Partition_name, "etc") ctx.InstallFile(nx.installPath, "NOTICE.xml.gz", nx.outputFile) } installPath := android.PathForModuleInPartitionInstall(ctx, nx.props.Partition_name, "etc") ctx.PackageFile(installPath, "NOTICE.xml.gz", nx.outputFile) } func (nx *NoticeXmlModule) AndroidMkEntries() []android.AndroidMkEntries { Loading