Merge "Soong: Add synopsis to kernel_headers module under cc package."
am: f3c5e4816c
Change-Id: I8512002dde76af8f29d2d355079f375545a58d18
This commit is contained in:
commit
58f381b714
|
@ -32,6 +32,11 @@ func (stub *kernelHeadersDecorator) link(ctx ModuleContext, flags Flags, deps Pa
|
||||||
return stub.libraryDecorator.linkStatic(ctx, flags, deps, objs)
|
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 {
|
func kernelHeadersFactory() android.Module {
|
||||||
module, library := NewLibrary(android.HostAndDeviceSupported)
|
module, library := NewLibrary(android.HostAndDeviceSupported)
|
||||||
library.HeaderOnly()
|
library.HeaderOnly()
|
||||||
|
|
Loading…
Reference in New Issue