summaryrefslogtreecommitdiff
path: root/rust/androidmk.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2024-03-29 14:48:11 +0000
committer Ivan Lozano <ivanlozano@google.com> 2024-03-29 16:30:30 +0000
commit1dbfa144f9d63000bb0c55c9d86de55c800463dd (patch)
tree3dc9e24869ef109a0c1a8c5421b0a48c2fc44ad7 /rust/androidmk.go
parentf875565c7f169e41a9007e4513289235322dee2b (diff)
rust: Fix handling of bindgen header libs
Static libraries were being appended to the list of header library dependencies. They should not be. This also makes sure we track them appropriately in Make. Test: m blueprint_tests Change-Id: Ifa664f09fe2102aea57d22cbaaeba71f0c26074d
Diffstat (limited to 'rust/androidmk.go')
-rw-r--r--rust/androidmk.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/rust/androidmk.go b/rust/androidmk.go
index e0cb3ceae..72b2f6bad 100644
--- a/rust/androidmk.go
+++ b/rust/androidmk.go
@@ -62,6 +62,7 @@ func (mod *Module) AndroidMkEntries() []android.AndroidMkEntries {
entries.AddStrings("LOCAL_PROC_MACRO_LIBRARIES", mod.Properties.AndroidMkProcMacroLibs...)
entries.AddStrings("LOCAL_SHARED_LIBRARIES", mod.transitiveAndroidMkSharedLibs.ToList()...)
entries.AddStrings("LOCAL_STATIC_LIBRARIES", mod.Properties.AndroidMkStaticLibs...)
+ entries.AddStrings("LOCAL_HEADER_LIBRARIES", mod.Properties.AndroidMkHeaderLibs...)
entries.AddStrings("LOCAL_SOONG_LINK_TYPE", mod.makeLinkType)
if mod.InVendor() {
entries.SetBool("LOCAL_IN_VENDOR", true)