diff options
author | 2024-04-11 13:20:46 +0000 | |
---|---|---|
committer | 2024-04-11 13:20:46 +0000 | |
commit | 2aee601e95a04436805785a453da9b73a6a19abc (patch) | |
tree | 84502906a34d56c46140855742821b1c550ac2e4 /rust/rust.go | |
parent | d344c35e94143bd2a051a1fe4eff3befe0732e11 (diff) | |
parent | 1dbfa144f9d63000bb0c55c9d86de55c800463dd (diff) |
Merge "rust: Fix handling of bindgen header libs" into main
Diffstat (limited to 'rust/rust.go')
-rw-r--r-- | rust/rust.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/rust.go b/rust/rust.go index c4b89d547..c2b61515c 100644 --- a/rust/rust.go +++ b/rust/rust.go @@ -68,6 +68,7 @@ type BaseProperties struct { AndroidMkDylibs []string `blueprint:"mutated"` AndroidMkProcMacroLibs []string `blueprint:"mutated"` AndroidMkStaticLibs []string `blueprint:"mutated"` + AndroidMkHeaderLibs []string `blueprint:"mutated"` ImageVariation string `blueprint:"mutated"` VndkVersion string `blueprint:"mutated"` @@ -1399,6 +1400,7 @@ func (mod *Module) depsToPaths(ctx android.ModuleContext) PathDeps { depPaths.depIncludePaths = append(depPaths.depIncludePaths, exportedInfo.IncludeDirs...) depPaths.depSystemIncludePaths = append(depPaths.depSystemIncludePaths, exportedInfo.SystemIncludeDirs...) depPaths.depGeneratedHeaders = append(depPaths.depGeneratedHeaders, exportedInfo.GeneratedHeaders...) + mod.Properties.AndroidMkHeaderLibs = append(mod.Properties.AndroidMkHeaderLibs, makeLibName) case depTag == cc.CrtBeginDepTag: depPaths.CrtBegin = append(depPaths.CrtBegin, linkObject.Path()) case depTag == cc.CrtEndDepTag: |