diff options
| author | Aditya Choudhary <caditya@google.com> | 2023-11-29 16:42:42 +0000 |
|---|---|---|
| committer | Aditya Choudhary <caditya@google.com> | 2023-12-05 19:56:26 +0000 |
| commit | 26df39fe44dd5bfddc0463d7a186e7f4b0af140b (patch) | |
| tree | 1505711ef147d1d88207a2705cbfe757db88ab8b /sh | |
| parent | 8094b6bf9dc368f080c6455261ebe1d999772de0 (diff) | |
Add source file provider for genrule/srcs, python libraries and rust libraries.
Change-Id: I2d7d4684a10c15aeecc27b8db800ab27a807d2e2
Diffstat (limited to 'sh')
| -rw-r--r-- | sh/sh_binary.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sh/sh_binary.go b/sh/sh_binary.go index 6b40e3c67..79627498f 100644 --- a/sh/sh_binary.go +++ b/sh/sh_binary.go @@ -272,6 +272,7 @@ func (s *ShBinary) generateAndroidBuildActions(ctx android.ModuleContext) { Output: s.outputFilePath, Input: s.sourceFilePath, }) + ctx.SetProvider(blueprint.SrcsFileProviderKey, blueprint.SrcsFileProviderData{SrcPaths: []string{s.sourceFilePath.String()}}) } func (s *ShBinary) GenerateAndroidBuildActions(ctx android.ModuleContext) { |
