diff options
| author | 2021-05-06 23:29:22 +0000 | |
|---|---|---|
| committer | 2021-05-06 23:29:22 +0000 | |
| commit | 57892ceafbc7762d1ca2f650e9a98b5cadd1ac34 (patch) | |
| tree | 821dd2a8809919345877d3e84745cb820ab0a6c9 /python/python.go | |
| parent | 7c8769231b39e6682a9571342efcf20298734ff9 (diff) | |
| parent | 0e446159bcde2ced43e0bd602ae42f6eccb9c625 (diff) | |
Merge "Support blueprint_go_binary in PathForModuleSrc"
Diffstat (limited to 'python/python.go')
| -rw-r--r-- | python/python.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/python/python.go b/python/python.go index 4444a70e6..0f5b7880e 100644 --- a/python/python.go +++ b/python/python.go @@ -444,11 +444,10 @@ func (p *Module) GenerateAndroidBuildActions(ctx android.ModuleContext) { var sharedLibs []string // if embedded launcher is enabled, we need to collect the shared library depenendencies of the // launcher - ctx.VisitDirectDeps(func(dep android.Module) { - if ctx.OtherModuleDependencyTag(dep) == launcherSharedLibTag { - sharedLibs = append(sharedLibs, ctx.OtherModuleName(dep)) - } - }) + for _, dep := range ctx.GetDirectDepsWithTag(launcherSharedLibTag) { + sharedLibs = append(sharedLibs, ctx.OtherModuleName(dep)) + } + p.installer.setAndroidMkSharedLibs(sharedLibs) // Install the par file from installSource |