Reland "Truely re-export export_header_libs from ndk_library"
This reverts commit 7f1ae59d94d95d56853f4e4b74b9292578faac78.
Reason for revert: b/357711733, reland with allowlist
Bug: 357711733
Change-Id: I11864eb2168c4333ad5759d0d057fda8529da24e
Test: build
diff --git a/cc/ndk_library.go b/cc/ndk_library.go
index 3e35ef5..5250b86 100644
--- a/cc/ndk_library.go
+++ b/cc/ndk_library.go
@@ -484,7 +484,8 @@
// Add a dependency on the header modules of this ndk_library
func (linker *stubDecorator) linkerDeps(ctx DepsContext, deps Deps) Deps {
return Deps{
- HeaderLibs: linker.properties.Export_header_libs,
+ ReexportHeaderLibHeaders: linker.properties.Export_header_libs,
+ HeaderLibs: linker.properties.Export_header_libs,
}
}