Add support for cc_library_headers to replace llndk_headers

Set llndk.llndk_headers: true to allow a cc_library_headers
module to be used by a cc_library module with llndk.symbol_file set.

Bug: 170784825
Test: TestLlndkHeaders
Change-Id: Ib65a4b70717dc9a54ae30f2991485bb1bb9b8409
This commit is contained in:
Colin Cross
2021-04-26 18:37:44 -07:00
parent be763f7b16
commit 1f3f130e29
6 changed files with 18 additions and 7 deletions

View File

@@ -112,8 +112,8 @@ type LinkableInterface interface {
// IsLlndkLibrary returns true if this module is an LLNDK library module.
IsLlndkLibrary() bool
// HasLlndkStubs returns true if this module has LLNDK stubs.
HasLlndkStubs() bool
// NeedsLlndkVariants returns true if this module has LLNDK stubs or provides LLNDK headers.
NeedsLlndkVariants() bool
UseVndk() bool
MustUseVendorVariant() bool