aboutsummaryrefslogtreecommitdiffstats
path: root/cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc')
-rw-r--r--cc/kernel_headers.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/cc/kernel_headers.go b/cc/kernel_headers.go
index c66fca68..42dc7701 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() {