diff options
author | 2025-02-18 09:52:38 +0000 | |
---|---|---|
committer | 2025-02-19 03:34:30 +0000 | |
commit | 3257153fadc8df9dad49e00223da6dc72145302b (patch) | |
tree | 763808b6eb2e24f8e92e63f8da6df303385d1d22 /python | |
parent | 6225cbd51df26f0da31ea9269fca635ce6af93f9 (diff) |
Convert python_binary_host modules' module-info.json to Soong
Bug: 397158845
Test: m out/target/product/vsoc_x86_64/module-info.json
Test: Inspect module-info.json diff, CI
Change-Id: I542e9b3d02e989602800199899ba516bad4f94fe
Diffstat (limited to 'python')
-rw-r--r-- | python/binary.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/python/binary.go b/python/binary.go index 4d6e11816..feac72a26 100644 --- a/python/binary.go +++ b/python/binary.go @@ -114,6 +114,12 @@ func (p *PythonBinaryModule) GenerateAndroidBuildActions(ctx android.ModuleConte android.SetProvider(ctx, PythonBinaryInfoProvider, PythonBinaryInfo{}) ctx.SetOutputFiles(android.Paths{p.installSource}, "") + + moduleInfoJSON := ctx.ModuleInfoJSON() + moduleInfoJSON.Class = []string{"EXECUTABLES"} + moduleInfoJSON.Dependencies = append(moduleInfoJSON.Dependencies, p.androidMkSharedLibs...) + moduleInfoJSON.SharedLibs = append(moduleInfoJSON.SharedLibs, p.androidMkSharedLibs...) + moduleInfoJSON.SystemSharedLibs = []string{"none"} } func (p *PythonBinaryModule) buildBinary(ctx android.ModuleContext) { |