diff options
| author | 2023-12-06 07:37:50 +0000 | |
|---|---|---|
| committer | 2023-12-06 07:37:50 +0000 | |
| commit | 4c3e2df157063543870d1092ff3379aaf586a507 (patch) | |
| tree | 2ed0e4e5ae6a63acb9a13b419f25d3006970d4f3 /python/python.go | |
| parent | 2588c54d0129de757e90dc41ea4d938b4cf107c4 (diff) | |
| parent | 26df39fe44dd5bfddc0463d7a186e7f4b0af140b (diff) | |
Merge changes from topic "code_metadata" into main
* changes:
Add source file provider for genrule/srcs, python libraries and rust libraries.
Add Code Metadata rule to soong/testing.
Diffstat (limited to 'python/python.go')
| -rw-r--r-- | python/python.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/python.go b/python/python.go index 7d77ca772..b4617c831 100644 --- a/python/python.go +++ b/python/python.go @@ -430,6 +430,7 @@ func (p *PythonLibraryModule) AddDepsOnPythonLauncherAndStdlib(ctx android.Botto // GenerateAndroidBuildActions performs build actions common to all Python modules func (p *PythonLibraryModule) GenerateAndroidBuildActions(ctx android.ModuleContext) { expandedSrcs := android.PathsForModuleSrcExcludes(ctx, p.properties.Srcs, p.properties.Exclude_srcs) + ctx.SetProvider(blueprint.SrcsFileProviderKey, blueprint.SrcsFileProviderData{SrcPaths: expandedSrcs.Strings()}) // expand data files from "data" property. expandedData := android.PathsForModuleSrc(ctx, p.properties.Data) |