From f877563735a331bdfbc5ecda09a680d9eac445a4 Mon Sep 17 00:00:00 2001 From: Sam Delmerico Date: Mon, 14 Aug 2023 23:45:41 +0000 Subject: [PATCH] update docs for genrule tool_files prop According to go/roboleaf-busy-beavers-sandboxing, this field should just take in any data files needed by the tool. The existing description makes it sound like this property should only contain a single file that will be used as the tool itself. Change-Id: I3ef3b8ceb52f7a7e6de9e0a897d5cc05c9c2d336 --- genrule/genrule.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/genrule/genrule.go b/genrule/genrule.go index aa4295d64..8e3f2780d 100644 --- a/genrule/genrule.go +++ b/genrule/genrule.go @@ -140,7 +140,7 @@ type generatorProperties struct { // prebuilts or scripts that do not need a module to build them. Tools []string - // Local file that is used as the tool + // Local files that are used by the tool Tool_files []string `android:"path"` // List of directories to export generated headers from @@ -403,7 +403,6 @@ func (g *Module) generateCommonBuildActions(ctx android.ModuleContext) { } addLabelsForInputs := func(propName string, include, exclude []string) android.Paths { - includeDirInPaths := ctx.DeviceConfig().BuildBrokenInputDir(g.Name()) var srcFiles android.Paths for _, in := range include {