diff --git a/cc/kernel_headers.go b/cc/kernel_headers.go index c66fca68a..42dc7701c 100644 --- a/cc/kernel_headers.go +++ b/cc/kernel_headers.go @@ -40,12 +40,9 @@ func kernelHeadersFactory() android.Module { libraryDecorator: library, } - module.compiler = nil module.linker = stub - module.installer = nil - android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibBoth) - return module + return module.Init() } func init() {