Nullify stl and sanitize of llndk_headers

llndk_headers can't depend on other non-llndk cc modules such as libc++,
just like llndk_library. This nullifies stl and sanitize to prevent such
dependencies.

Bug: 160639583
Test: m nothing, see dependencies of llndk_headers
Change-Id: I3c6830d6b46754981c4ae10a7e7e013ec849efaf
This commit is contained in:
Inseob Kim 2020-07-08 07:56:02 +09:00
parent 8f9782f513
commit c7c6910f68
1 changed files with 2 additions and 0 deletions

View File

@ -225,6 +225,8 @@ func (headers *llndkHeadersDecorator) Name(name string) string {
func llndkHeadersFactory() android.Module { func llndkHeadersFactory() android.Module {
module, library := NewLibrary(android.DeviceSupported) module, library := NewLibrary(android.DeviceSupported)
library.HeaderOnly() library.HeaderOnly()
module.stl = nil
module.sanitize = nil
decorator := &llndkHeadersDecorator{ decorator := &llndkHeadersDecorator{
libraryDecorator: library, libraryDecorator: library,