Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17fdb576 authored by Patrice Arruda's avatar Patrice Arruda Committed by android-build-merger
Browse files

Merge "Soong: Add synopsis to kernel_headers module under cc package." am:...

Merge "Soong: Add synopsis to kernel_headers module under cc package." am: f3c5e481 am: 58f381b7
am: 65eb0a42

Change-Id: Idc5a19e97dc0f690e6177bcc4655e47d045c8fc0
parents 8e265984 65eb0a42
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -32,6 +32,11 @@ func (stub *kernelHeadersDecorator) link(ctx ModuleContext, flags Flags, deps Pa
	return stub.libraryDecorator.linkStatic(ctx, flags, deps, objs)
}

// kernel_headers retrieves the list of kernel headers directories from
// TARGET_BOARD_KERNEL_HEADERS and TARGET_PRODUCT_KERNEL_HEADERS variables in
// a makefile for compilation. See
// https://android.googlesource.com/platform/build/+/master/core/config.mk
// for more details on them.
func kernelHeadersFactory() android.Module {
	module, library := NewLibrary(android.HostAndDeviceSupported)
	library.HeaderOnly()