Merge "Add support for cc_library_headers to replace llndk_headers"
This commit is contained in:
@@ -868,6 +868,7 @@ type versionedInterface interface {
|
||||
|
||||
implementationModuleName(name string) string
|
||||
hasLLNDKStubs() bool
|
||||
hasLLNDKHeaders() bool
|
||||
}
|
||||
|
||||
var _ libraryInterface = (*libraryDecorator)(nil)
|
||||
@@ -1682,6 +1683,12 @@ func (library *libraryDecorator) hasVestigialLLNDKLibrary() bool {
|
||||
return String(library.Properties.Llndk_stubs) != ""
|
||||
}
|
||||
|
||||
// hasLLNDKHeaders returns true if this cc_library module has a variant that provides headers
|
||||
// to a module that sets llndk.symbol_file.
|
||||
func (library *libraryDecorator) hasLLNDKHeaders() bool {
|
||||
return Bool(library.Properties.Llndk.Llndk_headers)
|
||||
}
|
||||
|
||||
func (library *libraryDecorator) implementationModuleName(name string) string {
|
||||
return name
|
||||
}
|
||||
|
Reference in New Issue
Block a user